diff options
| author | Srinivas Girigowda <sgirigow@codeaurora.org> | 2016-10-25 14:14:23 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-11-06 09:12:21 -0800 |
| commit | 0859e7d973f26d425f6dc0db7f8f4fe899a6e175 (patch) | |
| tree | 3c57260210ca9b47f930c4f13e66745e947fbd36 | |
| parent | 932dc84ddebc91ec21596f943554ff297e150062 (diff) | |
qcacld-3.0: Add support for Tx transmit power level feature bit
This is a qcacld-2.0 to qcacld-3.0 propagation.
Set Tx transmit power level feature bit in get_supported_features.
Framework needs to distinguish the driver supporting this feature
v/s other vendors not supporting.
Change-Id: I7ab412c6f89ea2910431bb99072c2d6f9d20dc4a
CRs-Fixed: 992365
| -rw-r--r-- | core/hdd/src/wlan_hdd_cfg80211.c | 1 | ||||
| -rw-r--r-- | core/hdd/src/wlan_hdd_cfg80211.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 1be6549b825b..a0874fd14656 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -1907,6 +1907,7 @@ __wlan_hdd_cfg80211_get_supported_features(struct wiphy *wiphy, fset |= WIFI_FEATURE_AP_STA; #endif fset |= WIFI_FEATURE_RSSI_MONITOR; + fset |= WIFI_FEATURE_TX_TRANSMIT_POWER; if (hdd_link_layer_stats_supported()) fset |= WIFI_FEATURE_LINK_LAYER_STATS; diff --git a/core/hdd/src/wlan_hdd_cfg80211.h b/core/hdd/src/wlan_hdd_cfg80211.h index 014641b09f25..17522489681a 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.h +++ b/core/hdd/src/wlan_hdd_cfg80211.h @@ -2245,6 +2245,9 @@ enum qca_wlan_vendor_attr_sap_conditional_chan_switch { #define WIFI_FEATURE_LOGGER 0x20000 /* WiFi Logger */ #define WIFI_FEATURE_HAL_EPNO 0x40000 /* WiFi PNO enhanced */ #define WIFI_FEATURE_RSSI_MONITOR 0x80000 /* RSSI Monitor */ +#define WIFI_FEATURE_MKEEP_ALIVE 0x100000 /* WiFi mkeep_alive */ +#define WIFI_FEATURE_CONFIG_NDO 0x200000 /* ND offload configure */ +#define WIFI_FEATURE_TX_TRANSMIT_POWER 0x400000 /* Tx transmit power levels */ /** * enum wifi_logger_supported_features - values for supported logger features |
