qcacmn: Disable CONFIG_6G_FREQ_OVERLAP macro

Disable the CONFIG_6G_FREQ_OVERLAP macro not required for 16M profile.

Change-Id: I5f57c23739f859d1e94e9b6aec6df8c7c60bf07a
CRs-Fixed: 3647598
This commit is contained in:
Diya Sati
2023-10-25 12:19:39 +05:30
committed by Ravindra Konda
orang tua 47cbcd3bd0
melakukan 99133c824e

Melihat File

@@ -1363,6 +1363,7 @@ static void reg_propagate_6g_mas_channel_list(
}
#if defined(CONFIG_AFC_SUPPORT) && !defined(CONFIG_REG_CLIENT)
#ifdef CONFIG_6G_FREQ_OVERLAP
void reg_set_ap_pwr_type(struct wlan_regulatory_pdev_priv_obj *pdev_priv_obj)
{
uint8_t *num_rules = pdev_priv_obj->reg_rules.num_of_6g_ap_reg_rules;
@@ -1398,6 +1399,11 @@ void reg_set_ap_pwr_type(struct wlan_regulatory_pdev_priv_obj *pdev_priv_obj)
}
#else
void reg_set_ap_pwr_type(struct wlan_regulatory_pdev_priv_obj *pdev_priv_obj)
{
}
#endif /* CONFIG_6G_FREQ_OVERLAP */
#else
void reg_set_ap_pwr_type(struct wlan_regulatory_pdev_priv_obj *pdev_priv_obj)
{
pdev_priv_obj->reg_cur_6g_ap_pwr_type = REG_INDOOR_AP;
}