Lines Matching refs:hw_mode
166 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()
270 conf->hw_mode != HOSTAPD_MODE_IEEE80211A) { in wpa_supplicant_conf_ap_ht()
389 if (conf->hw_mode == HOSTAPD_MODE_IEEE80211G && in wpa_supplicant_conf_ap()
1025 wpa_s->ap_iface->conf->hw_mode = wpa_s->p2p_go_acs_band; in wpa_supplicant_create_ap()