Home
last modified time | relevance | path

Searched refs:freq1 (Results 1 – 8 of 8) sorted by relevance

/hostap-latest/src/common/
Dhw_features_common.c522 int freq1, freq2 = 0; in hostapd_set_freq_params() local
535 freq1 = ieee80211_chan_to_freq(NULL, opclass, in hostapd_set_freq_params()
537 if (freq1 < 0) { in hostapd_set_freq_params()
561 data->center_freq1 = freq1; in hostapd_set_freq_params()
Dieee802_11_common.h306 bool is_same_band(int freq1, int freq2);
Dieee802_11_common.c3000 bool is_same_band(int freq1, int freq2) in is_same_band() argument
3002 if (IS_2P4GHZ(freq1) && IS_2P4GHZ(freq2)) in is_same_band()
3005 if (IS_5GHZ(freq1) && IS_5GHZ(freq2)) in is_same_band()
3008 if (is_6ghz_freq(freq1) && is_6ghz_freq(freq2)) in is_same_band()
/hostap-latest/tests/hwsim/
Dtest_ibss.py331 freq1 = dev[1].get_status_field("freq")
332 if freq0 != "2412" or freq1 != "2412":
333 raise Exception("IBSS operating frequency not reported correctly (%s %s)" % (freq0, freq1))
Dtest_p2p_channel.py800 freq1 = int(res['freq'])
801 if freq1 < 5000:
802 raise Exception("Unexpected channel %d MHz" % freq1)
808 connect_cli(dev[0], dev[1], freq=freq1)
833 if freq1 == freq2:
/hostap-latest/src/drivers/
Ddriver_nl80211_event.c1159 int freq1 = 0; in calculate_chan_offset() local
1166 freq1 = cf1 - 10; in calculate_chan_offset()
1169 freq1 = cf1 - 30; in calculate_chan_offset()
1172 freq1 = cf1 - 70; in calculate_chan_offset()
1175 freq1 = cf1 - 30; in calculate_chan_offset()
1178 freq1 = cf1 - 150; in calculate_chan_offset()
1189 return (abs(freq - freq1) / 20) % 2 == 0 ? 1 : -1; in calculate_chan_offset()
/hostap-latest/wpa_supplicant/
Dp2p_supplicant.c6467 static int wpas_same_band(int freq1, int freq2) in wpas_same_band() argument
6472 mode1 = ieee80211_freq_to_chan(freq1, &chan1); in wpas_same_band()
9810 int freq1 = 0, freq2 = 0; in wpas_p2p_move_go_csa() local
9824 freq1 = ieee80211_chan_to_freq( in wpas_p2p_move_go_csa()
9833 if (freq1 < 0 || freq2 < 0) { in wpas_p2p_move_go_csa()
9841 csa_settings.freq_params.center_freq1 = freq1; in wpas_p2p_move_go_csa()
/hostap-latest/src/ap/
Dieee802_11.c7235 int freq1; in hostapd_eid_wb_chsw_wrapper() local
7263 freq1 = hapd->cs_freq_params.center_freq1 ? in hostapd_eid_wb_chsw_wrapper()
7266 if (ieee80211_freq_to_chan(freq1, &chan1) != in hostapd_eid_wb_chsw_wrapper()