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. The Driver/Firmware uses this information to
optimize power savings, rate adaption, roaming, etc.

Change-Id: If58bd1e64216de81af6cf82eaabd740b85729eac
CRs-Fixed: 3343034
This commit is contained in:
Krupali Dhanvijay 2023-01-12 19:52:54 +05:30
commit b63e48a42a

View file

@ -1,6 +1,6 @@
/*
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -4822,6 +4822,17 @@ enum qca_wlan_vendor_attr_config {
* this attribute are 1-Enable and 0-Disable.
*/
QCA_WLAN_VENDOR_ATTR_CONFIG_FT_OVER_DS = 80,
/* 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 =