Home
last modified time | relevance | path

Searched refs:hw_mode (Results 1 – 25 of 31) 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.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()
/external/wpa_supplicant_8/src/ap/
Dhw_features.c950 iface->conf->hw_mode != HOSTAPD_MODE_IEEE80211ANY) in hostapd_determine_mode()
966 iface->conf->hw_mode = mode->mode; in hostapd_determine_mode()
1080 if ((iface->conf->hw_mode == HOSTAPD_MODE_IEEE80211G || in hostapd_select_hw_mode()
1085 iface->conf->hw_mode = HOSTAPD_MODE_IEEE80211B; in hostapd_select_hw_mode()
1096 if (mode->mode == iface->conf->hw_mode) { in hostapd_select_hw_mode()
1112 iface->conf->hw_mode == HOSTAPD_MODE_IEEE80211ANY) { in hostapd_select_hw_mode()
1122 (int) iface->conf->hw_mode); in hostapd_select_hw_mode()
Dwps_hostapd.c393 if (hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in hapd_wps_reconfig_in_memory()
625 if (hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in hapd_wps_cred_cb()
947 return hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_wps_rf_band_cb()
949 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_wps_rf_band_cb()
1164 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_init_wps()
1166 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_init_wps()
Dhostapd.c1653 if (iface->conf->hw_mode != HOSTAPD_MODE_IEEE80211ANY && in configured_fixed_chan_to_freq()
1654 iface->conf->hw_mode != mode->mode) in configured_fixed_chan_to_freq()
1743 enum hostapd_hw_mode *hw_mode, in fst_hostapd_get_channel_info_cb() argument
1748 *hw_mode = ieee80211_freq_to_chan(hapd->iface->freq, channel); in fst_hostapd_get_channel_info_cb()
1994 hostapd_hw_mode_txt(iface->conf->hw_mode), in hostapd_setup_interface_complete_sync()
2037 hostapd_set_freq(hapd, hapd->iconf->hw_mode, iface->freq, in hostapd_setup_interface_complete_sync()
3422 hostapd_set_freq_params(old_params, conf->hw_mode, in hostapd_change_config_freq()
Ddfs.c842 iface, iface->conf->hw_mode, iface->freq, iface->conf->channel, in hostapd_handle_dfs()
1116 iface->conf->hw_mode, in hostapd_dfs_start_channel_switch()
Dap_drv_ops.c923 params.hw_mode = hapd->iface->conf->hw_mode; in hostapd_drv_do_acs()
Dacs.c1109 iface->conf->hw_mode != HOSTAPD_MODE_IEEE80211ANY) in acs_init()
Dap_config.h938 enum hostapd_hw_mode hw_mode; /* HOSTAPD_MODE_IEEE80211A, .. */ member
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c166 enum hostapd_hw_mode hw_mode) in wpa_supplicant_find_hw_mode() argument
172 if (wpa_s->hw.modes[i].mode == hw_mode) { in wpa_supplicant_find_hw_mode()
186 conf->hw_mode = ieee80211_freq_to_chan(ssid->frequency, in wpa_supplicant_conf_ap_ht()
189 if (conf->hw_mode == NUM_HOSTAPD_MODES) { in wpa_supplicant_conf_ap_ht()
209 mode = wpa_supplicant_find_hw_mode(wpa_s, conf->hw_mode); in wpa_supplicant_conf_ap_ht()
213 if (!mode && conf->hw_mode == HOSTAPD_MODE_IEEE80211G) { in wpa_supplicant_conf_ap_ht()
214 conf->hw_mode = HOSTAPD_MODE_IEEE80211B; in wpa_supplicant_conf_ap_ht()
218 conf->hw_mode); in wpa_supplicant_conf_ap_ht()
244 conf->hw_mode == HOSTAPD_MODE_IEEE80211A, in wpa_supplicant_conf_ap_ht()
259 conf->hw_mode == HOSTAPD_MODE_IEEE80211A && in wpa_supplicant_conf_ap_ht()
[all …]
Dmesh.c219 ifmsh->conf->hw_mode, in wpas_mesh_update_freq_params()
469 conf->hw_mode = ieee80211_freq_to_chan(frequency, &conf->channel); in wpa_supplicant_mesh_init()
470 if (conf->hw_mode == NUM_HOSTAPD_MODES) { in wpa_supplicant_mesh_init()
484 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211G) { in wpa_supplicant_mesh_init()
Dwpa_supplicant.c2372 enum hostapd_hw_mode hw_mode; in drv_supports_vht() local
2377 hw_mode = ieee80211_freq_to_chan(ssid->frequency, &channel); in drv_supports_vht()
2378 if (hw_mode == NUM_HOSTAPD_MODES) in drv_supports_vht()
2381 if (wpa_s->hw.modes[i].mode == hw_mode) { in drv_supports_vht()
2399 enum hostapd_hw_mode hw_mode; in ibss_mesh_setup_freq() local
2452 hw_mode = ieee80211_freq_to_chan(freq->freq, &channel); in ibss_mesh_setup_freq()
2454 if (wpa_s->hw.modes[i].mode == hw_mode) { in ibss_mesh_setup_freq()
2465 is_24ghz = hw_mode == HOSTAPD_MODE_IEEE80211G || in ibss_mesh_setup_freq()
2466 hw_mode == HOSTAPD_MODE_IEEE80211B; in ibss_mesh_setup_freq()
3427 enum hostapd_hw_mode hw_mode; in get_supported_edmg() local
[all …]
Dsme.c2555 struct hostapd_hw_modes *hw_mode = NULL; in sme_sched_obss_scan() local
2578 hw_mode = &wpa_s->hw.modes[i]; in sme_sched_obss_scan()
2579 if (hw_mode->mode == HOSTAPD_MODE_IEEE80211G) in sme_sched_obss_scan()
2584 if (i == wpa_s->hw.num_modes || !hw_mode || in sme_sched_obss_scan()
2585 !(hw_mode->ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET)) in sme_sched_obss_scan()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_event.c1886 event.acs_selected_channels.hw_mode = in brcm_nl80211_acs_select_ch()
1888 if ((event.acs_selected_channels.hw_mode == NUM_HOSTAPD_MODES) in brcm_nl80211_acs_select_ch()
1889 || (event.acs_selected_channels.hw_mode in brcm_nl80211_acs_select_ch()
1892 event.acs_selected_channels.hw_mode); in brcm_nl80211_acs_select_ch()
1904 event.acs_selected_channels.hw_mode); in brcm_nl80211_acs_select_ch()
1980 static enum hostapd_hw_mode get_qca_hw_mode(u8 hw_mode) in get_qca_hw_mode() argument
1982 switch (hw_mode) { in get_qca_hw_mode()
2000 u8 chan, enum hostapd_hw_mode hw_mode) in chan_to_freq() argument
2002 if (hw_mode == NUM_HOSTAPD_MODES) { in chan_to_freq()
2017 hw_mode = modes[0].mode; in chan_to_freq()
[all …]
Ddriver.h2434 enum hostapd_hw_mode hw_mode; member
5937 enum hostapd_hw_mode hw_mode; member
Ddriver_nl80211.c3191 if ((nla_put_u8(msg, BRCM_VENDOR_ATTR_ACS_HW_MODE, params->hw_mode))) { in wpa_driver_do_broadcom_acs()
3233 params->hw_mode, params->ht_enabled, params->ht40_enabled, in wpa_driver_do_broadcom_acs()
4955 enum hostapd_hw_mode hw_mode; in nl80211_put_freq_params() local
4967 hw_mode = ieee80211_freq_to_chan(freq->freq, &channel); in nl80211_put_freq_params()
4968 is_24ghz = hw_mode == HOSTAPD_MODE_IEEE80211G || in nl80211_put_freq_params()
4969 hw_mode == HOSTAPD_MODE_IEEE80211B; in nl80211_put_freq_params()
11020 static int hw_mode_to_qca_acs(enum hostapd_hw_mode hw_mode) in hw_mode_to_qca_acs() argument
11022 switch (hw_mode) { in hw_mode_to_qca_acs()
11043 enum hostapd_hw_mode hw_mode; in add_acs_ch_list() local
11067 hw_mode = ieee80211_freq_to_chan(freq, &ch_list[num_channels]); in add_acs_ch_list()
[all …]
/external/wpa_supplicant_8/hostapd/
Dhostapd.conf155 hw_mode=g
Dconfig_file.c3103 conf->hw_mode = HOSTAPD_MODE_IEEE80211A;
3105 conf->hw_mode = HOSTAPD_MODE_IEEE80211B;
3107 conf->hw_mode = HOSTAPD_MODE_IEEE80211G;
3109 conf->hw_mode = HOSTAPD_MODE_IEEE80211AD;
3111 conf->hw_mode = HOSTAPD_MODE_IEEE80211ANY;
/external/iproute2/bridge/
Dlink.c68 static const char *hw_mode[] = {"VEB", "VEPA"}; variable
93 if (mode >= ARRAY_SIZE(hw_mode)) in print_hwmode()
96 fprintf(f, "hwmode %s ", hw_mode[mode]); in print_hwmode()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/
Dp2p_iface.cpp103 enum hostapd_hw_mode hw_mode, in setBandScanFreqsList() argument
110 mode = get_mode(wpa_s->hw.modes, wpa_s->hw.num_modes, hw_mode, 0); in setBandScanFreqsList()
113 "P2P: No channels supported in this hw_mode: %d", hw_mode); in setBandScanFreqsList()
137 exclude_dfs, hw_mode); in setBandScanFreqsList()
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.c1932 enum hostapd_hw_mode hw_mode; in ieee80211_phy_type_by_freq() local
1935 hw_mode = ieee80211_freq_to_chan(freq, &channel); in ieee80211_phy_type_by_freq()
1937 switch (hw_mode) { in ieee80211_phy_type_by_freq()

12