Searched refs:sec_chan (Results 1 – 6 of 6) sorted by relevance
/external/wpa_supplicant_8/src/common/ |
D | hw_features_common.c | 119 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 …]
|
D | hw_features_common.h | 31 void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan); 34 struct hostapd_channel_data *sec_chan); 38 int sec_chan);
|
/external/wpa_supplicant_8/src/ap/ |
D | hw_features.c | 270 struct hostapd_channel_data *pri_chan, *sec_chan; in ieee80211n_check_40mhz_5g() local 280 sec_chan = hw_get_channel_freq(iface->current_mode->mode, sec_freq, in ieee80211n_check_40mhz_5g() 284 res = check_40mhz_5g(scan_res, pri_chan, sec_chan); in ieee80211n_check_40mhz_5g() 302 int pri_chan, sec_chan; in ieee80211n_check_40mhz_2g4() local 305 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_2g4() 308 sec_chan); in ieee80211n_check_40mhz_2g4()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | rrm.c | 711 int sec_chan = 0, vht = 0; in wpas_get_op_chan_phy() local 724 sec_chan = 1; in wpas_get_op_chan_phy() 727 sec_chan = -1; in wpas_get_op_chan_phy() 757 if (ieee80211_freq_to_channel_ext(freq, sec_chan, vht, op_class, in wpas_get_op_chan_phy()
|
D | wnm_sta.c | 924 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()
|
D | wpa_supplicant.c | 2404 struct hostapd_channel_data *pri_chan = NULL, *sec_chan = NULL; in ibss_mesh_setup_freq() local 2526 sec_chan = &mode->channels[i]; in ibss_mesh_setup_freq() 2527 if (sec_chan->chan == channel + ht40 * 4) in ibss_mesh_setup_freq() 2529 sec_chan = NULL; in ibss_mesh_setup_freq() 2531 if (!sec_chan) in ibss_mesh_setup_freq() 2535 if (sec_chan->flag & (HOSTAPD_CHAN_DISABLED | HOSTAPD_CHAN_NO_IR)) in ibss_mesh_setup_freq() 2557 res = check_40mhz_5g(scan_res, pri_chan, sec_chan); in ibss_mesh_setup_freq() 2568 freq->freq = hw_get_freq(mode, sec_chan->chan); in ibss_mesh_setup_freq() 2570 freq->channel = sec_chan->chan; in ibss_mesh_setup_freq()
|