qcacmn: Don't use dfs_find_target_channel_in_channel_matrix()

As part of regulatory cleanup, remove
dfs_find_target_channel_in_channel_matrix()

Use dfs_find_target_channel_in_channel_matrix_for_freq() instead
of dfs_find_target_channel_in_channel_matrix()

Change-Id: I8750b95d5cf4a4fa3d738c2209edf1328794d486
CRs-Fixed: 2959916
This commit is contained in:
Jyoti Kumari
2021-05-16 23:55:23 +05:30
کامیت شده توسط Madan Koyyalamudi
والد e122023f44
کامیت aab3676557
4فایلهای تغییر یافته به همراه0 افزوده شده و 208 حذف شده

مشاهده پرونده

@@ -599,25 +599,6 @@ QDF_STATUS utils_dfs_update_cur_chan_flags(struct wlan_objmgr_pdev *pdev,
uint16_t flagext);
#ifdef QCA_MCL_DFS_SUPPORT
/**
* utils_dfs_mark_leaking_ch() - to mark channel leaking in to nol
* @pdev: Pointer to pdev structure.
* @ch_width: channel width
* @temp_ch_lst_sz: the target channel list
* @temp_ch_lst: the target channel list
*
* This function removes the channels from temp channel list that
* (if selected as target channel) will cause leakage in one of
* the NOL channels
*
* Return: QDF_STATUS
*/
#ifdef CONFIG_CHAN_NUM_API
QDF_STATUS utils_dfs_mark_leaking_ch(struct wlan_objmgr_pdev *pdev,
enum phy_ch_width ch_width,
uint8_t temp_ch_lst_sz,
uint8_t *temp_ch_lst);
#endif
/**
* utils_dfs_mark_leaking_chan_for_freq() - to mark channel leaking in to nol
* @pdev: Pointer to pdev structure.
@@ -650,16 +631,6 @@ QDF_STATUS utils_dfs_mark_leaking_chan_for_freq(struct wlan_objmgr_pdev *pdev,
*/
bool utils_dfs_can_ignore_radar_event(struct wlan_objmgr_pdev *pdev);
#else
#ifdef CONFIG_CHAN_NUM_API
static inline QDF_STATUS utils_dfs_mark_leaking_ch
(struct wlan_objmgr_pdev *pdev,
enum phy_ch_width ch_width,
uint8_t temp_ch_lst_sz,
uint8_t *temp_ch_lst)
{
return QDF_STATUS_SUCCESS;
}
#endif
#ifdef CONFIG_CHAN_FREQ_API
static inline QDF_STATUS utils_dfs_mark_leaking_chan_for_freq
(struct wlan_objmgr_pdev *pdev,