Lines Matching refs:current_mode
203 for (j = 0; j < iface->current_mode->num_channels; j++) {
205 &iface->current_mode->channels[j];
224 if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211A)
434 if (iface->current_mode->mode == HOSTAPD_MODE_IEEE80211A)
463 if (iface->current_mode == NULL)
476 mode = iface->current_mode;
504 if (iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G)
521 u16 hw = iface->current_mode->ht_capab;
644 for (i = 0; i < iface->current_mode->num_channels; i++) {
645 chan = &iface->current_mode->channels[i];
713 iface->current_mode->mode,
714 hostapd_hw_mode_txt(iface->current_mode->mode));
766 iface->current_mode = NULL;
770 iface->current_mode = mode;
775 if (iface->current_mode == NULL) {
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];
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];