Home
last modified time | relevance | path

Searched refs:channel_set (Results 1 – 14 of 14) sorted by relevance

/drivers/staging/rtl8188eu/core/
Drtw_debug.c901 for (i = 0; pmlmeext->channel_set[i].ChannelNum != 0; i++) { in proc_get_best_channel()
902 if (pmlmeext->channel_set[i].ChannelNum == 1) in proc_get_best_channel()
904 if (pmlmeext->channel_set[i].ChannelNum == 36) in proc_get_best_channel()
908 for (i = 0; pmlmeext->channel_set[i].ChannelNum != 0; i++) { in proc_get_best_channel()
910 if (pmlmeext->channel_set[i].ChannelNum == 6) { in proc_get_best_channel()
911 if (pmlmeext->channel_set[i].rx_count < pmlmeext->channel_set[index_24G].rx_count) { in proc_get_best_channel()
913 best_channel_24G = pmlmeext->channel_set[i].ChannelNum; in proc_get_best_channel()
918 if (pmlmeext->channel_set[i].ChannelNum >= 36 && in proc_get_best_channel()
919 pmlmeext->channel_set[i].ChannelNum < 140) { in proc_get_best_channel()
921 if (((pmlmeext->channel_set[i].ChannelNum - 36) % 8 == 0) && in proc_get_best_channel()
[all …]
Drtw_mlme_ext.c270 static int has_channel(struct rt_channel_info *channel_set, in has_channel() argument
276 if (channel_set[i].ChannelNum == chan) in has_channel()
282 static void init_channel_list(struct adapter *padapter, struct rt_channel_info *channel_set, in init_channel_list() argument
301 if (!has_channel(channel_set, chanset_size, ch)) { in init_channel_list()
325 … u8 init_channel_set(struct adapter *padapter, u8 ChannelPlan, struct rt_channel_info *channel_set) in init_channel_set() argument
331 memset(channel_set, 0, sizeof(struct rt_channel_info) * MAX_CHANNEL_NUM); in init_channel_set()
348 channel_set[chanset_size].ChannelNum = RTW_ChannelPlan2G[Index2G].Channel[index]; in init_channel_set()
352 if (channel_set[chanset_size].ChannelNum >= 1 && channel_set[chanset_size].ChannelNum <= 11) in init_channel_set()
353 channel_set[chanset_size].ScanType = SCAN_ACTIVE; in init_channel_set()
354 …else if ((channel_set[chanset_size].ChannelNum >= 12 && channel_set[chanset_size].ChannelNum <= … in init_channel_set()
[all …]
Drtw_recv.c1274 int ch_set_idx = rtw_ch_set_search_ch(pmlmeext->channel_set, rtw_get_oper_ch(adapter)); in validate_recv_frame()
1276 pmlmeext->channel_set[ch_set_idx].rx_count++; in validate_recv_frame()
/drivers/staging/rtl8712/
Drtl871x_rf.h42 u8 channel_set[NUM_CHANNELS]; member
/drivers/staging/rtl8723au/include/
Drtw_rf.h45 u8 channel_set[MAX_CHANNEL_NUM]; member
Drtw_mlme_ext.h422 struct rt_channel_info channel_set[MAX_CHANNEL_NUM]; member
/drivers/staging/rtl8188eu/include/
Drtw_rf.h54 u8 channel_set[MAX_CHANNEL_NUM]; member
Drtw_mlme_ext.h418 struct rt_channel_info channel_set[MAX_CHANNEL_NUM]; member
/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c1173 bool channel_set, in ath10k_htt_rx_amsdu_allowed() argument
1190 if (!channel_set) { in ath10k_htt_rx_amsdu_allowed()
1234 bool channel_set; in ath10k_htt_rx_handler() local
1260 channel_set = ath10k_htt_rx_h_channel(htt->ar, rx_status); in ath10k_htt_rx_handler()
1262 if (channel_set) { in ath10k_htt_rx_handler()
1304 channel_set, in ath10k_htt_rx_handler()
/drivers/staging/rtl8723au/core/
Drtw_mlme_ext.c419 static int has_channel(struct rt_channel_info *channel_set, in has_channel() argument
424 if (channel_set[i].ChannelNum == chan) in has_channel()
432 struct rt_channel_info *channel_set, in init_channel_list() argument
459 if (!has_channel(channel_set, chanset_size, ch)) in init_channel_list()
588 pmlmeext->channel_set); in init_mlme_ext_priv23a()
589 init_channel_list(padapter, pmlmeext->channel_set, in init_mlme_ext_priv23a()
4557 memcpy(chplan_sta, pmlmeext->channel_set, sizeof(chplan_sta)); in process_80211d()
4558 memset(pmlmeext->channel_set, 0, sizeof(pmlmeext->channel_set)); in process_80211d()
4559 chplan_new = pmlmeext->channel_set; in process_80211d()
4703 chplan_new = pmlmeext->channel_set; in process_80211d()
[all …]
/drivers/net/wireless/libertas/
Dmesh.c485 static ssize_t channel_set(struct device *dev, struct device_attribute *attr, in channel_set() function
769 static DEVICE_ATTR(channel, 0644, channel_get, channel_set);
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c912 if (pmlmeext->channel_set[i].ChannelNum != 0) { in rtw_wx_get_range()
913 range->freq[val].i = pmlmeext->channel_set[i].ChannelNum; in rtw_wx_get_range()
914 range->freq[val].m = rtw_ch2freq(pmlmeext->channel_set[i].ChannelNum) * 100000; in rtw_wx_get_range()
1260 …if (rtw_ch_set_search_ch(padapter->mlmeextpriv.channel_set, pnetwork->network.Configuration.DSConf… in rtw_wx_get_scan()
/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c1294 (padapter->mlmeextpriv.channel_set, in rtw_cfg80211_surveydone_event_callback()
/drivers/staging/rtl8723au/hal/
Drtl8723a_bt-coexist.c118 pChanneList = padapter->mlmeextpriv.channel_set; in BT_IsLegalChannel()