Browse Source

qcacmn: Create intersected AFC channel before calling ACS

ACS needs the intersection of SP channel and the channel list in the AFC
response.

Create intersected AFC channel before calling ACS.

Change-Id: I9443edfc4d8b31edf5ae7e040c0743de9a0851b3
CRs-Fixed: 3023930
Vignesh U 3 years ago
parent
commit
fc7e74f044
1 changed files with 2 additions and 0 deletions
  1. 2 0
      umac/regulatory/core/src/reg_build_chan_list.c

+ 2 - 0
umac/regulatory/core/src/reg_build_chan_list.c

@@ -2928,6 +2928,8 @@ reg_process_afc_power_event(struct afc_regulatory_info *afc_info)
 	pdev_priv_obj->is_6g_afc_power_event_received =
 	soc_reg->mas_chan_params[phy_id].is_6g_afc_power_event_received;
 
+	reg_modify_6g_afc_chan_list(pdev_priv_obj);
+
 	if (tx_ops->trigger_acs_for_afc &&
 	    !wlan_reg_is_noaction_on_afc_pwr_evt(pdev))
 		tx_ops->trigger_acs_for_afc(pdev);