Lines Matching defs:state
485 static int set_dfs_state_freq(struct hostapd_iface *iface, int freq, u32 state)
495 wpa_printf(MSG_DEBUG, "set_dfs_state 0x%X for %d MHz", state, freq);
501 chan->flag |= state;
506 wpa_printf(MSG_WARNING, "Can't set DFS state for freq %d MHz", freq);
513 int cf2, u32 state)
558 ret += set_dfs_state_freq(iface, frequency, state);
791 if (iface->state != HAPD_IFACE_ENABLED)
801 * event is received in enabled state. CAC result could
804 * received during non-HAPD_IFACE_ENABLED state, make
809 if (iface->state != HAPD_IFACE_ENABLED &&
1059 if (iface->state == HAPD_IFACE_DFS && !iface->cac_started)