Эх сурвалжийг харах

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
Gururaj Pandurangi 4 жил өмнө
parent
commit
7146865de0

+ 5 - 1
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) !=