Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ath/if_ath_keycache.c
Context not available. | |||||
ath_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, | ath_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, | ||||
ieee80211_keyix *keyix, ieee80211_keyix *rxkeyix) | ieee80211_keyix *keyix, ieee80211_keyix *rxkeyix) | ||||
{ | { | ||||
struct ath_softc *sc = vap->iv_ic->ic_ifp->if_softc; | struct ath_softc *sc = vap->iv_ic->ic_softc; | ||||
/* | /* | ||||
* Group key allocation must be handled specially for | * Group key allocation must be handled specially for | ||||
Context not available. | |||||
int | int | ||||
ath_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) | ath_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) | ||||
{ | { | ||||
struct ath_softc *sc = vap->iv_ic->ic_ifp->if_softc; | struct ath_softc *sc = vap->iv_ic->ic_softc; | ||||
struct ath_hal *ah = sc->sc_ah; | struct ath_hal *ah = sc->sc_ah; | ||||
const struct ieee80211_cipher *cip = k->wk_cipher; | const struct ieee80211_cipher *cip = k->wk_cipher; | ||||
u_int keyix = k->wk_keyix; | u_int keyix = k->wk_keyix; | ||||
Context not available. | |||||
ath_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k, | ath_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k, | ||||
const u_int8_t mac[IEEE80211_ADDR_LEN]) | const u_int8_t mac[IEEE80211_ADDR_LEN]) | ||||
{ | { | ||||
struct ath_softc *sc = vap->iv_ic->ic_ifp->if_softc; | struct ath_softc *sc = vap->iv_ic->ic_softc; | ||||
return ath_keyset(sc, vap, k, vap->iv_bss); | return ath_keyset(sc, vap, k, vap->iv_bss); | ||||
} | } | ||||
Context not available. |