Searched refs:pri_chan (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/common/ |
D | hw_features_common.c | 87 int allowed_ht40_channel_pair(struct hostapd_hw_modes *mode, int pri_chan, in allowed_ht40_channel_pair() argument 95 const int ht40_plus = pri_chan < sec_chan; in allowed_ht40_channel_pair() 97 p_chan = hw_get_channel_chan(mode, pri_chan, NULL); in allowed_ht40_channel_pair() 101 if (pri_chan == sec_chan || !sec_chan) { in allowed_ht40_channel_pair() 106 pri_chan); in allowed_ht40_channel_pair() 116 pri_chan, sec_chan); in allowed_ht40_channel_pair() 137 first = pri_chan < sec_chan ? pri_chan : sec_chan; in allowed_ht40_channel_pair() 148 pri_chan, sec_chan); in allowed_ht40_channel_pair() 156 void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan) in get_pri_sec_chan() argument 161 *pri_chan = *sec_chan = 0; in get_pri_sec_chan() [all …]
|
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,
|
/external/wpa_supplicant_8/src/ap/ |
D | hw_features.c | 230 int pri_chan, sec_chan; in ieee80211n_allowed_ht40_channel_pair() local 232 pri_chan = iface->conf->channel; in ieee80211n_allowed_ht40_channel_pair() 233 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_allowed_ht40_channel_pair() 235 return allowed_ht40_channel_pair(iface->current_mode, pri_chan, in ieee80211n_allowed_ht40_channel_pair() 255 int pri_chan, sec_chan; in ieee80211n_check_40mhz_5g() local 258 pri_chan = iface->conf->channel; in ieee80211n_check_40mhz_5g() 259 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_5g() 261 res = check_40mhz_5g(iface->current_mode, scan_res, pri_chan, sec_chan); in ieee80211n_check_40mhz_5g() 279 int pri_chan, sec_chan; in ieee80211n_check_40mhz_2g4() local 281 pri_chan = iface->conf->channel; in ieee80211n_check_40mhz_2g4() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_supplicant.c | 2145 struct hostapd_channel_data *pri_chan = NULL, *sec_chan = NULL; in ibss_mesh_setup_freq() local 2219 pri_chan = &mode->channels[chan_idx]; in ibss_mesh_setup_freq() 2220 if (pri_chan->chan == channel) in ibss_mesh_setup_freq() 2222 pri_chan = NULL; in ibss_mesh_setup_freq() 2224 if (!pri_chan) in ibss_mesh_setup_freq() 2228 if (pri_chan->flag & (HOSTAPD_CHAN_DISABLED | HOSTAPD_CHAN_NO_IR)) in ibss_mesh_setup_freq() 2231 freq->channel = pri_chan->chan; in ibss_mesh_setup_freq() 2264 if (!(pri_chan->flag & HOSTAPD_CHAN_HT40MINUS)) in ibss_mesh_setup_freq() 2267 if (!(pri_chan->flag & HOSTAPD_CHAN_HT40PLUS)) in ibss_mesh_setup_freq() 2282 res = check_40mhz_5g(mode, scan_res, pri_chan->chan, in ibss_mesh_setup_freq()
|