Browse Source

qcacld-3.0: dual-band option is missing under AP Band in Hotspot

To show the "dual-band" option in "AP Band" in Hotspot, the host
should set the feature flag of CONCURRENT_BAND_SESSIONS in
hardware's capability and sends it to userspace.

The fix is to set the CONCURRENT_BAND_SESSIONS feature flag and
send it to userspace via the QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES
vendor command.

Change-Id: If29c35be4ea86c966624922f0209b1e5c272d405
CRs-Fixed: 2968554
abhinav kumar 3 years ago
parent
commit
94f1ef448d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/hdd/src/wlan_hdd_cfg80211.c

+ 1 - 1
core/hdd/src/wlan_hdd_cfg80211.c

@@ -4065,7 +4065,7 @@ __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))
+	if (policy_mgr_is_hw_dbs_capable(hdd_ctx->psoc))
 		wlan_hdd_cfg80211_set_feature(feature_flags,
 			QCA_WLAN_VENDOR_FEATURE_CONCURRENT_BAND_SESSIONS);