qcacmn: Add support for SRD channels in ETSI domain
Add support for Short Range Devices 25 mW max power channels in ETSI regulatory domain. Add Short Range Devices 25 mW max power channels only if DSRC feature is disabled. Provide service apis to check SRD and DSRC channels. Change-Id: Ib2a1d7cf191d07319cb29038ad60130f5cbe7f16 CRs-Fixed: 2264790
这个提交包含在:
@@ -46,14 +46,6 @@ struct wlan_find_vdev_filter {
|
||||
*/
|
||||
uint32_t wlan_chan_to_freq(uint8_t chan);
|
||||
|
||||
/*
|
||||
* wlan_is_dsrc_channel() - is the channel DSRC
|
||||
* @center_freq: center freq of the channel
|
||||
*
|
||||
* Return: true if DSRC channel or false otherwise
|
||||
*/
|
||||
bool wlan_is_dsrc_channel(uint16_t center_freq);
|
||||
|
||||
/**
|
||||
* wlan_freq_to_chan() - converts frequency to channel
|
||||
* @freq: frequency
|
||||
|
@@ -44,15 +44,6 @@ uint32_t wlan_chan_to_freq(uint8_t chan)
|
||||
return WLAN_5_GHZ_BASE_FREQ + chan * WLAN_CHAN_SPACING_5MHZ;
|
||||
}
|
||||
|
||||
bool wlan_is_dsrc_channel(uint16_t center_freq)
|
||||
{
|
||||
if (center_freq >= 5852 &&
|
||||
center_freq <= 5920)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
uint8_t wlan_freq_to_chan(uint32_t freq)
|
||||
{
|
||||
uint8_t chan;
|
||||
|
在新工单中引用
屏蔽一个用户