qcacmn: Add QCA vendor attribute to configure DBAM feature
Add a new QCA attribute QCA_WLAN_VENDOR_ATTR_CONFIG_DBAM to configure Dedicated Bluetooth Antenna Mode (DBAM) feature. It is used to switch between dedicated antenna mode for BT and COEX shared antenna mode for WLAN and BT. Change-Id: Id1e04e8647a0b4ff6bb83f272c0f891aa88f111c CRs-Fixed: 3239894
This commit is contained in:

committed by
Madan Koyyalamudi

parent
0b43b9f1f8
commit
bf46176516
@@ -5057,12 +5057,32 @@ enum qca_wlan_vendor_attr_config {
|
||||
*/
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_ARP_NS_OFFLOAD = 81,
|
||||
|
||||
/*
|
||||
* 8-bit unsigned value. This attribute can be used to configure the
|
||||
* Dedicated Bluetooth Antenna Mode (DBAM) feature. Possible values
|
||||
* for this attribute are defined in the enum qca_dbam_config.
|
||||
*/
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_DBAM = 83,
|
||||
|
||||
/* keep last */
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =
|
||||
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST - 1,
|
||||
};
|
||||
|
||||
/**
|
||||
* enum qca_dbam_config - Specifies DBAM config mode
|
||||
* @QCA_DBAM_DISABLE: Firmware disables DBAM
|
||||
* @QCA_DBAM_ENABLE: Firmware enables DBAM opportunistically when
|
||||
* internal criteria are met.
|
||||
* @QCA_DBAM_FORCE_ENABLE: Firmware enables DBAM forcefully.
|
||||
*/
|
||||
enum qca_dbam_config {
|
||||
QCA_DBAM_DISABLE = 0,
|
||||
QCA_DBAM_ENABLE = 1,
|
||||
QCA_DBAM_FORCE_ENABLE = 2,
|
||||
};
|
||||
|
||||
/**
|
||||
* enum qca_wlan_vendor_attr_wifi_logger_start - Enum for wifi logger starting
|
||||
* @QCA_WLAN_VENDOR_ATTR_WIFI_LOGGER_START_INVALID: Invalid attribute
|
||||
|
Reference in New Issue
Block a user