Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/hostapd/
Dhostapd.conf134 hw_mode=g
Dconfig_file.c2535 conf->hw_mode = HOSTAPD_MODE_IEEE80211A; in hostapd_config_fill()
2537 conf->hw_mode = HOSTAPD_MODE_IEEE80211B; in hostapd_config_fill()
2539 conf->hw_mode = HOSTAPD_MODE_IEEE80211G; in hostapd_config_fill()
2541 conf->hw_mode = HOSTAPD_MODE_IEEE80211AD; in hostapd_config_fill()
2543 conf->hw_mode = HOSTAPD_MODE_IEEE80211ANY; in hostapd_config_fill()
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh.c183 conf->hw_mode = HOSTAPD_MODE_IEEE80211G; in wpa_supplicant_mesh_init()
186 conf->hw_mode = ieee80211_freq_to_chan(ssid->frequency, in wpa_supplicant_mesh_init()
189 if (conf->hw_mode == NUM_HOSTAPD_MODES) { in wpa_supplicant_mesh_init()
203 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211G) { in wpa_supplicant_mesh_init()
Dap.c97 if (wpa_s->hw.modes[i].mode == conf->hw_mode) { in wpa_supplicant_conf_ap_ht()
114 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211A && in wpa_supplicant_conf_ap_ht()
159 conf->hw_mode = ieee80211_freq_to_chan(ssid->frequency, in wpa_supplicant_conf_ap()
161 if (conf->hw_mode == NUM_HOSTAPD_MODES) { in wpa_supplicant_conf_ap()
177 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211G && in wpa_supplicant_conf_ap()
Dsme.c1409 struct hostapd_hw_modes *hw_mode = NULL; in sme_sched_obss_scan() local
1432 hw_mode = &wpa_s->hw.modes[i]; in sme_sched_obss_scan()
1433 if (hw_mode->mode == HOSTAPD_MODE_IEEE80211G) in sme_sched_obss_scan()
1438 if (i == wpa_s->hw.num_modes || !hw_mode || in sme_sched_obss_scan()
1439 !(hw_mode->ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET)) in sme_sched_obss_scan()
Dwpa_supplicant.c1721 enum hostapd_hw_mode hw_mode; in ibss_mesh_setup_freq() local
1771 hw_mode = ieee80211_freq_to_chan(freq->freq, &channel); in ibss_mesh_setup_freq()
1773 if (wpa_s->hw.modes[i].mode == hw_mode) { in ibss_mesh_setup_freq()
/external/wpa_supplicant_8/src/ap/
Dhw_features.c893 if ((iface->conf->hw_mode == HOSTAPD_MODE_IEEE80211G || in hostapd_select_hw_mode()
897 iface->conf->hw_mode = HOSTAPD_MODE_IEEE80211B; in hostapd_select_hw_mode()
905 if (mode->mode == iface->conf->hw_mode) { in hostapd_select_hw_mode()
921 (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()
537 if (hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD) in hapd_wps_cred_cb()
854 return hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_wps_rf_band_cb()
856 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_wps_rf_band_cb()
1053 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211A ? in hostapd_init_wps()
1055 hapd->iconf->hw_mode == HOSTAPD_MODE_IEEE80211AD ? in hostapd_init_wps()
Ddfs.c730 res = hostapd_start_dfs_cac(iface, iface->conf->hw_mode, in hostapd_handle_dfs()
900 iface->conf->hw_mode, in hostapd_dfs_start_channel_switch()
Dap_drv_ops.c742 params.hw_mode = hapd->iface->conf->hw_mode; in hostapd_drv_do_acs()
Dap_config.h571 enum hostapd_hw_mode hw_mode; /* HOSTAPD_MODE_IEEE80211A, .. */ member
Dap_config.c781 conf->hw_mode == HOSTAPD_MODE_IEEE80211B) { in hostapd_config_check_bss()
Dhostapd.c1395 hostapd_hw_mode_txt(iface->conf->hw_mode), in hostapd_setup_interface_complete()
1438 hostapd_set_freq(hapd, hapd->iconf->hw_mode, iface->freq, in hostapd_setup_interface_complete()
Dbeacon.c1065 hostapd_set_freq_params(&freq, iconf->hw_mode, iface->freq, in ieee802_11_set_beacon()
Ddrv_callbacks.c548 if (mode->mode == acs_res->hw_mode) { in hostapd_acs_channel_selected()
Dieee802_1x.c265 switch (hapd->iface->conf->hw_mode) { in radius_mode_txt()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_event.c1494 static enum hostapd_hw_mode get_qca_hw_mode(u8 hw_mode) in get_qca_hw_mode() argument
1496 switch (hw_mode) { in get_qca_hw_mode()
1543 u8 hw_mode = nla_get_u8(tb[QCA_WLAN_VENDOR_ATTR_ACS_HW_MODE]); in qca_nl80211_acs_select_ch() local
1545 event.acs_selected_channels.hw_mode = get_qca_hw_mode(hw_mode); in qca_nl80211_acs_select_ch()
1546 if (event.acs_selected_channels.hw_mode == NUM_HOSTAPD_MODES || in qca_nl80211_acs_select_ch()
1547 event.acs_selected_channels.hw_mode == in qca_nl80211_acs_select_ch()
1551 hw_mode); in qca_nl80211_acs_select_ch()
1563 event.acs_selected_channels.hw_mode); in qca_nl80211_acs_select_ch()
Ddriver.h1588 enum hostapd_hw_mode hw_mode; member
4578 enum hostapd_hw_mode hw_mode; member
Ddriver_nl80211.c8357 static int hw_mode_to_qca_acs(enum hostapd_hw_mode hw_mode) in hw_mode_to_qca_acs() argument
8359 switch (hw_mode) { in hw_mode_to_qca_acs()
8385 mode = hw_mode_to_qca_acs(params->hw_mode); in wpa_driver_do_acs()
8413 params->hw_mode, params->ht_enabled, params->ht40_enabled, in wpa_driver_do_acs()