You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The default protocol is (WIFI_PROTOCOL_11B|WIFI_PROTOCOL_11G|WIFI_PROTOCOL_11N).
679
-
* if CONFIG_SOC_WIFI_HE_SUPPORT and band mode is 2.4G, the default protocol is (WIFI_PROTOCOL_11B|WIFI_PROTOCOL_11G|WIFI_PROTOCOL_11N|WIFI_PROTOCOL_11AX).
680
-
* if CONFIG_SOC_WIFI_SUPPORT_5G and band mode is 5G, the default protocol is (WIFI_PROTOCOL_11A|WIFI_PROTOCOL_11N|WIFI_PROTOCOL_11AC|WIFI_PROTOCOL_11AX).
679
+
* if CONFIG_SLAVE_SOC_WIFI_HE_SUPPORT and band mode is 2.4G, the default protocol is (WIFI_PROTOCOL_11B|WIFI_PROTOCOL_11G|WIFI_PROTOCOL_11N|WIFI_PROTOCOL_11AX).
680
+
* if CONFIG_SLAVE_SOC_WIFI_SUPPORT_5G and band mode is 5G, the default protocol is (WIFI_PROTOCOL_11A|WIFI_PROTOCOL_11N|WIFI_PROTOCOL_11AC|WIFI_PROTOCOL_11AX).
681
681
*
682
682
* @attention 1. When WiFi band mode is 2.4G only, support 802.11b or 802.11bg or 802.11bgn or 802.11bgnax or LR mode
683
683
* @attention 2. When WiFi band mode is 5G only, support 802.11a or 802.11an or 802.11anac or 802.11anacax
* @attention 1. When the WiFi band mode is set to 2.4G only, it operates exclusively on the 2.4GHz channels.
1670
1670
* @attention 2. When the WiFi band mode is set to 5G only, it operates exclusively on the 5GHz channels.
1671
1671
* @attention 3. When the WiFi band mode is set to 2.4G + 5G (WIFI_BAND_MODE_AUTO), it can operate on both the 2.4GHz and 5GHz channels.
1672
-
* @attention 4. WiFi band mode can be set to 5G only or 2.4G + 5G (WIFI_BAND_MODE_AUTO) if CONFIG_SOC_WIFI_SUPPORT_5G is supported.
1673
-
* @attention 5. If CONFIG_SOC_WIFI_SUPPORT_5G is not supported, the API will return ESP_ERR_INVALID_ARG when the band mode is set to either 5G only or 2.4G + 5G (WIFI_BAND_MODE_AUTO).
1672
+
* @attention 4. WiFi band mode can be set to 5G only or 2.4G + 5G (WIFI_BAND_MODE_AUTO) if CONFIG_SLAVE_SOC_WIFI_SUPPORT_5G is supported.
1673
+
* @attention 5. If CONFIG_SLAVE_SOC_WIFI_SUPPORT_5G is not supported, the API will return ESP_ERR_INVALID_ARG when the band mode is set to either 5G only or 2.4G + 5G (WIFI_BAND_MODE_AUTO).
1674
1674
* @attention 6. When a WiFi band mode change triggers a band change, if no channel is set for the current band, a default channel will be assigned: channel 1 for 2.4G band and channel 36 for 5G band.
1675
1675
*
1676
1676
* @param[in] band_mode store the band mode of WiFi
WIFI_IF_NAN=ESP_IF_WIFI_NAN, /**< NAN interface */
40
40
#endif
41
41
WIFI_IF_MAX/**< Maximum number of interfaces */
@@ -64,7 +64,7 @@ typedef struct {
64
64
uint8_tnchan; /**< Total channel number of the allowed 2.4GHz Wi-Fi channels */
65
65
int8_tmax_tx_power; /**< This field is used for getting Wi-Fi maximum transmitting power, call esp_wifi_set_max_tx_power to set the maximum transmitting power. */
66
66
wifi_country_policy_tpolicy; /**< Country policy */
67
-
#ifCONFIG_SOC_WIFI_SUPPORT_5G
67
+
#ifCONFIG_SLAVE_SOC_WIFI_SUPPORT_5G
68
68
uint32_twifi_5g_channel_mask; /**< A bitmask representing the allowed 5GHz Wi-Fi channels.
69
69
Each bit in the mask corresponds to a specific channel as wifi_5g_channel_bit_t shown.
70
70
Bitmask set to 0 indicates 5GHz channels are allowed according to local regulatory rules.
@@ -936,7 +936,7 @@ typedef enum {
936
936
WIFI_PHY_RATE_MCS5_LGI=0x15, /**< MCS5 with long GI */
937
937
WIFI_PHY_RATE_MCS6_LGI=0x16, /**< MCS6 with long GI */
938
938
WIFI_PHY_RATE_MCS7_LGI=0x17, /**< MCS7 with long GI */
0 commit comments