Home
last modified time | relevance | path

Searched refs:sec_chan (Results 1 – 12 of 12) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dhw_features_common.c88 int sec_chan) in allowed_ht40_channel_pair() argument
95 const int ht40_plus = pri_chan < sec_chan; in allowed_ht40_channel_pair()
101 if (pri_chan == sec_chan || !sec_chan) { in allowed_ht40_channel_pair()
110 s_chan = hw_get_channel_chan(mode, sec_chan, NULL); in allowed_ht40_channel_pair()
116 pri_chan, sec_chan); in allowed_ht40_channel_pair()
124 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 …]
Dhw_features_common.h24 int sec_chan);
25 void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan);
28 int sec_chan);
31 int sec_chan);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dhw_features_common.c119 int ht40_plus, pri_chan, sec_chan; in allowed_ht40_channel_pair() local
124 sec_chan = s_chan->chan; in allowed_ht40_channel_pair()
126 ht40_plus = pri_chan < sec_chan; in allowed_ht40_channel_pair()
128 if (pri_chan == sec_chan || !sec_chan) { in allowed_ht40_channel_pair()
139 pri_chan, p_chan->freq, sec_chan, s_chan->freq); in allowed_ht40_channel_pair()
147 sec_chan); in allowed_ht40_channel_pair()
160 first = pri_chan < sec_chan ? pri_chan : sec_chan; in allowed_ht40_channel_pair()
171 pri_chan, sec_chan); in allowed_ht40_channel_pair()
179 void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan) in get_pri_sec_chan() argument
184 *pri_chan = *sec_chan = 0; in get_pri_sec_chan()
[all …]
Dhw_features_common.h31 void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan);
34 struct hostapd_channel_data *sec_chan);
37 int sec_chan);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dhw_features.c230 int pri_chan, sec_chan; in ieee80211n_allowed_ht40_channel_pair() local
239 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_allowed_ht40_channel_pair()
242 sec_chan); in ieee80211n_allowed_ht40_channel_pair()
261 int pri_chan, sec_chan; in ieee80211n_check_40mhz_5g() local
265 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_5g()
267 res = check_40mhz_5g(iface->current_mode, scan_res, pri_chan, sec_chan); in ieee80211n_check_40mhz_5g()
285 int pri_chan, sec_chan; in ieee80211n_check_40mhz_2g4() local
288 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_2g4()
291 sec_chan); in ieee80211n_check_40mhz_2g4()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dhw_features.c275 struct hostapd_channel_data *pri_chan, *sec_chan; in ieee80211n_check_40mhz_5g() local
285 sec_chan = hw_get_channel_freq(iface->current_mode->mode, sec_freq, in ieee80211n_check_40mhz_5g()
289 res = check_40mhz_5g(scan_res, pri_chan, sec_chan); in ieee80211n_check_40mhz_5g()
307 int pri_chan, sec_chan; in ieee80211n_check_40mhz_2g4() local
310 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_2g4()
313 sec_chan); in ieee80211n_check_40mhz_2g4()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Drrm.c692 int sec_chan = 0, vht = 0; in wpas_get_op_chan_phy() local
705 sec_chan = 1; in wpas_get_op_chan_phy()
708 sec_chan = -1; in wpas_get_op_chan_phy()
738 if (ieee80211_freq_to_channel_ext(freq, sec_chan, vht, op_class, in wpas_get_op_chan_phy()
Dwnm_sta.c907 int sec_chan = 0, vht = 0; in wnm_nei_rep_add_bss() local
918 sec_chan = 1; in wnm_nei_rep_add_bss()
921 sec_chan = -1; in wnm_nei_rep_add_bss()
934 if (ieee80211_freq_to_channel_ext(bss->freq, sec_chan, vht, &op_class, in wnm_nei_rep_add_bss()
Dwpa_supplicant.c2176 struct hostapd_channel_data *pri_chan = NULL, *sec_chan = NULL; in ibss_mesh_setup_freq() local
2285 sec_chan = &mode->channels[i]; in ibss_mesh_setup_freq()
2286 if (sec_chan->chan == channel + ht40 * 4) in ibss_mesh_setup_freq()
2288 sec_chan = NULL; in ibss_mesh_setup_freq()
2290 if (!sec_chan) in ibss_mesh_setup_freq()
2294 if (sec_chan->flag & (HOSTAPD_CHAN_DISABLED | HOSTAPD_CHAN_NO_IR)) in ibss_mesh_setup_freq()
2317 sec_chan->chan); in ibss_mesh_setup_freq()
2328 freq->freq = hw_get_freq(mode, sec_chan->chan); in ibss_mesh_setup_freq()
2330 freq->channel = sec_chan->chan; in ibss_mesh_setup_freq()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Drrm.c714 int sec_chan = 0, vht = 0; in wpas_get_op_chan_phy() local
727 sec_chan = 1; in wpas_get_op_chan_phy()
730 sec_chan = -1; in wpas_get_op_chan_phy()
760 if (ieee80211_freq_to_channel_ext(freq, sec_chan, vht, op_class, in wpas_get_op_chan_phy()
Dwnm_sta.c924 int sec_chan = 0, vht = 0; in wnm_nei_rep_add_bss() local
935 sec_chan = 1; in wnm_nei_rep_add_bss()
938 sec_chan = -1; in wnm_nei_rep_add_bss()
951 if (ieee80211_freq_to_channel_ext(bss->freq, sec_chan, vht, &op_class, in wnm_nei_rep_add_bss()
Dwpa_supplicant.c2505 struct hostapd_channel_data *pri_chan = NULL, *sec_chan = NULL; in ibss_mesh_setup_freq() local
2634 sec_chan = &mode->channels[i]; in ibss_mesh_setup_freq()
2635 if (sec_chan->chan == channel + ht40 * 4) in ibss_mesh_setup_freq()
2637 sec_chan = NULL; in ibss_mesh_setup_freq()
2639 if (!sec_chan) in ibss_mesh_setup_freq()
2643 if (sec_chan->flag & (HOSTAPD_CHAN_DISABLED | HOSTAPD_CHAN_NO_IR)) in ibss_mesh_setup_freq()
2665 res = check_40mhz_5g(scan_res, pri_chan, sec_chan); in ibss_mesh_setup_freq()
2676 freq->freq = hw_get_freq(mode, sec_chan->chan); in ibss_mesh_setup_freq()
2678 freq->channel = sec_chan->chan; in ibss_mesh_setup_freq()