From: Mukul Sharma Date: Tue, 22 Nov 2022 09:28:09 +0000 (+0530) Subject: Add a new QCA vendor attribute to configure wifi calling (wfc) state X-Git-Tag: hostap_2_11~1494 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef70f814a76218ef36ec71756f9b15b9c14718eb;p=thirdparty%2Fhostap.git 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 the driver/firmware. The driver/firmware uses this information to optimize power savings, rate adaption, roaming, etc. Signed-off-by: Mukul Sharma --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index a8984005a..383a0b32f 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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 =