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:

zatwierdzone przez
Madan Koyyalamudi

rodzic
e122023f44
commit
aab3676557
@@ -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,
|
||||
|
@@ -1148,24 +1148,6 @@ uint32_t utils_dfs_chan_to_freq(uint8_t chan)
|
||||
qdf_export_symbol(utils_dfs_chan_to_freq);
|
||||
|
||||
#ifdef QCA_MCL_DFS_SUPPORT
|
||||
#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)
|
||||
{
|
||||
struct wlan_dfs *dfs = NULL;
|
||||
|
||||
dfs = wlan_pdev_get_dfs_obj(pdev);
|
||||
if (!dfs) {
|
||||
dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS, "null dfs");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
return dfs_mark_leaking_ch(dfs, ch_width, temp_ch_lst_sz, temp_ch_lst);
|
||||
}
|
||||
qdf_export_symbol(utils_dfs_mark_leaking_ch);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CHAN_FREQ_API
|
||||
QDF_STATUS utils_dfs_mark_leaking_chan_for_freq(struct wlan_objmgr_pdev *pdev,
|
||||
|
Reference in New Issue
Block a user