From 7146865de010f7efaf72e4392295dd3c62e32c9b Mon Sep 17 00:00:00 2001 From: Gururaj Pandurangi Date: Thu, 20 Aug 2020 16:50:28 -0700 Subject: [PATCH] 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: Ic2d85927fe75525839a1ccadbfae89efa37431d3 CRs-Fixed: 2751114 --- core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c b/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c index 499ca4be07..5edabfbe8d 100644 --- a/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c +++ b/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c @@ -226,7 +226,11 @@ 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) { - send_bcon_ind = false; + if (wlan_reg_get_bonded_channel_state( + mac->pdev, chan_freq, + pe_session->ch_width, 0) != + CHANNEL_STATE_DFS) + send_bcon_ind = true; } else if (pe_session->ch_width == CH_WIDTH_80P80MHZ) { if ((wlan_reg_get_channel_state_for_freq( mac->pdev, chan_freq) !=