Lines Matching defs:vap

1030 	struct ieee80211vap *vap;
1035 vap = &uvp->vap;
1038 if (ieee80211_vap_setup(ic, vap, name, unit, opmode,
1046 uvp->newstate = vap->iv_newstate;
1047 vap->iv_newstate = uath_newstate;
1050 ieee80211_vap_attach(vap, ieee80211_media_change,
1053 return (vap);
1057 uath_vap_delete(struct ieee80211vap *vap)
1059 struct uath_vap *uvp = UATH_VAP(vap);
1061 ieee80211_vap_detach(vap);
1069 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
1086 vap ? vap->iv_myaddr : ic->ic_macaddr, IEEE80211_ADDR_LEN);
1517 struct ieee80211vap *vap = ni->ni_vap;
1531 if (ieee80211_radiotap_active_vap(vap)) {
1538 ieee80211_radiotap_tx(vap, m0);
1591 if (vap->iv_state == IEEE80211_S_AUTH ||
1592 vap->iv_state == IEEE80211_S_ASSOC ||
1593 vap->iv_state == IEEE80211_S_RUN)
1884 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
1888 ni = ieee80211_ref_node(vap->iv_bss);
1935 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
1939 ni = ieee80211_ref_node(vap->iv_bss);
1982 uath_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg)
1984 enum ieee80211_state ostate = vap->iv_state;
1987 struct ieee80211com *ic = vap->iv_ic;
1989 struct uath_vap *uvp = UATH_VAP(vap);
1992 "%s: %s -> %s\n", __func__, ieee80211_state_name[vap->iv_state],
1999 ni = ieee80211_ref_node(vap->iv_bss);
2014 uath_config(sc, CFG_USER_RTS_THRESHOLD, vap->iv_rtsthreshold);
2016 error = uath_set_keys(sc, vap);
2075 return (uvp->newstate(vap, nstate, arg));
2114 uath_set_keys(struct uath_softc *sc, struct ieee80211vap *vap)
2120 const struct ieee80211_key *wk = &vap->iv_nw_keys[i];
2128 if (vap->iv_def_txkey != IEEE80211_KEYIX_NONE) {
2129 error = uath_set_key(sc, &vap->iv_nw_keys[vap->iv_def_txkey],