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

Commit 496a5a16 authored by Divyajyothi Goparaju's avatar Divyajyothi Goparaju
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 b58bed68
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3993,6 +3993,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);