if_ath_keycache.h (219185) | if_ath_keycache.h (227357) |
---|---|
1/*- 2 * Copyright (c) 2011 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 * THE POSSIBILITY OF SUCH DAMAGES. 28 * | 1/*- 2 * Copyright (c) 2011 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 * THE POSSIBILITY OF SUCH DAMAGES. 28 * |
29 * $FreeBSD: head/sys/dev/ath/if_ath_keycache.h 219185 2011-03-02 17:19:54Z adrian $ | 29 * $FreeBSD: head/sys/dev/ath/if_ath_keycache.h 227357 2011-11-08 19:25:52Z adrian $ |
30 */ 31 32#ifndef __IF_ATH_CRYPTO_H__ 33#define __IF_ATH_CRYPTO_H__ 34 35extern int ath_key_alloc(struct ieee80211vap *, struct ieee80211_key *, 36 ieee80211_keyix *, ieee80211_keyix *); 37extern int ath_key_delete(struct ieee80211vap *, const struct ieee80211_key *); 38extern int ath_key_set(struct ieee80211vap *, const struct ieee80211_key *, 39 const u_int8_t mac[IEEE80211_ADDR_LEN]); | 30 */ 31 32#ifndef __IF_ATH_CRYPTO_H__ 33#define __IF_ATH_CRYPTO_H__ 34 35extern int ath_key_alloc(struct ieee80211vap *, struct ieee80211_key *, 36 ieee80211_keyix *, ieee80211_keyix *); 37extern int ath_key_delete(struct ieee80211vap *, const struct ieee80211_key *); 38extern int ath_key_set(struct ieee80211vap *, const struct ieee80211_key *, 39 const u_int8_t mac[IEEE80211_ADDR_LEN]); |
40extern int ath_keyset(struct ath_softc *sc, const struct ieee80211_key *k, 41 struct ieee80211_node *bss); | 40extern int ath_keyset(struct ath_softc *sc, struct ieee80211vap *vap, 41 const struct ieee80211_key *k, struct ieee80211_node *bss); |
42 43#endif | 42 43#endif |