Home
last modified time | relevance | path

Searched refs:current_mode (Results 1 – 21 of 21) sorted by relevance

/hostap-latest/src/ap/
Dhw_features.c105 if (iface->current_mode) { in hostapd_get_hw_features()
113 mode = iface->current_mode->mode; in hostapd_get_hw_features()
114 is_6ghz = iface->current_mode->is_6ghz; in hostapd_get_hw_features()
115 iface->current_mode = NULL; in hostapd_get_hw_features()
130 iface->current_mode = feature; in hostapd_get_hw_features()
169 if (orig_mode_valid && !iface->current_mode) { in hostapd_get_hw_features()
266 if (!iface->current_mode) in ieee80211n_allowed_ht40_channel_pair()
269 p_chan = hw_get_channel_freq(iface->current_mode->mode, pri_freq, NULL, in ieee80211n_allowed_ht40_channel_pair()
273 s_chan = hw_get_channel_freq(iface->current_mode->mode, sec_freq, NULL, in ieee80211n_allowed_ht40_channel_pair()
277 return allowed_ht40_channel_pair(iface->current_mode->mode, in ieee80211n_allowed_ht40_channel_pair()
[all …]
Ddfs.c249 mode = iface->current_mode; in dfs_find_channel()
399 mode = iface->current_mode; in dfs_get_start_chan_idx()
412 mode = iface->current_mode; in dfs_get_start_chan_idx()
451 mode = iface->current_mode; in dfs_check_chans_radar()
473 mode = iface->current_mode; in dfs_check_chans_available()
502 mode = iface->current_mode; in dfs_check_chans_unavailable()
538 if (iface->current_mode == NULL) in dfs_get_valid_channel()
541 mode = iface->current_mode; in dfs_get_valid_channel()
648 mode = iface->current_mode; in set_dfs_state_freq()
653 for (i = 0; i < iface->current_mode->num_channels; i++) { in set_dfs_state_freq()
[all …]
Dieee802_11_he.c93 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_he_capab()
179 if (!hapd->iface->current_mode) in hostapd_eid_he_operation()
372 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_he_6ghz_band_cap()
433 if (!hapd->iface->current_mode) in check_valid_he_mcs()
435 ap_mcs_set = (u16 *) hapd->iface->current_mode->he_capab[opmode].mcs; in check_valid_he_mcs()
546 if (!hapd->iface->current_mode || in hostapd_get_he_twt_responder()
547 !hapd->iface->current_mode->he_capab[mode].he_supported || in hostapd_get_he_twt_responder()
551 mac_cap = hapd->iface->current_mode->he_capab[mode].mac_cap; in hostapd_get_he_twt_responder()
Dieee802_11_vht.c27 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_vht_capabilities()
190 !check_valid_vht_mcs(hapd->iface->current_mode, vht_capab)) { in copy_sta_vht_capab()
278 if (!hapd->iface->current_mode || in hostapd_eid_vendor_vht()
279 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in hostapd_eid_vendor_vht()
Dieee802_11_ht.c29 if (!hapd->iconf->ieee80211n || !hapd->iface->current_mode || in hostapd_eid_ht_capabilities()
39 cap->a_mpdu_params = hapd->iface->current_mode->a_mpdu_params; in hostapd_eid_ht_capabilities()
40 os_memcpy(cap->supported_mcs_set, hapd->iface->current_mode->mcs_set, in hostapd_eid_ht_capabilities()
185 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in is_40_allowed()
390 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in ht40_intolerant_add()
Dbeacon.c71 if (hapd->iface->current_mode == NULL || in ieee802_11_erp_info()
72 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in ieee802_11_erp_info()
106 if (hapd->iface->current_mode == NULL || in hostapd_eid_erp_info()
107 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G) in hostapd_eid_erp_info()
134 if (hapd->iface->current_mode == NULL || in hostapd_eid_pwr_constraint()
135 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211A) in hostapd_eid_pwr_constraint()
226 mode = hapd->iface->current_mode; in hostapd_fill_subband_triplets()
267 hapd->iface->current_mode == NULL) in hostapd_eid_country()
1496 hapd->iface->current_mode && in handle_probe_req()
1497 (hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G || in handle_probe_req()
[all …]
Dsta_info.c274 if (hapd->iface->current_mode && in ap_free_sta()
275 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G in ap_free_sta()
283 if (hapd->iface->current_mode && in ap_free_sta()
284 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G in ap_free_sta()
966 if (hapd->iface->current_mode && in ap_sta_handle_disassociate()
967 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_handle_disassociate()
1003 if (hapd->iface->current_mode && in ap_sta_handle_deauthenticate()
1004 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_handle_deauthenticate()
1663 if (hapd->iface->current_mode && in ap_sta_disconnect()
1664 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) { in ap_sta_disconnect()
Dap_list.c35 if (iface->current_mode == NULL || in ap_list_beacon_olbc()
36 iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G || in ap_list_beacon_olbc()
Dieee802_11_eht.c116 mode = hapd->iface->current_mode; in hostapd_eid_eht_capab_len()
144 mode = hapd->iface->current_mode; in hostapd_eid_eht_capab()
211 if (!hapd->iface->current_mode) in hostapd_eid_eht_operation()
326 mode = hapd->iface->current_mode; in check_valid_eht_mcs()
395 struct hostapd_hw_modes *c_mode = hapd->iface->current_mode; in copy_sta_eht_capab()
Dacs.c979 if (iface->current_mode && in acs_find_ideal_chan_mode()
980 iface->current_mode->mode == HOSTAPD_MODE_IEEE80211A && in acs_find_ideal_chan_mode()
1513 if (!iface->current_mode && in acs_init()
Dap_drv_ops.c652 struct hostapd_hw_modes *cmode = hapd->iface->current_mode; in hostapd_set_freq()
995 struct hostapd_hw_modes *cmode = iface->current_mode; in hostapd_start_dfs_cac()
1150 if (hapd->iface->current_mode) in hostapd_drv_do_acs()
1151 selected_mode = hapd->iface->current_mode->mode; in hostapd_drv_do_acs()
Dieee802_11.c319 if (hapd->iface->current_mode && in hostapd_own_capab_info()
320 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G && in hostapd_own_capab_info()
330 if (hapd->iface->current_mode && in hostapd_own_capab_info()
331 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211A && in hostapd_own_capab_info()
3562 if (hapd->iface->current_mode && in copy_supp_rates()
3563 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211AD) in copy_supp_rates()
5443 if (hapd->iface->current_mode && in handle_assoc()
5444 hapd->iface->current_mode->mode == in handle_assoc()
5601 if (hapd->iface->current_mode && in handle_assoc()
5602 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G) in handle_assoc()
[all …]
Ddrv_callbacks.c1144 if (!hapd->iface->current_mode) { in hostapd_event_ch_switch()
1190 switch (hapd->iface->current_mode->mode) { in hostapd_event_ch_switch()
1400 if (!hapd->iface->current_mode) { in hostapd_acs_channel_selected()
1412 hapd->iface->current_mode = mode; in hostapd_acs_channel_selected()
1416 if (!hapd->iface->current_mode) { in hostapd_acs_channel_selected()
1432 pri_chan = hw_get_channel_freq(hapd->iface->current_mode->mode, in hostapd_acs_channel_selected()
Dwmm.c67 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in wmm_calc_regulatory_limit()
Dhostapd.c695 if (iface->current_mode) in hostapd_cleanup_iface_partial()
699 iface->current_mode = NULL; in hostapd_cleanup_iface_partial()
1902 iface->current_mode = mode; in hostapd_no_ir_channel_list_updated()
1908 chan = hw_get_channel_freq(iface->current_mode->mode, in hostapd_no_ir_channel_list_updated()
1943 chan = hw_get_channel_freq(iface->current_mode->mode, in hostapd_no_ir_channel_list_updated()
2558 if (iface->current_mode) { in hostapd_setup_interface_complete_sync()
2559 if (hostapd_prepare_rates(iface, iface->current_mode)) { in hostapd_setup_interface_complete_sync()
4256 mode = hapd->iface->current_mode; in hostapd_change_config_freq()
Dhostapd.h607 struct hostapd_hw_modes *current_mode; member
Dctrl_iface_ap.c787 struct hostapd_hw_modes *mode = iface->current_mode; in hostapd_ctrl_iface_status()
/hostap-latest/tests/fuzzing/ap-mgmt/
Dap-mgmt.c112 hapd->iface->current_mode = hapd->iface->hw_features; in init_hapd()
/hostap-latest/wpa_supplicant/
Dmesh.c215 if (ifmsh->current_mode) in wpas_mesh_update_freq_params()
216 he_capab = &ifmsh->current_mode->he_capab[IEEE80211_MODE_MESH]; in wpas_mesh_update_freq_params()
Dp2p_supplicant.c9787 if (conf->hw_mode != wpa_s->ap_iface->current_mode->mode && in wpas_p2p_move_go_csa()
9788 (wpa_s->ap_iface->current_mode->mode != HOSTAPD_MODE_IEEE80211A || in wpas_p2p_move_go_csa()
9793 wpa_s->ap_iface->current_mode->mode, in wpas_p2p_move_go_csa()
10034 if (wpa_s->ap_iface->current_mode->mode == in wpas_p2p_consider_moving_one_go()
/hostap-latest/hostapd/
Dctrl_iface.c2959 hw_mode = hapd->iface->current_mode->mode; in hostapd_ctrl_iface_notify_cw_change()