Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/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.c526 enum hostapd_hw_mode hw_mode; in fst_session_handle_setup_response() local
599 fst_iface_get_channel_info(s->data.new_iface, &hw_mode, &channel); in fst_session_handle_setup_response()
601 if (fst_hw_mode_to_band(hw_mode) != res->stie.new_band_id) { in fst_session_handle_setup_response()
948 enum hostapd_hw_mode hw_mode; in fst_session_respond() local
1000 fst_iface_get_channel_info(s->data.new_iface, &hw_mode, in fst_session_respond()
1002 res.stie.new_band_id = fst_hw_mode_to_band(hw_mode); in fst_session_respond()
1006 fst_iface_get_channel_info(s->data.old_iface, &hw_mode, in fst_session_respond()
1008 res.stie.old_band_id = fst_hw_mode_to_band(hw_mode); in fst_session_respond()
1379 enum hostapd_hw_mode hw_mode; in fst_test_req_send_fst_request() local
1402 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.h58 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()
/external/iproute2/bridge/
Dlink.c68 static const char *hw_mode[] = {"VEB", "VEPA"}; variable
93 if (mode >= sizeof(hw_mode)/sizeof(hw_mode[0])) in print_hwmode()
96 fprintf(f, "hwmode %s ", hw_mode[mode]); in print_hwmode()
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh.c185 conf->hw_mode = HOSTAPD_MODE_IEEE80211G; in wpa_supplicant_mesh_init()
188 conf->hw_mode = ieee80211_freq_to_chan(ssid->frequency, in wpa_supplicant_mesh_init()
191 if (conf->hw_mode == NUM_HOSTAPD_MODES) { in wpa_supplicant_mesh_init()
198 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211A && ssid->vht) { in wpa_supplicant_mesh_init()
228 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211G) { in wpa_supplicant_mesh_init()
Dap.c104 conf->hw_mode = ieee80211_freq_to_chan(ssid->frequency, in wpa_supplicant_conf_ap_ht()
107 if (conf->hw_mode == NUM_HOSTAPD_MODES) { in wpa_supplicant_conf_ap_ht()
127 if (wpa_s->hw.modes[i].mode == conf->hw_mode) { in wpa_supplicant_conf_ap_ht()
144 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211A && in wpa_supplicant_conf_ap_ht()
233 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211G && in wpa_supplicant_conf_ap()
Dsme.c1458 struct hostapd_hw_modes *hw_mode = NULL; in sme_sched_obss_scan() local
1481 hw_mode = &wpa_s->hw.modes[i]; in sme_sched_obss_scan()
1482 if (hw_mode->mode == HOSTAPD_MODE_IEEE80211G) in sme_sched_obss_scan()
1487 if (i == wpa_s->hw.num_modes || !hw_mode || in sme_sched_obss_scan()
1488 !(hw_mode->ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET)) in sme_sched_obss_scan()
Dwpa_supplicant.c1777 enum hostapd_hw_mode hw_mode; in drv_supports_vht() local
1787 hw_mode = ieee80211_freq_to_chan(ssid->frequency, &channel); in drv_supports_vht()
1788 if (hw_mode == NUM_HOSTAPD_MODES) in drv_supports_vht()
1791 if (wpa_s->hw.modes[i].mode == hw_mode) { in drv_supports_vht()
1808 enum hostapd_hw_mode hw_mode; in ibss_mesh_setup_freq() local
1860 hw_mode = ieee80211_freq_to_chan(freq->freq, &channel); in ibss_mesh_setup_freq()
1862 if (wpa_s->hw.modes[i].mode == hw_mode) { in ibss_mesh_setup_freq()
3913 enum hostapd_hw_mode *hw_mode, in wpas_fst_get_channel_info_cb() argument
3919 *hw_mode = ieee80211_freq_to_chan(wpa_s->current_bss->freq, in wpas_fst_get_channel_info_cb()
3922 *hw_mode = wpa_s->hw.modes[0].mode; in wpas_fst_get_channel_info_cb()
[all …]
/external/wpa_supplicant_8/hostapd/
Dhostapd.conf136 hw_mode=g
Dconfig_file.c2607 conf->hw_mode = HOSTAPD_MODE_IEEE80211A; in hostapd_config_fill()
2609 conf->hw_mode = HOSTAPD_MODE_IEEE80211B; in hostapd_config_fill()
2611 conf->hw_mode = HOSTAPD_MODE_IEEE80211G; in hostapd_config_fill()
2613 conf->hw_mode = HOSTAPD_MODE_IEEE80211AD; in hostapd_config_fill()
2615 conf->hw_mode = HOSTAPD_MODE_IEEE80211ANY; in hostapd_config_fill()
/external/wpa_supplicant_8/src/ap/
Dhw_features.c910 if ((iface->conf->hw_mode == HOSTAPD_MODE_IEEE80211G || in hostapd_select_hw_mode()
914 iface->conf->hw_mode = HOSTAPD_MODE_IEEE80211B; in hostapd_select_hw_mode()
922 if (mode->mode == iface->conf->hw_mode) { in hostapd_select_hw_mode()
938 (int) iface->conf->hw_mode); in hostapd_select_hw_mode()
Dwps_hostapd.c351 if (hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in hapd_wps_reconfig_in_memory()
544 if (hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in hapd_wps_cred_cb()
861 return hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_wps_rf_band_cb()
863 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_wps_rf_band_cb()
1061 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_init_wps()
1063 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_init_wps()
Ddfs.c731 res = hostapd_start_dfs_cac(iface, iface->conf->hw_mode, in hostapd_handle_dfs()
891 iface->conf->hw_mode, in hostapd_dfs_start_channel_switch()
Dap_drv_ops.c763 params.hw_mode = hapd->iface->conf->hw_mode; in hostapd_drv_do_acs()
Dap_config.h604 enum hostapd_hw_mode hw_mode; /* HOSTAPD_MODE_IEEE80211A, .. */ member
Dhostapd.c1412 enum hostapd_hw_mode *hw_mode, in fst_hostapd_get_channel_info_cb() argument
1417 *hw_mode = ieee80211_freq_to_chan(hapd->iface->freq, channel); in fst_hostapd_get_channel_info_cb()
1548 hostapd_hw_mode_txt(iface->conf->hw_mode), in hostapd_setup_interface_complete_sync()
1591 hostapd_set_freq(hapd, hapd->iconf->hw_mode, iface->freq, in hostapd_setup_interface_complete_sync()
2874 hostapd_set_freq_params(old_params, conf->hw_mode, in hostapd_change_config_freq()
Dieee802_11.c1053 if (other->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in handle_auth()
1059 else if (other->iconf->hw_mode == in handle_auth()
1062 else if (other->iconf->hw_mode == in handle_auth()
Dap_config.c816 conf->hw_mode == HOSTAPD_MODE_IEEE80211B) { in hostapd_config_check_bss()
Ddrv_callbacks.c586 if (mode->mode == acs_res->hw_mode) { in hostapd_acs_channel_selected()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_event.c1545 static enum hostapd_hw_mode get_qca_hw_mode(u8 hw_mode) in get_qca_hw_mode() argument
1547 switch (hw_mode) { in get_qca_hw_mode()
1594 u8 hw_mode = nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_ACS_HW_MODE]); in qca_nl80211_acs_select_ch() local
1596 event.acs_selected_channels.hw_mode = get_qca_hw_mode(hw_mode); in qca_nl80211_acs_select_ch()
1597 if (event.acs_selected_channels.hw_mode == NUM_HOSTAPD_MODES || in qca_nl80211_acs_select_ch()
1598 event.acs_selected_channels.hw_mode == in qca_nl80211_acs_select_ch()
1602 hw_mode); in qca_nl80211_acs_select_ch()
1614 event.acs_selected_channels.hw_mode); in qca_nl80211_acs_select_ch()
Ddriver.h1680 enum hostapd_hw_mode hw_mode; member
4741 enum hostapd_hw_mode hw_mode; member
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.c1226 enum hostapd_hw_mode hw_mode; in ieee80211_phy_type_by_freq() local
1229 hw_mode = ieee80211_freq_to_chan(freq, &channel); in ieee80211_phy_type_by_freq()
1231 switch (hw_mode) { in ieee80211_phy_type_by_freq()

12