qcacmn: Remove util_scan_scm_chan_to_band API

Remove util_scan_scm_chan_to_band API is this wont work for
6G band.

Change-Id: I52fe841653aa9c139f97772adfced1f4e280ab2f
CRs-Fixed: 2990486
This commit is contained in:
Venkateswara Swamy Bandaru
2021-07-13 22:07:50 +05:30
committed by Madan Koyyalamudi
父節點 c893f06069
當前提交 e52a974af4
共有 2 個文件被更改,包括 0 次插入16 次删除

查看文件

@@ -1738,14 +1738,6 @@ util_scan_entry_rsnxe(struct scan_cache_entry *scan_entry)
return scan_entry->ie_list.rsnxe;
}
/**
* util_scan_scm_chan_to_band() - function to tell band for channel number
* @chan: Channel number
*
* Return: Band information as per channel
*/
enum wlan_band util_scan_scm_chan_to_band(uint32_t chan);
/**
* util_scan_scm_freq_to_band() - API to get band from frequency
* @freq: Channel frequency

查看文件

@@ -113,14 +113,6 @@ util_get_last_scan_time(struct wlan_objmgr_vdev *vdev)
return 0;
}
enum wlan_band util_scan_scm_chan_to_band(uint32_t chan)
{
if (WLAN_CHAN_IS_2GHZ(chan))
return WLAN_BAND_2_4_GHZ;
return WLAN_BAND_5_GHZ;
}
enum wlan_band util_scan_scm_freq_to_band(uint16_t freq)
{
if (WLAN_REG_IS_24GHZ_CH_FREQ(freq))