mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
feat(wifi): support skip whole band when scanning
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -224,8 +224,14 @@ typedef struct {
|
||||
* @brief Channel bitmap for setting specific channels to be scanned
|
||||
*/
|
||||
typedef struct {
|
||||
uint16_t ghz_2_channels; /**< Represents 2.4 GHz channels, that bits can be set as wifi_2g_channel_bit_t shown. */
|
||||
uint32_t ghz_5_channels; /**< Represents 5 GHz channels, that bits can be set as wifi_5g_channel_bit_t shown. */
|
||||
uint16_t ghz_2_channels; /**< Represents 2.4 GHz channels.
|
||||
bit0: band bypass, 0: scan as bitmap, 1: bypass all channels of 2.4GHz.
|
||||
bit1-bit14: represents channels can be set as wifi_2g_channel_bit_t shown.
|
||||
bit15: reserved. */
|
||||
uint32_t ghz_5_channels; /**< Represents 5 GHz channels.
|
||||
bit0: band bypass, 0: scan as bitmap, 1: bypass all channels of 5GHz.
|
||||
bit1-bit28: represents channels can be set as wifi_5g_channel_bit_t shown.
|
||||
bit29-bit31: reserved. */
|
||||
} wifi_scan_channel_bitmap_t;
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
Submodule components/esp_wifi/lib updated: bb6d7baf16...5e7a0f3e7b
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -224,8 +224,14 @@ typedef struct {
|
||||
* @brief Channel bitmap for setting specific channels to be scanned
|
||||
*/
|
||||
typedef struct {
|
||||
uint16_t ghz_2_channels; /**< Represents 2.4 GHz channels, that bits can be set as wifi_2g_channel_bit_t shown. */
|
||||
uint32_t ghz_5_channels; /**< Represents 5 GHz channels, that bits can be set as wifi_5g_channel_bit_t shown. */
|
||||
uint16_t ghz_2_channels; /**< Represents 2.4 GHz channels.
|
||||
bit0: band bypass, 0: scan as bitmap, 1: bypass all channels of 2.4GHz.
|
||||
bit1-bit14: represents channels can be set as wifi_2g_channel_bit_t shown.
|
||||
bit15: reserved. */
|
||||
uint32_t ghz_5_channels; /**< Represents 5 GHz channels.
|
||||
bit0: band bypass, 0: scan as bitmap, 1: bypass all channels of 5GHz.
|
||||
bit1-bit28: represents channels can be set as wifi_5g_channel_bit_t shown.
|
||||
bit29-bit31: reserved. */
|
||||
} wifi_scan_channel_bitmap_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user