]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a new QCA vendor attribute to configure wifi calling (wfc) state
authorMukul Sharma <quic_mukul@quicinc.com>
Tue, 22 Nov 2022 09:28:09 +0000 (14:58 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 24 Nov 2022 18:23:23 +0000 (20:23 +0200)
Add QCA_WLAN_VENDOR_ATTR_CONFIG_WFC_STATE vendor attribute. Userspace
uses this attribute to configure wfc state to the driver/firmware. The
driver/firmware uses this information to optimize power savings, rate
adaption, roaming, etc.

Signed-off-by: Mukul Sharma <quic_mukul@quicinc.com>
src/common/qca-vendor.h

index a8984005a6f8b34734bb7dbba506dd02cf7e8fe9..383a0b32f367ea760b87019dc5849e90e16a3a3c 100644 (file)
@@ -2856,6 +2856,16 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_BEAMFORMER_PERIODIC_SOUNDING = 85,
 
+       /* 8-bit unsigned value, whenever wifi calling (wfc) begins or ends,
+        * userspace sends this information to the driver/firmware to configure
+        * wfc state. The driver/firmware uses this information to
+        * optimize power savings, rate adaption, roaming, etc.
+        *
+        * 1 - wfc is on.
+        * 0 - wfc is off.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_WFC_STATE = 86,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =