Home
last modified time | relevance | path

Searched refs:hw_mode (Results 1 – 25 of 30) 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/hostapd/
Dhostapd.conf155 hw_mode=g
Dconfig_file.c3080 conf->hw_mode = HOSTAPD_MODE_IEEE80211A; in hostapd_config_fill()
3082 conf->hw_mode = HOSTAPD_MODE_IEEE80211B; in hostapd_config_fill()
3084 conf->hw_mode = HOSTAPD_MODE_IEEE80211G; in hostapd_config_fill()
3086 conf->hw_mode = HOSTAPD_MODE_IEEE80211AD; in hostapd_config_fill()
3088 conf->hw_mode = HOSTAPD_MODE_IEEE80211ANY; in hostapd_config_fill()
/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/
Dmesh.c324 conf->hw_mode = ieee80211_freq_to_chan(frequency, &conf->channel); in wpa_supplicant_mesh_init()
325 if (conf->hw_mode == NUM_HOSTAPD_MODES) { in wpa_supplicant_mesh_init()
332 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211A && ssid->vht) { in wpa_supplicant_mesh_init()
363 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()
311 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211G && in wpa_supplicant_conf_ap()
887 wpa_s->ap_iface->conf->hw_mode = wpa_s->p2p_go_acs_band; in wpa_supplicant_create_ap()
Dwpa_supplicant.c2114 enum hostapd_hw_mode hw_mode; in drv_supports_vht() local
2119 hw_mode = ieee80211_freq_to_chan(ssid->frequency, &channel); in drv_supports_vht()
2120 if (hw_mode == NUM_HOSTAPD_MODES) in drv_supports_vht()
2123 if (wpa_s->hw.modes[i].mode == hw_mode) { in drv_supports_vht()
2140 enum hostapd_hw_mode hw_mode; in ibss_mesh_setup_freq() local
2192 hw_mode = ieee80211_freq_to_chan(freq->freq, &channel); in ibss_mesh_setup_freq()
2194 if (wpa_s->hw.modes[i].mode == hw_mode) { in ibss_mesh_setup_freq()
4912 enum hostapd_hw_mode *hw_mode, in wpas_fst_get_channel_info_cb() argument
4918 *hw_mode = ieee80211_freq_to_chan(wpa_s->current_bss->freq, in wpas_fst_get_channel_info_cb()
4921 *hw_mode = wpa_s->hw.modes[0].mode; in wpas_fst_get_channel_info_cb()
[all …]
Dsme.c2229 struct hostapd_hw_modes *hw_mode = NULL; in sme_sched_obss_scan() local
2252 hw_mode = &wpa_s->hw.modes[i]; in sme_sched_obss_scan()
2253 if (hw_mode->mode == HOSTAPD_MODE_IEEE80211G) in sme_sched_obss_scan()
2258 if (i == wpa_s->hw.num_modes || !hw_mode || in sme_sched_obss_scan()
2259 !(hw_mode->ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET)) in sme_sched_obss_scan()
/external/wpa_supplicant_8/src/ap/
Dhw_features.c865 if ((iface->conf->hw_mode == HOSTAPD_MODE_IEEE80211G || in hostapd_select_hw_mode()
869 iface->conf->hw_mode = HOSTAPD_MODE_IEEE80211B; in hostapd_select_hw_mode()
877 if (mode->mode == iface->conf->hw_mode) { in hostapd_select_hw_mode()
893 (int) iface->conf->hw_mode); in hostapd_select_hw_mode()
Dwps_hostapd.c345 if (hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in hapd_wps_reconfig_in_memory()
575 if (hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in hapd_wps_cred_cb()
893 return hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_wps_rf_band_cb()
895 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_wps_rf_band_cb()
1094 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_init_wps()
1096 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_init_wps()
Ddfs.c744 res = hostapd_start_dfs_cac(iface, iface->conf->hw_mode, in hostapd_handle_dfs()
960 iface->conf->hw_mode, in hostapd_dfs_start_channel_switch()
Dap_drv_ops.c871 params.hw_mode = hapd->iface->conf->hw_mode; in hostapd_drv_do_acs()
Dhostapd.c1574 enum hostapd_hw_mode *hw_mode, in fst_hostapd_get_channel_info_cb() argument
1579 *hw_mode = ieee80211_freq_to_chan(hapd->iface->freq, channel); in fst_hostapd_get_channel_info_cb()
1819 hostapd_hw_mode_txt(iface->conf->hw_mode), in hostapd_setup_interface_complete_sync()
1862 hostapd_set_freq(hapd, hapd->iconf->hw_mode, iface->freq, in hostapd_setup_interface_complete_sync()
3210 hostapd_set_freq_params(old_params, conf->hw_mode, in hostapd_change_config_freq()
Dap_config.h747 enum hostapd_hw_mode hw_mode; /* HOSTAPD_MODE_IEEE80211A, .. */ member
Dap_config.c987 conf->hw_mode == HOSTAPD_MODE_IEEE80211B) { in hostapd_config_check_bss()
Dieee802_11.c2160 if (other->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in handle_auth()
2166 else if (other->iconf->hw_mode == in handle_auth()
2169 else if (other->iconf->hw_mode == in handle_auth()
/external/u-boot/drivers/net/
Dcpsw.c217 u32 hw_mode; member
740 desc_write(desc, hw_mode, mode | len); in cpdma_submit()
758 if (desc_read(prev, hw_mode) & CPDMA_DESC_EOQ) in cpdma_submit()
776 status = desc_read(desc, hw_mode); in cpdma_process()
786 if (desc_read(desc, hw_mode) & CPDMA_DESC_OWNER) in cpdma_process()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_event.c1692 static enum hostapd_hw_mode get_qca_hw_mode(u8 hw_mode) in get_qca_hw_mode() argument
1694 switch (hw_mode) { in get_qca_hw_mode()
1741 u8 hw_mode = nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_ACS_HW_MODE]); in qca_nl80211_acs_select_ch() local
1743 event.acs_selected_channels.hw_mode = get_qca_hw_mode(hw_mode); in qca_nl80211_acs_select_ch()
1744 if (event.acs_selected_channels.hw_mode == NUM_HOSTAPD_MODES || in qca_nl80211_acs_select_ch()
1745 event.acs_selected_channels.hw_mode == in qca_nl80211_acs_select_ch()
1749 hw_mode); in qca_nl80211_acs_select_ch()
1761 event.acs_selected_channels.hw_mode); in qca_nl80211_acs_select_ch()
Ddriver.h2090 enum hostapd_hw_mode hw_mode; member
5485 enum hostapd_hw_mode hw_mode; member
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.c1419 enum hostapd_hw_mode hw_mode; in ieee80211_phy_type_by_freq() local
1422 hw_mode = ieee80211_freq_to_chan(freq, &channel); in ieee80211_phy_type_by_freq()
1424 switch (hw_mode) { in ieee80211_phy_type_by_freq()

12