IEEE80211_M_STA
return IEEE80211_M_STA;
case IEEE80211_M_STA:
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA;
case IEEE80211_M_STA:
newmode = IEEE80211_M_STA;
if (sc->sc_needmib && ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode != IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA ||
if (ic->ic_opmode == IEEE80211_M_STA ||
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA &&
if (nstate == IEEE80211_S_RUN && ic->ic_opmode == IEEE80211_M_STA)
case IEEE80211_M_STA:
ic->ic_opmode = IEEE80211_M_STA;
KASSERTMSG(ic->ic_opmode == IEEE80211_M_STA,
if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
if (ic->ic_opmode != IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode != IEEE80211_M_STA) {
case IEEE80211_M_STA:
case IEEE80211_M_STA:
if (ic->ic_opmode != IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA;
ic->ic_opmode = IEEE80211_M_STA;
case IEEE80211_M_STA:
newmode = IEEE80211_M_STA;
case IEEE80211_M_STA:
ic->ic_opmode = IEEE80211_M_STA;
case IEEE80211_M_STA:
ic->ic_opmode = IEEE80211_M_STA;
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA)
case IEEE80211_M_STA:
ic->ic_opmode = IEEE80211_M_STA;
preload = (ic->ic_opmode == IEEE80211_M_STA) ? 384 : 1024;
if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
if (ic->ic_opmode == IEEE80211_M_STA && (ni->ni_txseqs[tid] & 7))
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
if (ic->ic_opmode != IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA) {
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
if (sc->sc_ic.ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_curmode != IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA)
case IEEE80211_M_STA:
case IEEE80211_M_STA:
ic->ic_opmode = IEEE80211_M_STA;
case IEEE80211_M_STA:
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA;
case IEEE80211_M_STA:
if (ic->ic_opmode == IEEE80211_M_STA &&
case IEEE80211_M_STA:
if (ic->ic_opmode == IEEE80211_M_STA &&
case IEEE80211_M_STA:
if (ic->ic_opmode == IEEE80211_M_STA)
case IEEE80211_M_STA:
ic->ic_opmode = IEEE80211_M_STA;
case IEEE80211_M_STA:
if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
case IEEE80211_M_STA:
else if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode == IEEE80211_M_STA && ic->ic_bss) {
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
if (ic->ic_opmode == IEEE80211_M_STA)
case IEEE80211_M_STA:
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
case IEEE80211_M_STA:
case IEEE80211_M_STA:
ic->ic_opmode = IEEE80211_M_STA; /* Default to BSS mode. */
if (ic->ic_opmode != IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA)
case IEEE80211_M_STA:
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
if (ic->ic_opmode != IEEE80211_M_STA) {
ic->ic_opmode = IEEE80211_M_STA;
case IEEE80211_M_STA:
ic->ic_opmode = IEEE80211_M_STA;
case IEEE80211_M_STA:
if (ic->ic_opmode != IEEE80211_M_STA) {
case IEEE80211_M_STA:
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
if (ic->ic_opmode != IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA) {
if (sc->sc_ic.ic_opmode == IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
ic->ic_opmode = IEEE80211_M_STA;
if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
if (ic->ic_opmode == IEEE80211_M_STA &&
case IEEE80211_M_STA:
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
case IEEE80211_M_STA:
case IEEE80211_M_STA:
case IEEE80211_M_STA:
ic->ic_opmode = IEEE80211_M_STA; /* Default to BSS mode. */
case IEEE80211_M_STA:
if (ic->ic_opmode != IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
if (ic->ic_opmode == IEEE80211_M_STA) {
newopmode = IEEE80211_M_STA;
case IEEE80211_M_STA:
} else if (ic->ic_opmode == IEEE80211_M_STA) {
case IEEE80211_M_STA:
case IEEE80211_M_STA:
case IEEE80211_M_STA:
} else if (ic->ic_opmode == IEEE80211_M_STA) {
case IEEE80211_M_STA:
(ic->ic_opmode == IEEE80211_M_STA && ni->ni_associd) ||
if (ic->ic_opmode == IEEE80211_M_STA && ni->ni_associd != 0 &&
if (ic->ic_opmode == IEEE80211_M_STA ||
if (ic->ic_opmode != IEEE80211_M_STA ||
case IEEE80211_M_STA:
case IEEE80211_M_STA:
if (ic->ic_opmode == IEEE80211_M_STA)
case IEEE80211_M_STA:
if (HAS_SEQ(type) && (ic->ic_opmode != IEEE80211_M_STA ||
if (ic->ic_opmode != IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_opmode != IEEE80211_M_STA)
case IEEE80211_M_STA:
if (ic->ic_opmode != IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA)
case IEEE80211_M_STA:
if (ic->ic_opmode == IEEE80211_M_STA ||
if (ic->ic_opmode == IEEE80211_M_STA ||
if (ic->ic_opmode == IEEE80211_M_STA || IEEE80211_IS_MULTICAST(macaddr))
case IEEE80211_M_STA: /* use stats from associated ap */
if (ic->ic_opmode == IEEE80211_M_STA)
case IEEE80211_M_STA:
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA ||
case IEEE80211_M_STA:
(ic->ic_opmode == IEEE80211_M_STA ?
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode == IEEE80211_M_STA ?
if (ic->ic_opmode != IEEE80211_M_STA || ic->ic_state != IEEE80211_S_RUN)
case IEEE80211_M_STA:
case IEEE80211_M_STA: