qcacld-3.0: Enable LL STATS support for SAP mode

Extend support for LL STATS in SAP mode.
Need get tx/rx rate/mpdu/radio stats for SAP mode too.

Change-Id: Ib304e69b2779c90ac3087bf0cde1b200d1edc00b
CRs-Fixed: 3173865
This commit is contained in:
Jianmin Zhu
2022-04-11 17:42:08 +08:00
committed by Madan Koyyalamudi
parent a4948e1bc6
commit e7e286d346

View File

@@ -2235,11 +2235,6 @@ __wlan_hdd_cfg80211_ll_stats_get(struct wiphy *wiphy,
return -EINVAL; return -EINVAL;
} }
if (adapter->device_mode == QDF_SAP_MODE) {
hdd_nofl_debug("LL_STATS get is not supported for SAP mode");
return -EINVAL;
}
if (hdd_cm_is_vdev_roaming(adapter)) { if (hdd_cm_is_vdev_roaming(adapter)) {
hdd_err("Roaming in progress, cannot process the request"); hdd_err("Roaming in progress, cannot process the request");
return -EBUSY; return -EBUSY;