aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJames Ketrenos <jketreno@linux.intel.com>2005-09-21 12:58:49 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-09-22 15:39:41 -0400
commit31b59eaee8f8ec29d8cb6ac0c8eed086689d8030 (patch)
tree5ab119a07e98aaf623dc8ce6f04f7b3403b6b971 /include/net
parent31696160c7415b5a7efa650c7f1ca5c9623f5d8f (diff)
[PATCH] ieee80211: Added handle_deauth() callback, enhanced tkip/ccmp support of varying hw/sw offload
tree de81b55e78e85997642c651ea677078d0554a14f parent c8030da8c159f8b82712172a6748a42523aea83a author James Ketrenos <jketreno@linux.intel.com> 1127104380 -0500 committer James Ketrenos <jketreno@linux.intel.com> 1127315225 -0500 Added handle_deauth() callback. Enhanced crypt_{tkip,ccmp} to support varying splits of HW/SW offload. Changed channel freq to u32 from u16. Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ieee80211.h5
-rw-r--r--include/net/ieee80211_crypt.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h
index 4a1340b8341c..220a9e3c91fa 100644
--- a/include/net/ieee80211.h
+++ b/include/net/ieee80211.h
@@ -808,7 +808,7 @@ enum {
808}; 808};
809 809
810struct ieee80211_channel { 810struct ieee80211_channel {
811 u16 freq; 811 u32 freq;
812 u8 channel; 812 u8 channel;
813 u8 flags; 813 u8 flags;
814 u8 max_power; 814 u8 max_power;
@@ -862,6 +862,7 @@ struct ieee80211_device {
862 int host_mc_decrypt; 862 int host_mc_decrypt;
863 863
864 int host_open_frag; 864 int host_open_frag;
865 int host_build_iv;
865 int ieee802_1x; /* is IEEE 802.1X used */ 866 int ieee802_1x; /* is IEEE 802.1X used */
866 867
867 /* WPA data */ 868 /* WPA data */
@@ -914,6 +915,8 @@ struct ieee80211_device {
914 /* Typical STA methods */ 915 /* Typical STA methods */
915 int (*handle_auth) (struct net_device * dev, 916 int (*handle_auth) (struct net_device * dev,
916 struct ieee80211_auth * auth); 917 struct ieee80211_auth * auth);
918 int (*handle_deauth) (struct net_device * dev,
919 struct ieee80211_auth * auth);
917 int (*handle_disassoc) (struct net_device * dev, 920 int (*handle_disassoc) (struct net_device * dev,
918 struct ieee80211_disassoc * assoc); 921 struct ieee80211_disassoc * assoc);
919 int (*handle_beacon) (struct net_device * dev, 922 int (*handle_beacon) (struct net_device * dev,
diff --git a/include/net/ieee80211_crypt.h b/include/net/ieee80211_crypt.h
index 24e4912a263a..daf3b2c6b038 100644
--- a/include/net/ieee80211_crypt.h
+++ b/include/net/ieee80211_crypt.h
@@ -36,6 +36,8 @@ struct ieee80211_crypto_ops {
36 /* deinitialize crypto context and free allocated private data */ 36 /* deinitialize crypto context and free allocated private data */
37 void (*deinit) (void *priv); 37 void (*deinit) (void *priv);
38 38
39 int (*build_iv) (struct sk_buff * skb, int hdr_len, void *priv);
40
39 /* encrypt/decrypt return < 0 on error or >= 0 on success. The return 41 /* encrypt/decrypt return < 0 on error or >= 0 on success. The return
40 * value from decrypt_mpdu is passed as the keyidx value for 42 * value from decrypt_mpdu is passed as the keyidx value for
41 * decrypt_msdu. skb must have enough head and tail room for the 43 * decrypt_msdu. skb must have enough head and tail room for the