]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Define a QCA vendor attribute to update the listen interval
authorSunil Dutt <usdutt@qti.qualcomm.com>
Thu, 27 Apr 2017 13:28:06 +0000 (18:58 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 10 May 2017 20:58:46 +0000 (23:58 +0300)
This commit defines an attribute
QCA_WLAN_VENDOR_ATTR_CONFIG_LISTEN_INTERVAL which allows the currently
used listen interval to be updated using
QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION. This update applies
only during the association and is done without updating the AP about
the change.

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

index 1158b9f8e9f05ec37a18101dc62bc5776a6056ba..deffca27c6569f179762d8a5141f8575e157a10d 100644 (file)
@@ -1318,6 +1318,15 @@ enum qca_wlan_vendor_attr_config {
        QCA_WLAN_VENDOR_ATTR_CONFIG_ANT_DIV_DATA_SNR_WEIGHT = 46,
        /* 32-bit unsigned value to set ack snr weight */
        QCA_WLAN_VENDOR_ATTR_CONFIG_ANT_DIV_ACK_SNR_WEIGHT = 47,
+       /* 32-bit unsigned value to configure the listen interval.
+        * This is in units of beacon intervals. This configuration alters
+        * the negotiated listen interval with the AP during the connection.
+        * It is highly recommended to configure a value less than or equal to
+        * the one negotiated during the association. Configuring any greater
+        * value can have adverse effects (frame loss, AP disassociating STA,
+        * etc.).
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_LISTEN_INTERVAL = 48,
 
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,