Lines Matching refs:ic

61 #include <dev/ic/athnreg.h>
62 #include <dev/ic/athnvar.h>
64 #include <dev/ic/arn5008reg.h>
65 #include <dev/ic/arn5008.h>
66 #include <dev/ic/arn5416.h>
67 #include <dev/ic/arn9280.h>
164 struct ieee80211com *ic = &sc->sc_ic;
238 IEEE80211_ADDR_COPY(ic->ic_myaddr, base->macAddr);
728 struct ieee80211com *ic = &sc->sc_ic;
743 tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq);
744 tap->wr_chan_flags = htole16(ic->ic_curchan->ic_flags);
788 struct ieee80211com *ic = &sc->sc_ic;
854 ieee80211_notify_michael_failure(ic, wh, 0 /* XXX: keyix */);
870 ic->ic_stats.is_rx_nobuf++;
912 ni = ieee80211_find_rxnode(ic, (struct ieee80211_frame_min *)wh);
931 ieee80211_input(ic, m, ni, rssi, rstamp);
1067 struct ieee80211com *ic = &sc->sc_ic;
1069 struct ieee80211_node *ni = ic->ic_bss;
1079 if (ic->ic_tim_mcast_pending &&
1082 ic->ic_tim_mcast_pending = 0;
1084 if (ic->ic_dtim_count == 0)
1085 ic->ic_dtim_count = ic->ic_dtim_period - 1;
1087 ic->ic_dtim_count--;
1095 m = ieee80211_beacon_alloc(ic, ic->ic_bss, &bo);
1102 htole16(ic->ic_bss->ni_txseqs[0] << IEEE80211_SEQ_SEQ_SHIFT);
1103 ic->ic_bss->ni_txseqs[0]++;
1137 ridx = (ic->ic_curmode == IEEE80211_MODE_11A) ?
1308 struct ieee80211com *ic = &sc->sc_ic;
1348 k = ieee80211_crypto_encap(ic, ni, m);
1365 qid = athn_ac2qid[ieee80211_up_to_ac(ic, tid)];
1391 (ic->ic_curmode == IEEE80211_MODE_11A) ?
1394 else if (ic->ic_fixed_rate != -1) {
1414 tap->wt_chan_freq = htole16(ic->ic_curchan->ic_freq);
1415 tap->wt_chan_flags = htole16(ic->ic_curchan->ic_flags);
1418 (ic->ic_flags & IEEE80211_F_SHPREAMBLE))
1528 if (totlen > ic->ic_rtsthreshold) {
1531 else if ((ic->ic_flags & IEEE80211_F_USEPROT) &&
1533 if (ic->ic_protmode == IEEE80211_PROT_RTSCTS)
1535 else if (ic->ic_protmode == IEEE80211_PROT_CTSONLY)
1548 (ic->ic_flags & IEEE80211_F_SHPREAMBLE))
1556 athn_rates[ridx[i]].rspridx, ic->ic_flags);
1595 if (ic->ic_flags & IEEE80211_F_SHGI)
1598 if (ic->ic_flags & IEEE80211_F_CBW40)
1613 protridx = (ic->ic_curmode == IEEE80211_MODE_11A) ?
1618 athn_rates[protridx].rspridx, ic->ic_flags);
1620 dur += athn_txtime(sc, totlen, ridx[0], ic->ic_flags);
1624 athn_rates[ridx[0]].rspridx, ic->ic_flags);
1630 (ic->ic_flags & IEEE80211_F_SHPREAMBLE))