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 if (pri_chan == sec_chan || !sec_chan) in allowed_ht40_channel_pair() 100 pri_chan, sec_chan); in allowed_ht40_channel_pair() 108 chan->chan == sec_chan) { in allowed_ht40_channel_pair() 115 sec_chan); in allowed_ht40_channel_pair() 128 first = pri_chan < sec_chan ? pri_chan : sec_chan; in allowed_ht40_channel_pair() 139 pri_chan, sec_chan); in allowed_ht40_channel_pair() 147 void get_pri_sec_chan(struct wpa_scan_res *bss, int *pri_chan, int *sec_chan) in get_pri_sec_chan() argument 152 *pri_chan = *sec_chan = 0; in get_pri_sec_chan() 162 *sec_chan = *pri_chan + 4; 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 | 227 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 | 640 int sec_chan = 0, vht = 0; in wpas_get_op_chan_phy() local 653 sec_chan = 1; in wpas_get_op_chan_phy() 656 sec_chan = -1; in wpas_get_op_chan_phy() 686 if (ieee80211_freq_to_channel_ext(freq, sec_chan, vht, op_class, in wpas_get_op_chan_phy()
|
D | wnm_sta.c | 686 int sec_chan = 0, vht = 0; in wnm_nei_rep_add_bss() local 697 sec_chan = 1; in wnm_nei_rep_add_bss() 700 sec_chan = -1; in wnm_nei_rep_add_bss() 713 if (ieee80211_freq_to_channel_ext(bss->freq, sec_chan, vht, &op_class, in wnm_nei_rep_add_bss()
|
D | wpa_supplicant.c | 1903 struct hostapd_channel_data *pri_chan = NULL, *sec_chan = NULL; in ibss_mesh_setup_freq() local 2004 sec_chan = &mode->channels[i]; in ibss_mesh_setup_freq() 2005 if (sec_chan->chan == channel + ht40 * 4) in ibss_mesh_setup_freq() 2007 sec_chan = NULL; in ibss_mesh_setup_freq() 2009 if (!sec_chan) in ibss_mesh_setup_freq() 2013 if (sec_chan->flag & (HOSTAPD_CHAN_DISABLED | HOSTAPD_CHAN_NO_IR)) in ibss_mesh_setup_freq() 2038 sec_chan->chan); in ibss_mesh_setup_freq() 2049 freq->freq = hw_get_freq(mode, sec_chan->chan); in ibss_mesh_setup_freq() 2051 freq->channel = sec_chan->chan; in ibss_mesh_setup_freq()
|