Lines Matching refs:vap
183 ath_keyset(struct ath_softc *sc, struct ieee80211vap *vap,
237 if ((vap->iv_opmode == IEEE80211_M_HOSTAP ||
238 vap->iv_opmode == IEEE80211_M_IBSS) &&
417 ath_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k,
420 struct ath_softc *sc = vap->iv_ic->ic_softc;
437 if (!(&vap->iv_nw_keys[0] <= k &&
438 k < &vap->iv_nw_keys[IEEE80211_WEP_NKID])) {
444 if (vap->iv_opmode != IEEE80211_M_HOSTAP ||
452 *keyix = *rxkeyix = k - vap->iv_nw_keys;
486 ath_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k)
488 struct ath_softc *sc = vap->iv_ic->ic_softc;
530 ath_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k)
532 struct ath_softc *sc = vap->iv_ic->ic_softc;
534 return ath_keyset(sc, vap, k, vap->iv_bss);