Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27f78b67 authored by Abdul Muqtadeer Ahmed's avatar Abdul Muqtadeer Ahmed Committed by Venkata Manikumar Punyamanthula
Browse files

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
parent 76efcb3e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4021,6 +4021,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);