Searched refs:sec_chan (Results 1 – 4 of 4) 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() 273 int pri_chan, sec_chan; in ieee80211n_check_40mhz_2g4() local 276 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_2g4() 279 sec_chan); in ieee80211n_check_40mhz_2g4()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_supplicant.c | 1726 struct hostapd_channel_data *pri_chan = NULL, *sec_chan = NULL; in ibss_mesh_setup_freq() local 1813 sec_chan = &mode->channels[i]; in ibss_mesh_setup_freq() 1814 if (sec_chan->chan == channel + ht40 * 4) in ibss_mesh_setup_freq() 1816 sec_chan = NULL; in ibss_mesh_setup_freq() 1818 if (!sec_chan) in ibss_mesh_setup_freq() 1822 if (sec_chan->flag & (HOSTAPD_CHAN_DISABLED | HOSTAPD_CHAN_NO_IR)) in ibss_mesh_setup_freq() 1853 sec_chan->chan); in ibss_mesh_setup_freq() 1864 freq->freq = hw_get_freq(mode, sec_chan->chan); in ibss_mesh_setup_freq() 1866 freq->channel = sec_chan->chan; in ibss_mesh_setup_freq()
|