Skip to content

Commit bedd38c

Browse files
ajayparidahenrikbrixandersen
authored andcommitted
net: wifi_mgmt: Support AP parameter configuration "Skip inactivity poll"
Support for configuration of AP parameter "Skip inactivity poll". Only build time setting is supported. Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
1 parent c6d1a91 commit bedd38c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

include/zephyr/net/wifi_mgmt.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ extern "C" {
5252
#define WIFI_MGMT_BAND_STR_SIZE_MAX 8
5353
#define WIFI_MGMT_SCAN_MAX_BSS_CNT 65535
5454

55+
#define WIFI_MGMT_SKIP_INACTIVITY_POLL IS_ENABLED(CONFIG_WIFI_MGMT_AP_STA_SKIP_INACTIVITY_POLL)
5556
/** @endcond */
5657

5758
/** @brief Wi-Fi management commands */

subsys/net/l2/wifi/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,12 @@ config WIFI_MGMT_AP_STA_INACTIVITY_TIMEOUT
102102
in associated state while there is no traffic from that particular
103103
client. If a non-zero value is set, AP may choose to disassociate the
104104
client after the timeout.
105+
106+
config WIFI_MGMT_AP_STA_SKIP_INACTIVITY_POLL
107+
bool "Skip inactivity poll for stations after the inactivity timeout"
108+
help
109+
Skip inactivity poll for stations after the inactivity timeout. This
110+
will prevent the AP from sending null data frames to the stations after
111+
the inactivity timeout. This is useful to disconnect idle stations even
112+
if they are within the range of the AP.
113+
Note: This is only build time parameter, runtime configuration not supported.

0 commit comments

Comments
 (0)