IEEE80211_S_RUN
if (ic->ic_state == IEEE80211_S_RUN)
if (ic->ic_state != IEEE80211_S_RUN ||
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
case IEEE80211_S_RUN:
sc->sc_ic.ic_state == IEEE80211_S_RUN &&
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state != IEEE80211_S_RUN) {
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state == IEEE80211_S_RUN)
if (ic->ic_state != IEEE80211_S_RUN) {
ni == ic->ic_bss && ic->ic_state == IEEE80211_S_RUN) {
ic->ic_state == IEEE80211_S_RUN) {
if (nstate == IEEE80211_S_RUN && ic->ic_opmode == IEEE80211_M_STA)
} else if (nstate == IEEE80211_S_RUN) {
if (nstate == IEEE80211_S_RUN) {
if (ic->ic_state == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
if (ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (state == IEEE80211_S_RUN) {
state == IEEE80211_S_RUN) {
if (state == IEEE80211_S_RUN) {
state == IEEE80211_S_RUN) {
if (state == IEEE80211_S_RUN) {
error = ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
ic->ic_state == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
if (ic->ic_state != IEEE80211_S_RUN)
} else if (ic->ic_state != IEEE80211_S_RUN)
sc->sc_ic.ic_state == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
case IEEE80211_S_RUN:
if (nstate == IEEE80211_S_RUN) {
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state != IEEE80211_S_RUN)
if (sc->sc_ic.ic_state == IEEE80211_S_RUN) {
if (ic->ic_state == IEEE80211_S_RUN)
if (ic->ic_state == IEEE80211_S_RUN) {
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (error == 0 && ic->ic_state == IEEE80211_S_RUN)
case IEEE80211_S_RUN:
if (ic->ic_state == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state != IEEE80211_S_RUN)
} else if (nstate == IEEE80211_S_RUN) {
} else if (nstate == IEEE80211_S_RUN) {
if (ic->ic_state != IEEE80211_S_RUN)
case IEEE80211_S_RUN:
if (ic->ic_state == IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ostate == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
if (m0 == NULL || ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ostate == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
if (ostate == IEEE80211_S_RUN) {
if (ostate == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
else if (ic->ic_state == IEEE80211_S_RUN)
if (ic->ic_state != IEEE80211_S_RUN) {
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
sc->sc_ic.ic_state == IEEE80211_S_RUN &&
return ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
case IEEE80211_S_RUN:
if (sc->sc_ic.ic_state == IEEE80211_S_RUN &&
if (sc->sc_ic.ic_state != IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
ic->ic_state == IEEE80211_S_RUN &&
} else if (ic->ic_state == IEEE80211_S_RUN) {
if (ic->ic_state == IEEE80211_S_RUN &&
if (ic->ic_state == IEEE80211_S_RUN &&
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
ic->ic_state == IEEE80211_S_RUN)
if (nstate == IEEE80211_S_RUN &&
case IEEE80211_S_RUN:
if (ic->ic_state != IEEE80211_S_RUN)
if (ic->ic_state == IEEE80211_S_RUN)
case IEEE80211_S_RUN:
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state == IEEE80211_S_RUN)
case IEEE80211_S_RUN:
if (ostate == IEEE80211_S_RUN && nstate != ostate)
case IEEE80211_S_RUN:
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state != IEEE80211_S_RUN) {
if (ic->ic_state != IEEE80211_S_RUN)
case IEEE80211_S_RUN:
if (ic->ic_state == IEEE80211_S_RUN) {
if (ic->ic_state != IEEE80211_S_RUN)
if (ic->ic_state == IEEE80211_S_RUN &&
if (ic->ic_state != IEEE80211_S_RUN)
if (ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (sc->sc_ic.ic_state != IEEE80211_S_RUN)
case IEEE80211_S_RUN:
case IEEE80211_S_RUN:
if (ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state != IEEE80211_S_RUN)
case IEEE80211_S_RUN:
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
case IEEE80211_S_RUN:
if (ostate == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
ic->ic_state != IEEE80211_S_RUN)
if (ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
case IEEE80211_S_RUN:
if (ic->ic_state != IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
if (ic->ic_state != IEEE80211_S_RUN)
ic->ic_state != IEEE80211_S_RUN)
case IEEE80211_S_RUN:
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ostate == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
if (ostate == IEEE80211_S_RUN) {
if (ostate == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
if (ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
case IEEE80211_S_RUN:
upgt_set_macfilter(sc, IEEE80211_S_RUN);
if (ic->ic_state != IEEE80211_S_RUN)
case IEEE80211_S_RUN:
if (ic->ic_state != IEEE80211_S_RUN)
if (ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ostate == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
if (sc->sc_state == IEEE80211_S_RUN) {
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state != IEEE80211_S_RUN)
if (ostate == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (sc->sc_ic.ic_state != IEEE80211_S_RUN)
case IEEE80211_S_RUN:
case IEEE80211_S_RUN:
if (ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ic->ic_state == IEEE80211_S_RUN &&
if (ic->ic_state != IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
if (ostate == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
if (ic->ic_state == IEEE80211_S_RUN)
if (ic->ic_state != IEEE80211_S_RUN ||
if (ic->ic_state != IEEE80211_S_RUN) {
ieee80211_new_state(ic, IEEE80211_S_RUN, 0);
ic->ic_state != IEEE80211_S_RUN) {
ic->ic_state != IEEE80211_S_RUN) {
ieee80211_new_state(ic, IEEE80211_S_RUN, subtype);
if (ic->ic_state != IEEE80211_S_RUN &&
error = copyout(ic->ic_state == IEEE80211_S_RUN ?
if (ic->ic_state != IEEE80211_S_RUN) {
if (ic->ic_state == IEEE80211_S_RUN)
ieee80211_new_state(ic, IEEE80211_S_RUN, -1);
} else if (ic->ic_state == IEEE80211_S_RUN) {
case IEEE80211_S_RUN:
case IEEE80211_S_RUN:
case IEEE80211_S_RUN:
case IEEE80211_S_RUN:
case IEEE80211_S_RUN:
if (ic->ic_opmode != IEEE80211_M_STA || ic->ic_state != IEEE80211_S_RUN)
case IEEE80211_S_RUN:
#define IEEE80211_S_MAX ((int)IEEE80211_S_RUN + 1)