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;
newmode = IEEE80211_M_STA;
case IEEE80211_M_STA:
if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA;
if (ic->ic_opmode == IEEE80211_M_STA)
case IEEE80211_M_STA:
case IEEE80211_M_STA:
case IEEE80211_M_STA:
case IEEE80211_M_STA:
case IEEE80211_M_STA:
#define HAL_M_STA 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) {
if (ic->ic_opmode == IEEE80211_M_STA) {
ic->ic_opmode = IEEE80211_M_STA;
if (ic->ic_opmode != IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA)
else 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:
if (ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode != IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA;
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
case 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:
ic->ic_opmode = IEEE80211_M_STA;
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 ((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) {
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) {
if (ic->ic_opmode == IEEE80211_M_STA && (ni->ni_txseq & 7))
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)
if (ic->ic_opmode == IEEE80211_M_STA) {
if (ic->ic_opmode == IEEE80211_M_STA && (ni->ni_txseq & 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) {
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)
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:
rtwn_set_nettype(sc, IEEE80211_M_STA);
ic->ic_opmode = IEEE80211_M_STA; /* Default to BSS mode. */
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:
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 */
case 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) ||
else if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode == IEEE80211_M_STA && ic->ic_bss) {
if (ic->ic_opmode == IEEE80211_M_STA)
if ((ic->ic_opmode != 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 (sc->sc_ic.ic_opmode != IEEE80211_M_STA ||
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
if ((ic->ic_opmode != IEEE80211_M_STA) ||
else if (ic->ic_opmode == IEEE80211_M_STA)
else 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 && sc->sc_ic.ic_bss != NULL)
case IEEE80211_M_STA:
case IEEE80211_M_STA:
if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
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 */
ic->ic_opmode = IEEE80211_M_STA;
if (ostate == IEEE80211_S_RUN && 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 (sc->sc_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 */
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) {
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 (sc->sc_ic.ic_opmode == IEEE80211_M_STA)
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
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) {
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:
(ic->ic_opmode != IEEE80211_M_STA ||
case 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 &&
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: {
&& (ic->ic_opmode == IEEE80211_M_STA || ni != ic->ic_bss)
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)
if (ic->ic_opmode == IEEE80211_M_STA)
ic->ic_opmode == IEEE80211_M_STA &&
int auth_next = (ic->ic_opmode == IEEE80211_M_STA &&
ic->ic_opmode == IEEE80211_M_STA &&
if (ic->ic_opmode == IEEE80211_M_STA)
if (!bgscan && ic->ic_opmode == IEEE80211_M_STA)
if (ic->ic_opmode == IEEE80211_M_STA || IEEE80211_IS_MULTICAST(macaddr))
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 && ni != ic->ic_bss) &&
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)
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
case IEEE80211_M_STA:
case IEEE80211_M_STA:
if (ic->ic_opmode == IEEE80211_M_STA) {
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) {