qcacmn: Make wlan_reg_recompute_current_chan_list common API

wlan_reg_recompute_current_chan_list() is defined for MCC only.
Make this wlan_reg_recompute_current_chan_list() common for both WIN
and MCC.

CRs-Fixed: 3451996
Change-Id: Ifcead79a68d0ed04ac1e4b78063f36b91e4d6fd8
这个提交包含在:
Priyadarshnee Srinivasan
2023-03-31 18:12:53 +05:30
提交者 Madan Koyyalamudi
父节点 576ea0d8b2
当前提交 c7200a49ec
修改 2 个文件,包含 2 行新增3 行删除

查看文件

@@ -2233,7 +2233,7 @@ QDF_STATUS
wlan_reg_modify_indoor_concurrency(struct wlan_objmgr_pdev *pdev,
uint8_t vdev_id, uint32_t freq,
enum phy_ch_width width, bool add);
#endif
/**
* wlan_reg_recompute_current_chan_list() - Recompute the current channel list
* based on the regulatory change
@@ -2246,7 +2246,6 @@ wlan_reg_modify_indoor_concurrency(struct wlan_objmgr_pdev *pdev,
QDF_STATUS
wlan_reg_recompute_current_chan_list(struct wlan_objmgr_psoc *psoc,
struct wlan_objmgr_pdev *pdev);
#endif
#if defined(CONFIG_BAND_6GHZ)
/**

查看文件

@@ -1910,7 +1910,6 @@ QDF_STATUS wlan_reg_set_afc_power_event_received(struct wlan_objmgr_pdev *pdev,
#endif
#ifdef CONFIG_REG_CLIENT
QDF_STATUS
wlan_reg_recompute_current_chan_list(struct wlan_objmgr_psoc *psoc,
struct wlan_objmgr_pdev *pdev)
@@ -1928,6 +1927,7 @@ wlan_reg_recompute_current_chan_list(struct wlan_objmgr_psoc *psoc,
return reg_send_scheduler_msg_nb(psoc, pdev);
}
#ifdef CONFIG_REG_CLIENT
QDF_STATUS
wlan_reg_modify_indoor_concurrency(struct wlan_objmgr_pdev *pdev,
uint8_t vdev_id, uint32_t freq,