From 7d978533ad2f60ddc2b34d8f54bc6345054e22cf Mon Sep 17 00:00:00 2001 From: Mukul Sharma Date: Wed, 17 May 2017 17:14:08 +0530 Subject: [PATCH] qcacmn: Define a QCA vendor attribute to update the listen interval 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. Change-Id: Ie7b2016c1d3d06c7fcb5099b53e3fc0a159cc246 CRs-Fixed: 2048443 --- os_if/linux/qca_vendor.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index 2b00c14dbf08..e1bb30843e62 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -3012,6 +3012,16 @@ 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, /* * 8 bit unsigned value that is set on an AP/GO virtual interface to * disable operations that would cause the AP/GO to leave its operating