@@ -133,6 +133,8 @@ enum net_request_wifi_cmd {
133133 NET_REQUEST_WIFI_CMD_CANDIDATE_SCAN ,
134134 /** AP WPS config */
135135 NET_REQUEST_WIFI_CMD_AP_WPS_CONFIG ,
136+ /** Configure BSS maximum idle period */
137+ NET_REQUEST_WIFI_CMD_BSS_MAX_IDLE_PERIOD ,
136138 /** @cond INTERNAL_HIDDEN */
137139 NET_REQUEST_WIFI_CMD_MAX
138140 /** @endcond */
@@ -317,6 +319,11 @@ NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_WIFI_START_ROAMING);
317319
318320NET_MGMT_DEFINE_REQUEST_HANDLER (NET_REQUEST_WIFI_NEIGHBOR_REP_COMPLETE );
319321
322+ #define NET_REQUEST_WIFI_BSS_MAX_IDLE_PERIOD \
323+ (NET_WIFI_BASE | NET_REQUEST_WIFI_CMD_BSS_MAX_IDLE_PERIOD)
324+
325+ NET_MGMT_DEFINE_REQUEST_HANDLER (NET_REQUEST_WIFI_BSS_MAX_IDLE_PERIOD );
326+
320327/** @cond INTERNAL_HIDDEN */
321328
322329enum {
@@ -1685,6 +1692,15 @@ struct wifi_mgmt_ops {
16851692 * @return 0 if ok, < 0 if error
16861693 */
16871694 int (* start_11r_roaming )(const struct device * dev );
1695+ /** Set BSS max idle period
1696+ *
1697+ * @param dev Pointer to the device structure for the driver instance.
1698+ * @param BSS max idle period value
1699+ *
1700+ * @return 0 if ok, < 0 if error
1701+ */
1702+ int (* set_bss_max_idle_period )(const struct device * dev ,
1703+ unsigned short bss_max_idle_period );
16881704};
16891705
16901706/** Wi-Fi management offload API */
0 commit comments