Lines Matching refs:ic

54 ieee80211_radiotap_attach(struct ieee80211com *ic,
58 ieee80211_radiotap_attachv(ic, th, tlen, 0, tx_radiotap,
63 ieee80211_radiotap_attachv(struct ieee80211com *ic,
74 ic->ic_th = th;
82 ic_printf(ic, "%s: no tx channel, radiotap 0x%x\n", __func__,
86 ic->ic_txchan = ((uint8_t *) th) + off;
90 ic->ic_rh = rh;
98 ic_printf(ic, "%s: no rx channel, radiotap 0x%x\n", __func__,
102 ic->ic_rxchan = ((uint8_t *) rh) + off;
107 ieee80211_radiotap_detach(struct ieee80211com *ic)
114 struct ieee80211com *ic = vap->iv_ic;
115 struct ieee80211_radiotap_header *th = ic->ic_th;
117 if (th != NULL && ic->ic_rh != NULL) {
163 ieee80211_radiotap_chan_change(struct ieee80211com *ic)
165 if (ic->ic_rxchan != NULL) {
166 struct ieee80211_radiotap_header *rh = ic->ic_rh;
169 set_xchannel(ic->ic_rxchan, ic->ic_curchan);
171 set_channel(ic->ic_rxchan, ic->ic_curchan);
173 if (ic->ic_txchan != NULL) {
174 struct ieee80211_radiotap_header *th = ic->ic_th;
177 set_xchannel(ic->ic_txchan, ic->ic_curchan);
179 set_channel(ic->ic_txchan, ic->ic_curchan);
191 struct ieee80211com *ic = vap0->iv_ic;
194 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) {
209 struct ieee80211com *ic = vap0->iv_ic;
210 struct ieee80211_radiotap_header *th = ic->ic_th;
221 if (ic->ic_montaps != 0)
231 struct ieee80211com *ic = vap0->iv_ic;
232 struct ieee80211_radiotap_header *rh = ic->ic_rh;
245 if (ic->ic_montaps != 0 && (m->m_flags & M_BCAST) == 0)
255 ieee80211_radiotap_rx_all(struct ieee80211com *ic, struct mbuf *m)
257 struct ieee80211_radiotap_header *rh = ic->ic_rh;
262 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) {