qcacld-3.0: Add a check for new feature capability

Advertize the DBS capability in the get feature vendor command
if device supports DBS.

Change-Id: Icd8e8de7e188e9c5a3041460e6316cdf2b8ebff1
CRs-Fixed: 2820800
This commit is contained in:
Abdul Muqtadeer Ahmed 2020-11-17 21:34:28 +05:30 • committed by Madan Koyyalamudi
commit 2458ae3766

View file

@ -4038,6 +4038,10 @@ __wlan_hdd_cfg80211_get_features(struct wiphy *wiphy,
wlan_hdd_cfg80211_set_feature(feature_flags,
QCA_WLAN_VENDOR_FEATURE_OFFCHANNEL_SIMULTANEOUS);
if (policy_mgr_is_dbs_enable(hdd_ctx->psoc))
wlan_hdd_cfg80211_set_feature(feature_flags,
QCA_WLAN_VENDOR_FEATURE_CONCURRENT_BAND_SESSIONS);
if (wma_is_p2p_lo_capable())
wlan_hdd_cfg80211_set_feature(feature_flags,
QCA_WLAN_VENDOR_FEATURE_P2P_LISTEN_OFFLOAD);