From 91765b4a34a3e3ec2dd938f81f6f8d67360e2ec5 Mon Sep 17 00:00:00 2001 From: Kabilan Kannan Date: Tue, 14 Jun 2016 00:00:23 -0700 Subject: [PATCH] qcacld-3.0: Remove TDLS wider bandwidth support from VHT IE TDLS wider band width is not yet supported, but it is incorrectly advertised in TDLS action frames. Remove the wider bandwidth advertisement from VHT IE in TDLS action frames. Change-Id: I66f0e5d147af93100a7780b14636ba6438330584 CRs-Fixed: 1028205 --- core/mac/src/pe/lim/lim_process_tdls.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/core/mac/src/pe/lim/lim_process_tdls.c b/core/mac/src/pe/lim/lim_process_tdls.c index 1bfe5c8f18b9..ed5420a4ff1e 100644 --- a/core/mac/src/pe/lim/lim_process_tdls.c +++ b/core/mac/src/pe/lim/lim_process_tdls.c @@ -587,6 +587,17 @@ static void populate_dot11f_tdls_ht_vht_cap(tpAniSirGlobal pMac, IS_FEATURE_SUPPORTED_BY_FW(DOT11AC)) { /* Include VHT Capability IE */ populate_dot11f_vht_caps(pMac, psessionEntry, vhtCap); + + /* + * Set to 0 if the TDLS STA does not support either 160 + * or 80+80 MHz. + * Set to 1 if the TDLS STA supports 160 MHz. + * Set to 2 if the TDLS STA supports 160 MHz and + * 80+80 MHz. + * The value 3 is reserved + */ + vhtCap->supportedChannelWidthSet = 0; + vhtCap->suBeamformeeCap = 0; vhtCap->suBeamFormerCap = 0; vhtCap->muBeamformeeCap = 0;