mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
qcacld3.0: Remove condition to start BSS in HT20
SAP is always coming up in HT20 on 2.4Ghz band even though hostapd configures HT40 mode. Remove condition to start BSS only in HT20 for 2.4Ghz channels. Change-Id: I1e4712ee49bbb079c81a2193e2130d2c846c865f CRs-Fixed: 970396
This commit is contained in:
parent
e390be5cda
commit
fade9b7887
1 changed files with 4 additions and 10 deletions
|
|
@ -822,16 +822,10 @@ __lim_handle_sme_start_bss_request(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
|
|||
FL("cbMode %u"), sme_start_bss_req->cbMode);
|
||||
if (session->vhtCapability || session->htCapability) {
|
||||
chanwidth = sme_start_bss_req->vht_channel_width;
|
||||
lim_log(mac_ctx, LOG1, FL("vht_channel_width %u"),
|
||||
sme_start_bss_req->vht_channel_width);
|
||||
if (channel_number <= RF_CHAN_14 &&
|
||||
chanwidth != eHT_CHANNEL_WIDTH_20MHZ) {
|
||||
chanwidth = CH_WIDTH_20MHZ;
|
||||
session->htSupportedChannelWidthSet = 0;
|
||||
lim_log(mac_ctx, LOG1,
|
||||
FL("Set chanwidth to 20Mhz, chan %d"),
|
||||
channel_number);
|
||||
}
|
||||
lim_log(mac_ctx, LOG1,
|
||||
FL("vht_channel_width %u htSupportedChannelWidthSet %d"),
|
||||
sme_start_bss_req->vht_channel_width,
|
||||
session->htSupportedChannelWidthSet);
|
||||
session->ch_width = chanwidth;
|
||||
if (session->htSupportedChannelWidthSet) {
|
||||
session->ch_center_freq_seg0 =
|
||||
|
|
|
|||
Loading…
Reference in a new issue