From 3b30576bd53389f8f45cf0618a49caf5f7c3fb81 Mon Sep 17 00:00:00 2001 From: abhinav kumar Date: Thu, 17 Jun 2021 21:43:18 +0530 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 44ad094fb1be..058ad5da9195 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -4038,7 +4038,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);