1
0

qcacld-3.0: Don't set widerband bit for 2.4 GHz

With change in design, now in 2.4 GHz band TDLS
BW should always follow Station bandwidth. So,
No need to set widerband bit if TDLS connection
is created on 2.4 GHz Band and offchannel is not
enabled.

Change-Id: I19d69c57a042feb72e50059bdca28c7a4263adb8
CRs-Fixed: 3269866
Este cometimento está contido em:
Utkarsh Bhatnagar
2022-08-23 03:20:31 +05:30
cometido por Madan Koyyalamudi
ascendente 1b8260c40c
cometimento f5401a0c83

Ver ficheiro

@@ -377,7 +377,9 @@ static void populate_dot11f_tdls_ext_capability(struct mac_context *mac,
/*
* For supporting wider bandwidth set tdls_wider_bw set as 1
*/
if (wlan_cfg80211_tdls_is_fw_wideband_capable(pe_session->vdev))
if (wlan_cfg80211_tdls_is_fw_wideband_capable(pe_session->vdev) &&
(mac->lim.gLimTDLSOffChannelEnabled ||
!wlan_reg_is_24ghz_ch_freq(pe_session->curr_op_freq)))
p_ext_cap->tdls_wider_bw = 1;
extCapability->present = 1;