From 0456b0a11e468a8017ba1cd10f0632351b670cc6 Mon Sep 17 00:00:00 2001 From: Ashish Kumar Dhanotiya Date: Wed, 23 Nov 2022 18:28:09 +0530 Subject: [PATCH] qcacmn: Add a new QCA vendor attribute to configure wifi calling (wfc) state Add QCA_WLAN_VENDOR_ATTR_CONFIG_WFC_STATE vendor attribute, Userspace uses this attribute to configure wfc state to Driver/Firmware. Driver/Firmware uses this information to optimize power savings, rate adaption, roaming, etc. Change-Id: If58bd1e64216de81af6cf82eaabd740b85729eac CRs-Fixed: 3343034 --- 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 4a2c398d81..627d50d05c 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -5231,6 +5231,16 @@ enum qca_wlan_vendor_attr_config { */ QCA_WLAN_VENDOR_ATTR_CONFIG_BEAMFORMER_PERIODIC_SOUNDING = 85, + /* 8-bit unsigned value, whenever wifi calling (wfc) begin or end, + * Userspace sends this information to driver/firmware to configure + * wfc state. 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 =