qcacmn: Add APIs to support RCSA and puncturing
Add API utils_dfs_get_radar_bitmap_from_nolie() to fetch the puncture bitmap from NOL IE. Also, move dfs_convert_wlan_phymode_to_chwidth() from oss to common code. Also, add a 11BE version of utils_dfs_convert_wlan_phymode_to_chwidth() API. CRs-Fixed: 3538818 Change-Id: I258452e122d259c7b16655b760f217073b8e2e9b
This commit is contained in:

committed by
Rahul Choudhary

父節點
092276d49f
當前提交
596b68de2e
@@ -2916,4 +2916,16 @@ wlan_reg_register_is_chan_connected_callback(struct wlan_objmgr_psoc *psoc,
|
||||
void
|
||||
wlan_reg_unregister_is_chan_connected_callback(struct wlan_objmgr_psoc *psoc,
|
||||
void *cbk);
|
||||
|
||||
/**
|
||||
* wlan_reg_get_endchan_cen_from_bandstart() - Get the end channel frequency
|
||||
* from the band start frequency.
|
||||
* @band_start: Band start frequency in MHz
|
||||
* @bw: Bandwidth in MHz
|
||||
*
|
||||
* Return: End frequency in MHz
|
||||
*/
|
||||
qdf_freq_t
|
||||
wlan_reg_get_endchan_cen_from_bandstart(qdf_freq_t band_start,
|
||||
uint16_t bw);
|
||||
#endif
|
||||
|
@@ -1973,3 +1973,10 @@ wlan_reg_unregister_is_chan_connected_callback(struct wlan_objmgr_psoc *psoc,
|
||||
reg_unregister_is_chan_connected_callback(psoc,
|
||||
(reg_is_chan_connected_callback)cbk);
|
||||
}
|
||||
|
||||
qdf_freq_t
|
||||
wlan_reg_get_endchan_cen_from_bandstart(qdf_freq_t band_start,
|
||||
uint16_t bw)
|
||||
{
|
||||
return reg_get_endchan_cen_from_bandstart(band_start, bw);
|
||||
}
|
||||
|
Reference in New Issue
Block a user