qcacld-3.0: Enable beaconing for non-dfs 160 MHz BW

Enable beaconing for 160 MHz BW when all the channels
are non-DFS. Addition of new 5.9 GHz channels 169, 173,
and 177 has created a new 160 MHz BW channel bonding
pair (149-177) and beacons can be sent out from SAP
for this pair.

Change-Id: Ifd222a01a5058cf02d6e1d819da9d213eb0fd9ca
CRs-Fixed: 2778707
This commit is contained in:
Gururaj Pandurangi 2020-09-18 16:23:57 -07:00 • committed by snandini
commit 23bd10364d

View file

@ -226,7 +226,7 @@ void lim_process_mlm_start_cnf(struct mac_context *mac, uint32_t *msg_buf)
if (!LIM_IS_AP_ROLE(pe_session))
return;
if (pe_session->ch_width == CH_WIDTH_160MHZ) {
if (wlan_reg_get_bonded_channel_state(
if (wlan_reg_get_bonded_channel_state_for_freq(
mac->pdev, chan_freq,
pe_session->ch_width, 0) !=
CHANNEL_STATE_DFS)