qcacld-3.0: update the BW correctly for SAP channel_switch
In wlansap_get_csa_chanwidth_from_phymode(), update the channel width correctly incase when SAP starts on 2.4GHz and channel switch happens on 5GHz channel with BW 80 MHz. Currently host modify the BW according to the original BW 20MHz is incorrect, it should be changed to 80MHz. Update the BW correctly, it should not be limited to orig BW. Change-Id: I9baf89d89eeb6407c7cda931b332bced38cc2154 CRs-Fixed: 2974565
This commit is contained in:

gecommit door
Madan Koyyalamudi

bovenliggende
5478a21533
commit
4ffb37d015
@@ -1298,7 +1298,6 @@ wlansap_get_csa_chanwidth_from_phymode(struct sap_context *sap_context,
|
||||
mac->pdev, mac->psoc, chan_freq,
|
||||
ch_width);
|
||||
ch_width = QDF_MIN(ch_width, concurrent_bw);
|
||||
ch_width = QDF_MIN(ch_width, sap_context->ch_width_orig);
|
||||
}
|
||||
ch_params.ch_width = ch_width;
|
||||
wlan_reg_set_channel_params_for_freq(mac->pdev, chan_freq, 0,
|
||||
|
Verwijs in nieuw issue
Block a user