Searched refs:sec_chan (Results 1 – 6 of 6) sorted by relevance
/external/wpa_supplicant_8/src/common/ |
D | hw_features_common.c | 88 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 …]
|
D | hw_features_common.h | 24 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);
|
/external/wpa_supplicant_8/src/ap/ |
D | hw_features.c | 230 int pri_chan, sec_chan; in ieee80211n_allowed_ht40_channel_pair() local 233 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_allowed_ht40_channel_pair() 236 sec_chan); in ieee80211n_allowed_ht40_channel_pair() 255 int pri_chan, sec_chan; in ieee80211n_check_40mhz_5g() local 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 282 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_2g4() 285 sec_chan); in ieee80211n_check_40mhz_2g4()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | rrm.c | 692 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()
|
D | wnm_sta.c | 906 int sec_chan = 0, vht = 0; in wnm_nei_rep_add_bss() local 917 sec_chan = 1; in wnm_nei_rep_add_bss() 920 sec_chan = -1; in wnm_nei_rep_add_bss() 933 if (ieee80211_freq_to_channel_ext(bss->freq, sec_chan, vht, &op_class, in wnm_nei_rep_add_bss()
|
D | wpa_supplicant.c | 2145 struct hostapd_channel_data *pri_chan = NULL, *sec_chan = NULL; in ibss_mesh_setup_freq() local 2251 sec_chan = &mode->channels[i]; in ibss_mesh_setup_freq() 2252 if (sec_chan->chan == channel + ht40 * 4) in ibss_mesh_setup_freq() 2254 sec_chan = NULL; in ibss_mesh_setup_freq() 2256 if (!sec_chan) in ibss_mesh_setup_freq() 2260 if (sec_chan->flag & (HOSTAPD_CHAN_DISABLED | HOSTAPD_CHAN_NO_IR)) in ibss_mesh_setup_freq() 2283 sec_chan->chan); in ibss_mesh_setup_freq() 2294 freq->freq = hw_get_freq(mode, sec_chan->chan); in ibss_mesh_setup_freq() 2296 freq->channel = sec_chan->chan; in ibss_mesh_setup_freq()
|