/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
H A D | rtw_debug.c | 158 for (i = 0; pmlmeext->channel_set[i].ChannelNum != 0; i++) { in proc_get_best_channel() 159 if (pmlmeext->channel_set[i].ChannelNum == 1) in proc_get_best_channel() 163 for (i = 0; pmlmeext->channel_set[i].ChannelNum != 0; i++) { in proc_get_best_channel() 165 if (pmlmeext->channel_set[i].ChannelNum == 6) { in proc_get_best_channel() 166 if (pmlmeext->channel_set[i].rx_count < pmlmeext->channel_set[index_24G].rx_count) { in proc_get_best_channel() 168 best_channel_24G = pmlmeext->channel_set[i].ChannelNum; in proc_get_best_channel() 174 pmlmeext->channel_set[i].ChannelNum, pmlmeext->channel_set[i].rx_count); in proc_get_best_channel()
|
H A D | rtw_mlme_ext.c | 125 * Search the @param channel_num in given @param channel_set 129 * return the index of channel_num in channel_set, -1 if not found 2402 memcpy(chplan_sta, pmlmeext->channel_set, sizeof(chplan_sta)); in process_80211d() 2404 memset(pmlmeext->channel_set, 0, sizeof(pmlmeext->channel_set)); in process_80211d() 2405 chplan_new = pmlmeext->channel_set; in process_80211d() 2477 chplan_new = pmlmeext->channel_set; in process_80211d() 3909 static int has_channel(struct rt_channel_info *channel_set, in has_channel() argument 3915 if (channel_set[i].ChannelNum == chan) in has_channel() 3922 struct rt_channel_info *channel_set, in init_channel_list() 3921 init_channel_list(struct adapter *padapter, struct rt_channel_info *channel_set, u8 chanset_size, struct p2p_channels *channel_list) init_channel_list() argument 3965 init_channel_set(struct adapter *padapter, u8 ChannelPlan, struct rt_channel_info *channel_set) init_channel_set() argument [all...] |
H A D | rtw_recv.c | 1153 int ch_set_idx = rtw_ch_set_search_ch(pmlmeext->channel_set, rtw_get_oper_ch(adapter)); in validate_recv_frame() 1156 pmlmeext->channel_set[ch_set_idx].rx_count++; in validate_recv_frame()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/ |
H A D | wifi_regd.c | 64 RT_CHANNEL_INFO *channel_set = pmlmeext->channel_set; in _rtw_reg_apply_flags() local 89 channel = channel_set[i].ChannelNum; in _rtw_reg_apply_flags() 96 if (channel_set[i].ScanType == SCAN_PASSIVE) in _rtw_reg_apply_flags()
|
H A D | ioctl_linux.c | 1079 if (pmlmeext->channel_set[i].ChannelNum != 0) { in rtw_wx_get_range() 1080 range->freq[val].i = pmlmeext->channel_set[i].ChannelNum; in rtw_wx_get_range() 1081 range->freq[val].m = rtw_ch2freq(pmlmeext->channel_set[i].ChannelNum) * 100000; in rtw_wx_get_range() 1464 if (rtw_ch_set_search_ch(padapter->mlmeextpriv.channel_set, pnetwork->network.Configuration.DSConfig) >= 0 in rtw_wx_get_scan()
|
H A D | ioctl_cfg80211.c | 1424 if (rtw_ch_set_search_ch(padapter->mlmeextpriv.channel_set, pnetwork->network.Configuration.DSConfig) >= 0 in rtw_cfg80211_surveydone_event_callback()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/os_dep/ |
H A D | wifi_regd.c | 60 struct rt_channel_info *channel_set = pmlmeext->channel_set; in _rtw_reg_apply_flags() local 85 channel = channel_set[i].ChannelNum; in _rtw_reg_apply_flags() 92 if (channel_set[i].ScanType == SCAN_PASSIVE) in _rtw_reg_apply_flags()
|
H A D | ioctl_cfg80211.c | 1150 if (rtw_ch_set_search_ch(padapter->mlmeextpriv.channel_set, pnetwork->network.configuration.ds_config) >= 0 in rtw_cfg80211_surveydone_event_callback()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
H A D | rtl871x_rf.h | 30 u8 channel_set[NUM_CHANNELS]; member
|
/kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
H A D | rtl871x_rf.h | 30 u8 channel_set[NUM_CHANNELS]; member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/ |
H A D | rtw_rf.h | 37 u8 channel_set[MAX_CHANNEL_NUM]; member
|
H A D | rtw_mlme_ext.h | 411 struct rt_channel_info channel_set[MAX_CHANNEL_NUM]; member
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/ |
H A D | rtw_rf.h | 41 u8 channel_set[MAX_CHANNEL_NUM]; member
|
H A D | rtw_mlme_ext.h | 417 struct rt_channel_info channel_set[MAX_CHANNEL_NUM]; member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
H A D | rtw_rf.h | 44 u8 channel_set[MAX_CHANNEL_NUM]; member
|
H A D | rtw_mlme_ext.h | 477 RT_CHANNEL_INFO channel_set[MAX_CHANNEL_NUM]; member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
H A D | rtw_mlme_ext.c | 218 * return the index of channel_num in channel_set, -1 if not found 328 static int has_channel(RT_CHANNEL_INFO *channel_set, in has_channel() argument 335 if (channel_set[i].ChannelNum == chan) { in has_channel() 343 static void init_channel_list(struct adapter *padapter, RT_CHANNEL_INFO *channel_set, in init_channel_list() argument 371 if (!has_channel(channel_set, chanset_size, ch)) in init_channel_list() 395 static u8 init_channel_set(struct adapter *padapter, u8 ChannelPlan, RT_CHANNEL_INFO *channel_set) in init_channel_set() argument 401 memset(channel_set, 0, sizeof(RT_CHANNEL_INFO)*MAX_CHANNEL_NUM); in init_channel_set() 418 channel_set[chanset_size].ChannelNum = RTW_ChannelPlan2G[Index2G].Channel[index]; in init_channel_set() 422 if (channel_set[chanset_size].ChannelNum >= 1 && channel_set[chanset_siz in init_channel_set() [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/ |
H A D | rtw_mlme_ext.c | 175 * return the index of channel_num in channel_set, -1 if not found 268 static int has_channel(struct rt_channel_info *channel_set, in has_channel() argument 275 if (channel_set[i].ChannelNum == chan) in has_channel() 281 static void init_channel_list(struct adapter *padapter, struct rt_channel_info *channel_set, in init_channel_list() argument 309 if (!has_channel(channel_set, chanset_size, ch)) in init_channel_list() 333 static u8 init_channel_set(struct adapter *padapter, u8 ChannelPlan, struct rt_channel_info *channel_set) in init_channel_set() argument 339 memset(channel_set, 0, sizeof(struct rt_channel_info)*MAX_CHANNEL_NUM); in init_channel_set() 354 channel_set[chanset_size].ChannelNum = RTW_ChannelPlan2G[Index2G].Channel[index]; in init_channel_set() 358 if (channel_set[chanset_size].ChannelNum >= 1 && channel_set[chanset_siz in init_channel_set() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/ |
H A D | mesh.c | 483 * channel_set - Set function for sysfs attribute channel 489 static ssize_t channel_set(struct device *dev, struct device_attribute *attr, in channel_set() function 773 static DEVICE_ATTR(channel, 0644, channel_get, channel_set);
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
H A D | ioctl_linux.c | 891 if (pmlmeext->channel_set[i].ChannelNum != 0) { in rtw_wx_get_range() 892 range->freq[val].i = pmlmeext->channel_set[i].ChannelNum; in rtw_wx_get_range() 893 range->freq[val].m = rtw_ch2freq(pmlmeext->channel_set[i].ChannelNum) * 100000; in rtw_wx_get_range() 1236 if (rtw_ch_set_search_ch(padapter->mlmeextpriv.channel_set, pnetwork->network.Configuration.DSConfig) >= 0) in rtw_wx_get_scan()
|