]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a vendor attribute to configure custom keep-alive interval for STA
authorAleti Nageshwar Reddy <quic_anageshw@quicinc.com>
Thu, 7 Mar 2024 09:30:15 +0000 (15:00 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 19 Apr 2024 15:54:13 +0000 (18:54 +0300)
Introduce an attribute QCA_WLAN_VENDOR_ATTR_CONFIG_KEEP_ALIVE_INTERVAL
in QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION to configure
station's keep-alive interval to the driver/firmware. This can be used
to resolve kickout issues from APs which kick out STAs before the BSS
maximum idle period expires.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/common/qca-vendor.h

index 72e164da86e9ed1aca47b6a6385b6ba029882c91..3a9455ff3482800a9e42c48e2942339daf853316 100644 (file)
@@ -3402,6 +3402,18 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_BTM_SUPPORT = 107,
 
+       /* 16-bit unsigned value to configure client's keep-alive interval in
+        * seconds. The driver will reduce the keep-alive interval to this
+        * configured value if the AP advertises BSS maximum idle period and if
+        * that BSS max idle period is larger than this configured value. If the
+        * AP does not advertise a maximum value, the configured value will be
+        * used as a keep-alive period for unprotected frames.
+        *
+        * This configuration is applicable only during the STA's current
+        * association.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_KEEP_ALIVE_INTERVAL = 108,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =