diff options
author | sam <sam@FreeBSD.org> | 2005-06-06 04:04:38 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-06-06 04:04:38 +0000 |
commit | 5bab97118df0d5f84ea23868b88458025e0ef63d (patch) | |
tree | 28249a3b67979d4d2dd47b1a007558af83869d4d /sys/net80211/ieee80211_crypto_wep.c | |
parent | 64ebe3db6831d8a3e1384c0e431c98da5509ec22 (diff) | |
download | FreeBSD-src-5bab97118df0d5f84ea23868b88458025e0ef63d.zip FreeBSD-src-5bab97118df0d5f84ea23868b88458025e0ef63d.tar.gz |
add force flag to enmic/demic crypto api for use in xmit fragmentation
and h/w mic verification
Reviewed by: avatar
Diffstat (limited to 'sys/net80211/ieee80211_crypto_wep.c')
-rw-r--r-- | sys/net80211/ieee80211_crypto_wep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net80211/ieee80211_crypto_wep.c b/sys/net80211/ieee80211_crypto_wep.c index d532a2e..f392886 100644 --- a/sys/net80211/ieee80211_crypto_wep.c +++ b/sys/net80211/ieee80211_crypto_wep.c @@ -56,8 +56,8 @@ static void wep_detach(struct ieee80211_key *); static int wep_setkey(struct ieee80211_key *); static int wep_encap(struct ieee80211_key *, struct mbuf *, u_int8_t keyid); static int wep_decap(struct ieee80211_key *, struct mbuf *); -static int wep_enmic(struct ieee80211_key *, struct mbuf *); -static int wep_demic(struct ieee80211_key *, struct mbuf *); +static int wep_enmic(struct ieee80211_key *, struct mbuf *, int); +static int wep_demic(struct ieee80211_key *, struct mbuf *, int); static const struct ieee80211_cipher wep = { .ic_name = "WEP", @@ -193,7 +193,7 @@ wep_encap(struct ieee80211_key *k, struct mbuf *m, u_int8_t keyid) * Add MIC to the frame as needed. */ static int -wep_enmic(struct ieee80211_key *k, struct mbuf *m) +wep_enmic(struct ieee80211_key *k, struct mbuf *m, int force) { return 1; @@ -242,7 +242,7 @@ wep_decap(struct ieee80211_key *k, struct mbuf *m) * Verify and strip MIC from the frame. */ static int -wep_demic(struct ieee80211_key *k, struct mbuf *skb) +wep_demic(struct ieee80211_key *k, struct mbuf *skb, int force) { return 1; } |