mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: Set supported chan width in ht cap of assoc req
For STA in 2.4Ghz band, host adds self HT supported channel width capability in HT capability field of assoc request. For WFA certification, expectation is to add self HT supported chan width capability in HT capability field of assoc request. Change-Id: I630423de03636e6c4ca07638dce6966c3ca381f9 CRs-Fixed: 2720908
This commit is contained in:
parent
5dfaeb2e22
commit
a4d014cdbe
1 changed files with 9 additions and 2 deletions
|
|
@ -713,9 +713,16 @@ populate_dot11f_ht_caps(struct mac_context *mac,
|
|||
pDot11f->shortGI20MHz = ht_cap_info->short_gi_20_mhz;
|
||||
pDot11f->shortGI40MHz = ht_cap_info->short_gi_40_mhz;
|
||||
} else {
|
||||
if (WLAN_REG_IS_24GHZ_CH_FREQ(pe_session->curr_op_freq) &&
|
||||
LIM_IS_STA_ROLE(pe_session) &&
|
||||
WNI_CFG_CHANNEL_BONDING_MODE_DISABLE !=
|
||||
mac->roam.configParam.channelBondingMode24GHz)
|
||||
pDot11f->supportedChannelWidthSet = 1;
|
||||
else
|
||||
pDot11f->supportedChannelWidthSet =
|
||||
pe_session->htSupportedChannelWidthSet;
|
||||
|
||||
pDot11f->advCodingCap = pe_session->ht_config.ht_rx_ldpc;
|
||||
pDot11f->supportedChannelWidthSet =
|
||||
pe_session->htSupportedChannelWidthSet;
|
||||
pDot11f->txSTBC = pe_session->ht_config.ht_tx_stbc;
|
||||
pDot11f->rxSTBC = pe_session->ht_config.ht_rx_stbc;
|
||||
pDot11f->shortGI20MHz = pe_session->ht_config.ht_sgi20;
|
||||
|
|
|
|||
Loading…
Reference in a new issue