Lines Matching defs:hapd
50 struct hostapd_data *hapd = iface->bss[0];
55 if (hostapd_drv_none(hapd))
57 modes = hostapd_get_hw_feature_data(hapd, &num_modes, &flags);
59 hostapd_logger(hapd, NULL, HOSTAPD_MODULE_IEEE80211,
818 int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan)
822 if (!hapd->iface->current_mode)
825 for (i = 0; i < hapd->iface->current_mode->num_channels; i++) {
827 &hapd->iface->current_mode->channels[i];
836 int hostapd_hw_get_channel(struct hostapd_data *hapd, int freq)
840 if (!hapd->iface->current_mode)
843 for (i = 0; i < hapd->iface->current_mode->num_channels; i++) {
845 &hapd->iface->current_mode->channels[i];