Lines Matching refs:nstate
1272 ath_newstate(ieee80211com_t *ic, enum ieee80211_state nstate, int arg) in ath_newstate() argument
1293 if (nstate != IEEE80211_S_SCAN) in ath_newstate()
1297 ATH_HAL_SETLEDSTATE(ah, leds[nstate]); /* set LED */ in ath_newstate()
1299 if (nstate == IEEE80211_S_INIT) { in ath_newstate()
1311 if (nstate != IEEE80211_S_SCAN) { in ath_newstate()
1320 if (nstate == IEEE80211_S_SCAN) in ath_newstate()
1326 if (nstate == IEEE80211_S_RUN && ic->ic_opmode != IEEE80211_M_IBSS) in ath_newstate()
1337 if ((nstate == IEEE80211_S_RUN) && in ath_newstate()
1348 ath_rate_ctl_reset(asc, nstate); in ath_newstate()
1355 error = asc->asc_newstate(ic, nstate, arg); in ath_newstate()
1359 if (nstate == IEEE80211_S_RUN) { in ath_newstate()
1361 } else if ((nstate == IEEE80211_S_SCAN) && (ostate != nstate)) { in ath_newstate()