From 99133c824ed07065c1412cecf7cecaba2486a81b Mon Sep 17 00:00:00 2001 From: Diya Sati Date: Wed, 25 Oct 2023 12:19:39 +0530 Subject: [PATCH] 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 --- umac/regulatory/core/src/reg_build_chan_list.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/umac/regulatory/core/src/reg_build_chan_list.c b/umac/regulatory/core/src/reg_build_chan_list.c index 88701aa266..3a6f246ca4 100644 --- a/umac/regulatory/core/src/reg_build_chan_list.c +++ b/umac/regulatory/core/src/reg_build_chan_list.c @@ -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; }