From a381bf5989468aca2a7b88129b9b243dd4a197d8 Mon Sep 17 00:00:00 2001 From: Ashish Date: Tue, 26 Apr 2022 17:54:19 +0530 Subject: [PATCH] qcacld-3.0: Update ccfs2 in ht operation Currently driver does not update ccfs2 correctly in ht operation when it caches the connetion info, because of this userspace is not able to get correct bw info for sta big data. To address above issue, update ccfs2 corrrectly in ht operation. Change-Id: I13dc8b674d24be7435a85b91a1ecc43e0c37900b CRs-Fixed: 3183162 --- core/hdd/src/wlan_hdd_assoc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index fa142685e7..f3f4712147 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -840,6 +840,9 @@ void hdd_copy_ht_operation(struct hdd_station_ctx *hdd_sta_ctx, hdd_ht_ops->operation_mode |= IEEE80211_HT_OP_MODE_NON_HT_STA_PRSNT; + if (ht_ops->chan_center_freq_seg2) + hdd_ht_ops->operation_mode |= + (ht_ops->chan_center_freq_seg2 << IEEE80211_HT_OP_MODE_CCFS2_SHIFT); /* stbc_param */ temp_ht_ops = ht_ops->basicSTBCMCS & HT_STBC_PARAM_MCS;