qcacld-3.0: Add link layer monitor
qcacld-2.0 to qcacld-3.0 propagation
MAC layer counters such as per channel signal quality,
per peer TX/RX statistics, are monitored by FW.
FW reports these counters periodically as host setting.
This change:
- Add one parameter to enable/disable mac counter
- Convert FW indication to NL80211 attributes and send the
same to user layer
- Convert user layer's NL80211 attributes to parameters for
link layer monitor and send the same to WMA
Change-Id: I17a81fcec96076e14ff9f33d0aeb0983a25de912
CRs-fixed: 1071059
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c
index b04dae2..78e46e2 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.c
+++ b/core/hdd/src/wlan_hdd_cfg80211.c
@@ -10139,6 +10139,15 @@
WIPHY_VENDOR_CMD_NEED_RUNNING,
.doit = wlan_hdd_cfg80211_set_trace_level
},
+ {
+ .info.vendor_id = QCA_NL80211_VENDOR_ID,
+ .info.subcmd =
+ QCA_NL80211_VENDOR_SUBCMD_LL_STATS_EXT,
+ .flags = WIPHY_VENDOR_CMD_NEED_WDEV |
+ WIPHY_VENDOR_CMD_NEED_NETDEV |
+ WIPHY_VENDOR_CMD_NEED_RUNNING,
+ .doit = wlan_hdd_cfg80211_ll_stats_ext_set_param
+ },
#ifdef WLAN_UMAC_CONVERGENCE
COMMON_VENDOR_COMMANDS