Searched refs:freq1 (Results 1 – 8 of 8) sorted by relevance
/hostap-latest/src/common/ |
D | hw_features_common.c | 522 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()
|
D | ieee802_11_common.h | 306 bool is_same_band(int freq1, int freq2);
|
D | ieee802_11_common.c | 3000 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/ |
D | test_ibss.py | 331 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))
|
D | test_p2p_channel.py | 800 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/ |
D | driver_nl80211_event.c | 1159 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/ |
D | p2p_supplicant.c | 6467 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/ |
D | ieee802_11.c | 7235 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()
|