Home
last modified time | relevance | path

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

/hostap-3.7.0/src/common/
Dhw_features_common.c439 int freq1, freq2 = 0; in hostapd_set_freq_params() local
448 freq1 = ieee80211_chan_to_freq(NULL, 131, in hostapd_set_freq_params()
450 if (freq1 < 0) { in hostapd_set_freq_params()
474 data->center_freq1 = freq1; in hostapd_set_freq_params()
/hostap-3.7.0/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.py767 freq1 = int(res['freq'])
768 if freq1 < 5000:
769 raise Exception("Unexpected channel %d MHz" % freq1)
775 connect_cli(dev[0], dev[1], freq=freq1)
800 if freq1 == freq2:
/hostap-3.7.0/src/drivers/
Ddriver_nl80211_event.c659 int freq1 = 0; in calculate_chan_offset() local
666 freq1 = cf1 - 10; in calculate_chan_offset()
669 freq1 = cf1 - 30; in calculate_chan_offset()
672 freq1 = cf1 - 70; in calculate_chan_offset()
675 freq1 = cf1 - 30; in calculate_chan_offset()
686 return (abs(freq - freq1) / 20) % 2 == 0 ? 1 : -1; in calculate_chan_offset()
/hostap-3.7.0/wpa_supplicant/
Dp2p_supplicant.c6393 static int wpas_same_band(int freq1, int freq2) in wpas_same_band() argument
6398 mode1 = ieee80211_freq_to_chan(freq1, &chan1); in wpas_same_band()
9675 int freq1 = 0, freq2 = 0; in wpas_p2p_move_go_csa() local
9689 freq1 = ieee80211_chan_to_freq( in wpas_p2p_move_go_csa()
9698 if (freq1 < 0 || freq2 < 0) { in wpas_p2p_move_go_csa()
9706 csa_settings.freq_params.center_freq1 = freq1; in wpas_p2p_move_go_csa()
/hostap-3.7.0/src/ap/
Dieee802_11.c7031 int freq1; in hostapd_eid_wb_chsw_wrapper() local
7058 freq1 = hapd->cs_freq_params.center_freq1 ? in hostapd_eid_wb_chsw_wrapper()
7061 if (ieee80211_freq_to_chan(freq1, &chan1) != in hostapd_eid_wb_chsw_wrapper()