Home
last modified time | relevance | path

Searched refs:hw_mode (Results 1 – 25 of 60) sorted by relevance

123

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/
Dfst_iface.c75 enum hostapd_hw_mode hw_mode; in fst_iface_get_band_id() local
78 fst_iface_get_channel_info(i, &hw_mode, &channel); in fst_iface_get_band_id()
79 return fst_hw_mode_to_band(hw_mode); in fst_iface_get_band_id()
Dfst_session.c507 enum hostapd_hw_mode hw_mode; in fst_session_handle_setup_response() local
580 fst_iface_get_channel_info(s->data.new_iface, &hw_mode, &channel); in fst_session_handle_setup_response()
582 if (fst_hw_mode_to_band(hw_mode) != res->stie.new_band_id) { in fst_session_handle_setup_response()
927 enum hostapd_hw_mode hw_mode; in fst_session_respond() local
979 fst_iface_get_channel_info(s->data.new_iface, &hw_mode, in fst_session_respond()
981 res.stie.new_band_id = fst_hw_mode_to_band(hw_mode); in fst_session_respond()
985 fst_iface_get_channel_info(s->data.old_iface, &hw_mode, in fst_session_respond()
987 res.stie.old_band_id = fst_hw_mode_to_band(hw_mode); in fst_session_respond()
1358 enum hostapd_hw_mode hw_mode; in fst_test_req_send_fst_request() local
1381 fst_iface_get_channel_info(s.data.new_iface, &hw_mode, &channel); in fst_test_req_send_fst_request()
[all …]
Dfst_iface.h75 enum hostapd_hw_mode *hw_mode, in fst_iface_get_channel_info() argument
78 i->iface_obj.get_channel_info(i->iface_obj.ctx, hw_mode, channel); in fst_iface_get_channel_info()
Dfst_group.c96 enum hostapd_hw_mode hw_mode; in fst_fill_iface_mb_ies() local
100 fst_iface_get_channel_info(f, &hw_mode, &channel); in fst_fill_iface_mb_ies()
102 fst_hw_mode_to_band(hw_mode), channel); in fst_fill_iface_mb_ies()
Dfst.h66 void (*get_channel_info)(void *ctx, enum hostapd_hw_mode *hw_mode,
Dfst_ctrl_iface.c664 enum hostapd_hw_mode hw_mode; in print_band() local
668 fst_iface_get_channel_info(iface, &hw_mode, &channel); in print_band()
671 num, band_freq(fst_hw_mode_to_band(hw_mode))); in print_band()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/
Dfst_iface.c75 enum hostapd_hw_mode hw_mode; in fst_iface_get_band_id() local
78 fst_iface_get_channel_info(i, &hw_mode, &channel); in fst_iface_get_band_id()
79 return fst_hw_mode_to_band(hw_mode); in fst_iface_get_band_id()
Dfst_session.c507 enum hostapd_hw_mode hw_mode; in fst_session_handle_setup_response() local
580 fst_iface_get_channel_info(s->data.new_iface, &hw_mode, &channel); in fst_session_handle_setup_response()
582 if (fst_hw_mode_to_band(hw_mode) != res->stie.new_band_id) { in fst_session_handle_setup_response()
927 enum hostapd_hw_mode hw_mode; in fst_session_respond() local
979 fst_iface_get_channel_info(s->data.new_iface, &hw_mode, in fst_session_respond()
981 res.stie.new_band_id = fst_hw_mode_to_band(hw_mode); in fst_session_respond()
985 fst_iface_get_channel_info(s->data.old_iface, &hw_mode, in fst_session_respond()
987 res.stie.old_band_id = fst_hw_mode_to_band(hw_mode); in fst_session_respond()
1358 enum hostapd_hw_mode hw_mode; in fst_test_req_send_fst_request() local
1381 fst_iface_get_channel_info(s.data.new_iface, &hw_mode, &channel); in fst_test_req_send_fst_request()
[all …]
Dfst_iface.h75 enum hostapd_hw_mode *hw_mode, in fst_iface_get_channel_info() argument
78 i->iface_obj.get_channel_info(i->iface_obj.ctx, hw_mode, channel); in fst_iface_get_channel_info()
Dfst_group.c96 enum hostapd_hw_mode hw_mode; in fst_fill_iface_mb_ies() local
100 fst_iface_get_channel_info(f, &hw_mode, &channel); in fst_fill_iface_mb_ies()
102 fst_hw_mode_to_band(hw_mode), channel); in fst_fill_iface_mb_ies()
Dfst.h66 void (*get_channel_info)(void *ctx, enum hostapd_hw_mode *hw_mode,
Dfst_ctrl_iface.c664 enum hostapd_hw_mode hw_mode; in print_band() local
668 fst_iface_get_channel_info(iface, &hw_mode, &channel); in print_band()
671 num, band_freq(fst_hw_mode_to_band(hw_mode))); in print_band()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_event.c1934 static enum hostapd_hw_mode get_qca_hw_mode(u8 hw_mode) in get_qca_hw_mode() argument
1936 switch (hw_mode) { in get_qca_hw_mode()
1954 u8 chan, enum hostapd_hw_mode hw_mode) in chan_to_freq() argument
1956 if (hw_mode == NUM_HOSTAPD_MODES) { in chan_to_freq()
1971 hw_mode = modes[0].mode; in chan_to_freq()
1981 if (hw_mode == HOSTAPD_MODE_IEEE80211AD) { in chan_to_freq()
2018 event.acs_selected_channels.hw_mode = NUM_HOSTAPD_MODES; in qca_nl80211_acs_select_ch()
2021 u8 hw_mode = nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_ACS_HW_MODE]); in qca_nl80211_acs_select_ch() local
2023 event.acs_selected_channels.hw_mode = get_qca_hw_mode(hw_mode); in qca_nl80211_acs_select_ch()
2024 if (event.acs_selected_channels.hw_mode == NUM_HOSTAPD_MODES || in qca_nl80211_acs_select_ch()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dap.c183 enum hostapd_hw_mode hw_mode) in wpa_supplicant_find_hw_mode() argument
189 if (wpa_s->hw.modes[i].mode == hw_mode) { in wpa_supplicant_find_hw_mode()
268 conf->hw_mode = ieee80211_freq_to_channel_ext(ssid->frequency, 0, in wpa_supplicant_conf_ap_ht()
272 if (conf->hw_mode == NUM_HOSTAPD_MODES) { in wpa_supplicant_conf_ap_ht()
293 conf->hw_mode, is_6ghz_freq(ssid->frequency)); in wpa_supplicant_conf_ap_ht()
297 if (!mode && conf->hw_mode == HOSTAPD_MODE_IEEE80211G) { in wpa_supplicant_conf_ap_ht()
298 conf->hw_mode = HOSTAPD_MODE_IEEE80211B; in wpa_supplicant_conf_ap_ht()
302 conf->hw_mode); in wpa_supplicant_conf_ap_ht()
325 conf->hw_mode == HOSTAPD_MODE_IEEE80211A) { in wpa_supplicant_conf_ap_ht()
333 conf->hw_mode == HOSTAPD_MODE_IEEE80211A, in wpa_supplicant_conf_ap_ht()
[all …]
Dscan.c2545 struct hostapd_hw_modes *hw_mode; in wpas_get_est_tpt() local
2590 hw_mode = get_mode_with_freq(wpa_s->hw.modes, wpa_s->hw.num_modes, in wpas_get_est_tpt()
2593 if (hw_mode && hw_mode->ht_capab) { in wpas_get_est_tpt()
2602 if (hw_mode && in wpas_get_est_tpt()
2603 (hw_mode->ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET)) { in wpas_get_est_tpt()
2613 if (hw_mode && hw_mode->vht_capab) { in wpas_get_est_tpt()
2659 (hw_mode->vht_capab & in wpas_get_est_tpt()
2669 if (hw_mode && hw_mode->he_capab[IEEE80211_MODE_INFRA].he_supported) { in wpas_get_est_tpt()
2679 own_he = &hw_mode->he_capab[IEEE80211_MODE_INFRA]; in wpas_get_est_tpt()
Dmesh.c220 ifmsh->conf->hw_mode, in wpas_mesh_update_freq_params()
507 conf->hw_mode = ieee80211_freq_to_chan(frequency, &conf->channel); in wpa_supplicant_mesh_init()
508 if (conf->hw_mode == NUM_HOSTAPD_MODES) { in wpa_supplicant_mesh_init()
522 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211G) { in wpa_supplicant_mesh_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dhw_features.c962 iface->conf->hw_mode != HOSTAPD_MODE_IEEE80211ANY) in hostapd_determine_mode()
978 iface->conf->hw_mode = mode->mode; in hostapd_determine_mode()
1092 if ((iface->conf->hw_mode == HOSTAPD_MODE_IEEE80211G || in hostapd_select_hw_mode()
1097 iface->conf->hw_mode = HOSTAPD_MODE_IEEE80211B; in hostapd_select_hw_mode()
1108 if (mode->mode == iface->conf->hw_mode) { in hostapd_select_hw_mode()
1124 iface->conf->hw_mode == HOSTAPD_MODE_IEEE80211ANY) { in hostapd_select_hw_mode()
1134 (int) iface->conf->hw_mode); in hostapd_select_hw_mode()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/
Dwpa_magiclink.c122 enum hostapd_hw_mode hw_mode = ieee80211_freq_to_chan(wpa_s->magic_link_freq, local
124 if (hw_mode == NUM_HOSTAPD_MODES) {
136 if (wpa_s->normal_scans && hw_mode == HOSTAPD_MODE_IEEE80211A) {
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant_lib/
Dwpa_magiclink.c122 enum hostapd_hw_mode hw_mode = ieee80211_freq_to_chan(wpa_s->magic_link_freq, local
124 if (hw_mode == NUM_HOSTAPD_MODES) {
136 if (wpa_s->normal_scans && hw_mode == HOSTAPD_MODE_IEEE80211A) {
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dhostapd.conf155 hw_mode=g
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dhostapd.conf155 hw_mode=g
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dhw_features.c883 if ((iface->conf->hw_mode == HOSTAPD_MODE_IEEE80211G || in hostapd_select_hw_mode()
888 iface->conf->hw_mode = HOSTAPD_MODE_IEEE80211B; in hostapd_select_hw_mode()
897 if (mode->mode == iface->conf->hw_mode) { in hostapd_select_hw_mode()
913 (int) iface->conf->hw_mode); in hostapd_select_hw_mode()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dmesh.c325 conf->hw_mode = ieee80211_freq_to_chan(frequency, &conf->channel); in wpa_supplicant_mesh_init()
326 if (conf->hw_mode == NUM_HOSTAPD_MODES) { in wpa_supplicant_mesh_init()
333 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211A && ssid->vht) { in wpa_supplicant_mesh_init()
364 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211G) { in wpa_supplicant_mesh_init()
Dap.c140 conf->hw_mode = ieee80211_freq_to_chan(ssid->frequency, in wpa_supplicant_conf_ap_ht()
143 if (conf->hw_mode == NUM_HOSTAPD_MODES) { in wpa_supplicant_conf_ap_ht()
168 if (wpa_s->hw.modes[i].mode == conf->hw_mode) { in wpa_supplicant_conf_ap_ht()
191 conf->hw_mode == HOSTAPD_MODE_IEEE80211A, in wpa_supplicant_conf_ap_ht()
198 conf->hw_mode == HOSTAPD_MODE_IEEE80211A && in wpa_supplicant_conf_ap_ht()
316 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211G && in wpa_supplicant_conf_ap()
892 wpa_s->ap_iface->conf->hw_mode = wpa_s->p2p_go_acs_band; in wpa_supplicant_create_ap()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_event.c1720 static enum hostapd_hw_mode get_qca_hw_mode(u8 hw_mode) in get_qca_hw_mode() argument
1722 switch (hw_mode) { in get_qca_hw_mode()
1769 u8 hw_mode = nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_ACS_HW_MODE]); in qca_nl80211_acs_select_ch() local
1771 event.acs_selected_channels.hw_mode = get_qca_hw_mode(hw_mode); in qca_nl80211_acs_select_ch()
1772 if (event.acs_selected_channels.hw_mode == NUM_HOSTAPD_MODES || in qca_nl80211_acs_select_ch()
1773 event.acs_selected_channels.hw_mode == in qca_nl80211_acs_select_ch()
1777 hw_mode); in qca_nl80211_acs_select_ch()
1789 event.acs_selected_channels.hw_mode); in qca_nl80211_acs_select_ch()

123