mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Fill seg1 for 160 mhz BW in ACS result
Currently the driver does not fill the seg1 frequency in case of 160 mhz which is used for SAP startup. Fix is to Fill seg1 for 160 mhz BW in ACS result Change-Id: Iffc61581290adf97d83e10b6a717c50afb750687 CRs-Fixed: 2575631
This commit is contained in:
parent
fc01042e5e
commit
4c443a26bc
1 changed files with 3 additions and 1 deletions
|
|
@ -112,7 +112,9 @@ void sap_config_acs_result(mac_handle_t mac_handle,
|
|||
else
|
||||
sap_ctx->acs_cfg->vht_seg0_center_ch_freq = 0;
|
||||
|
||||
if (sap_ctx->acs_cfg->ch_width == CH_WIDTH_80P80MHZ)
|
||||
if (sap_ctx->acs_cfg->ch_width == CH_WIDTH_80P80MHZ ||
|
||||
(sap_ctx->acs_cfg->ch_width == CH_WIDTH_160MHZ &&
|
||||
WLAN_REG_IS_6GHZ_CHAN_FREQ(sap_ctx->acs_cfg->pri_ch_freq)))
|
||||
sap_ctx->acs_cfg->vht_seg1_center_ch_freq =
|
||||
ch_params.mhz_freq_seg1;
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue