From 2458ae37660d89baa97d1ee43be8a8602cb37932 Mon Sep 17 00:00:00 2001 From: Abdul Muqtadeer Ahmed Date: Tue, 17 Nov 2020 21:34:28 +0530 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_cfg80211.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 1048d98cee30..44ad094fb1be 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -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);