Searched refs:pri_chan (Results 1 - 4 of 4) sorted by relevance
/netbsd-current/external/bsd/wpa/dist/src/common/ |
H A D | hw_features_common.h | 23 int allowed_ht40_channel_pair(struct hostapd_hw_modes *mode, int pri_chan, 25 void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan); 27 struct wpa_scan_results *scan_res, int pri_chan, 30 struct wpa_scan_results *scan_res, int pri_chan,
|
H A D | hw_features_common.c | 87 int allowed_ht40_channel_pair(struct hostapd_hw_modes *mode, int pri_chan, argument 95 const int ht40_plus = pri_chan < sec_chan; 97 p_chan = hw_get_channel_chan(mode, pri_chan, NULL); 101 if (pri_chan == sec_chan || !sec_chan) { 106 pri_chan); 116 pri_chan, sec_chan); 137 first = pri_chan < sec_chan ? pri_chan : sec_chan; 148 pri_chan, sec_chan); 156 void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, in argument 179 check_40mhz_5g(struct hostapd_hw_modes *mode, struct wpa_scan_results *scan_res, int pri_chan, int sec_chan) argument 276 check_40mhz_2g4(struct hostapd_hw_modes *mode, struct wpa_scan_results *scan_res, int pri_chan, int sec_chan) argument [all...] |
/netbsd-current/external/bsd/wpa/dist/src/ap/ |
H A D | hw_features.c | 230 int pri_chan, sec_chan; local 232 pri_chan = iface->conf->channel; 233 sec_chan = pri_chan + iface->conf->secondary_channel * 4; 235 return allowed_ht40_channel_pair(iface->current_mode, pri_chan, 255 int pri_chan, sec_chan; local 258 pri_chan = iface->conf->channel; 259 sec_chan = pri_chan + iface->conf->secondary_channel * 4; 261 res = check_40mhz_5g(iface->current_mode, scan_res, pri_chan, sec_chan); 279 int pri_chan, sec_chan; local 281 pri_chan 736 struct hostapd_channel_data *pri_chan; local [all...] |
/netbsd-current/external/bsd/wpa/dist/wpa_supplicant/ |
H A D | wpa_supplicant.c | 2149 struct hostapd_channel_data *pri_chan = NULL, *sec_chan = NULL; local 2226 pri_chan = &mode->channels[chan_idx]; 2227 if (pri_chan->chan == channel) 2229 pri_chan = NULL; 2231 if (!pri_chan) 2235 if (pri_chan->flag & (HOSTAPD_CHAN_DISABLED | HOSTAPD_CHAN_NO_IR)) 2238 freq->channel = pri_chan->chan; 2271 if (!(pri_chan->flag & HOSTAPD_CHAN_HT40MINUS)) 2274 if (!(pri_chan->flag & HOSTAPD_CHAN_HT40PLUS)) 2289 res = check_40mhz_5g(mode, scan_res, pri_chan [all...] |
Completed in 126 milliseconds