QCA vendor attributes for setting ANI level
Define QCA vendor attribute in SET(GET)_WIFI_CONFIGURATION to dynamically configure ANI level. Signed-off-by: Hu Wang <huw@codeaurora.org>
This commit is contained in:
parent
d335ca9536
commit
c85206ba40
1 changed files with 21 additions and 0 deletions
|
@ -2315,6 +2315,17 @@ enum qca_wlan_vendor_attr_config {
|
||||||
*/
|
*/
|
||||||
QCA_WLAN_VENDOR_ATTR_CONFIG_NUM_RX_CHAINS = 74,
|
QCA_WLAN_VENDOR_ATTR_CONFIG_NUM_RX_CHAINS = 74,
|
||||||
|
|
||||||
|
/* 8-bit unsigned value to configure ANI setting type.
|
||||||
|
* See &enum qca_wlan_ani_setting for possible values.
|
||||||
|
*/
|
||||||
|
QCA_WLAN_VENDOR_ATTR_CONFIG_ANI_SETTING = 75,
|
||||||
|
/* 32-bit signed value to configure ANI level. This is used when
|
||||||
|
* ANI settings type is &QCA_WLAN_ANI_SETTING_FIXED.
|
||||||
|
* The set and get of ANI level with &QCA_WLAN_ANI_SETTING_AUTO
|
||||||
|
* is invalid, the driver will return a failure.
|
||||||
|
*/
|
||||||
|
QCA_WLAN_VENDOR_ATTR_CONFIG_ANI_LEVEL = 76,
|
||||||
|
|
||||||
/* keep last */
|
/* keep last */
|
||||||
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
|
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
|
||||||
QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =
|
QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =
|
||||||
|
@ -2329,6 +2340,16 @@ enum qca_wlan_vendor_attr_config {
|
||||||
#define QCA_WLAN_VENDOR_ATTR_BEACON_REPORT_FAIL \
|
#define QCA_WLAN_VENDOR_ATTR_BEACON_REPORT_FAIL \
|
||||||
QCA_WLAN_VENDOR_ATTR_CONFIG_BEACON_REPORT_FAIL
|
QCA_WLAN_VENDOR_ATTR_CONFIG_BEACON_REPORT_FAIL
|
||||||
|
|
||||||
|
/**
|
||||||
|
* enum qca_wlan_ani_setting - ANI setting type
|
||||||
|
* @QCA_WLAN_ANI_SETTING_AUTO: Automatically determine ANI level
|
||||||
|
* @QCA_WLAN_ANI_SETTING_FIXED: Fix ANI level to the dBm parameter
|
||||||
|
*/
|
||||||
|
enum qca_wlan_ani_setting {
|
||||||
|
QCA_WLAN_ANI_SETTING_AUTO = 0,
|
||||||
|
QCA_WLAN_ANI_SETTING_FIXED = 1,
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* enum qca_wlan_vendor_attr_sap_config - Parameters for AP configuration
|
* enum qca_wlan_vendor_attr_sap_config - Parameters for AP configuration
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue