Lines Matching refs:vap
78 monitor_vdetach(struct ieee80211vap *vap)
83 monitor_vattach(struct ieee80211vap *vap)
85 vap->iv_newstate = monitor_newstate;
86 vap->iv_input = monitor_input;
87 vap->iv_opdetach = monitor_vdetach;
91 * IEEE80211_M_MONITOR vap state machine handler.
94 monitor_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg)
96 struct ieee80211com *ic = vap->iv_ic;
101 ostate = vap->iv_state;
102 IEEE80211_DPRINTF(vap, IEEE80211_MSG_STATE, "%s: %s -> %s (%d)\n",
105 vap->iv_state = nstate; /* state transition */
109 ieee80211_create_ibss(vap, ic->ic_curchan);
119 ieee80211_node_authorize(vap->iv_bss);
131 struct ieee80211vap *vap = ni->ni_vap;
132 struct ifnet *ifp = vap->iv_ifp;
136 if (ieee80211_radiotap_active_vap(vap))
137 ieee80211_radiotap_rx(vap, m);