s_wifi_protocol_map variable
Syntax
static const app_wifi_protocol_t s_wifi_protocol_map[] = {
{"lr", WIFI_PROTOCOL_LR},
{"b", WIFI_PROTOCOL_11B},
{"g", WIFI_PROTOCOL_11G},
{"n", WIFI_PROTOCOL_11N},
{"lr/b", WIFI_PROTOCOL_LR | WIFI_PROTOCOL_11B},
{"b/g", WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G},
{"lr/b/g", WIFI_PROTOCOL_LR | WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G},
{"b/g/n", WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G | WIFI_PROTOCOL_11N},
{"lr/b/g/n", WIFI_PROTOCOL_LR | WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G | WIFI_PROTOCOL_11N},
#if CONFIG_SOC_WIFI_HE_SUPPORT
{"ax", WIFI_PROTOCOL_11AX},
{"b/g/n/ax", WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G | WIFI_PROTOCOL_11N | WIFI_PROTOCOL_11AX},
{"lr/b/g/n/ax", WIFI_PROTOCOL_LR | WIFI_PROTOCOL_11B | WIFI_PROTOCOL_11G | WIFI_PROTOCOL_11N | WIFI_PROTOCOL_11AX},
#endif
#if CONFIG_SOC_WIFI_SUPPORT_5G || CONFIG_SOC_WIFI_HE_SUPPORT_5G
{"a", WIFI_PROTOCOL_11A},
{"ac", WIFI_PROTOCOL_11AC},
{"a/n", WIFI_PROTOCOL_11A | WIFI_PROTOCOL_11N},
{"a/n/ac", WIFI_PROTOCOL_11A | WIFI_PROTOCOL_11N | WIFI_PROTOCOL_11AC},
{"a/n/ac/ax", WIFI_PROTOCOL_11A | WIFI_PROTOCOL_11N | WIFI_PROTOCOL_11AC | WIFI_PROTOCOL_11AX},
#endif
};