diff options
author | James Ketrenos <jketreno@linux.intel.com> | 2005-09-21 12:58:29 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-21 23:04:57 -0400 |
commit | 42c94e43be27f8b9be9b5be491bae8af05e54dbd (patch) | |
tree | 83ec8abd98a18e1539c6b99979f11b5d6c3341bc /include | |
parent | 9ba7e0d1579485ce231594651b39c169029f5d67 (diff) |
[PATCH] ieee80211: Type-o, capbility definition for QoS, and ERP parsing
tree 3ac0dd07b9972dfd68fee47ec2152d3d378de000
parent 9ada1d971d9829c34a14d98840080b7e69fdff6b
author Mohamed Abbad <mohamed.abbas@intel.com> 1126054379 -0500
committer James Ketrenos <jketreno@linux.intel.com> 1127314340 -0500
Type-o, capbility definition for QoS, and ERP parsing
Added WLAN_CAPABILITY_QOS
Fixed type-o WLAN_CAPABILITY_OSSS_OFDM -> WLAN_CAPABILITY_DSSS_OFDM
Added ERP IE parsing to ieee80211_rx
Added handle_probe_request callback.
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ieee80211.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h index 9310b2e01d41..931737eec6c6 100644 --- a/include/net/ieee80211.h +++ b/include/net/ieee80211.h | |||
@@ -225,8 +225,9 @@ struct ieee80211_snap_hdr { | |||
225 | #define WLAN_CAPABILITY_PBCC (1<<6) | 225 | #define WLAN_CAPABILITY_PBCC (1<<6) |
226 | #define WLAN_CAPABILITY_CHANNEL_AGILITY (1<<7) | 226 | #define WLAN_CAPABILITY_CHANNEL_AGILITY (1<<7) |
227 | #define WLAN_CAPABILITY_SPECTRUM_MGMT (1<<8) | 227 | #define WLAN_CAPABILITY_SPECTRUM_MGMT (1<<8) |
228 | #define WLAN_CAPABILITY_QOS (1<<9) | ||
228 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME (1<<10) | 229 | #define WLAN_CAPABILITY_SHORT_SLOT_TIME (1<<10) |
229 | #define WLAN_CAPABILITY_OSSS_OFDM (1<<13) | 230 | #define WLAN_CAPABILITY_DSSS_OFDM (1<<13) |
230 | 231 | ||
231 | /* Status codes */ | 232 | /* Status codes */ |
232 | enum ieee80211_statuscode { | 233 | enum ieee80211_statuscode { |
@@ -756,6 +757,7 @@ struct ieee80211_network { | |||
756 | u16 beacon_interval; | 757 | u16 beacon_interval; |
757 | u16 listen_interval; | 758 | u16 listen_interval; |
758 | u16 atim_window; | 759 | u16 atim_window; |
760 | u8 erp_value; | ||
759 | u8 wpa_ie[MAX_WPA_IE_LEN]; | 761 | u8 wpa_ie[MAX_WPA_IE_LEN]; |
760 | size_t wpa_ie_len; | 762 | size_t wpa_ie_len; |
761 | u8 rsn_ie[MAX_WPA_IE_LEN]; | 763 | u8 rsn_ie[MAX_WPA_IE_LEN]; |
@@ -910,6 +912,9 @@ struct ieee80211_device { | |||
910 | int (*handle_probe_response) (struct net_device * dev, | 912 | int (*handle_probe_response) (struct net_device * dev, |
911 | struct ieee80211_probe_response * resp, | 913 | struct ieee80211_probe_response * resp, |
912 | struct ieee80211_network * network); | 914 | struct ieee80211_network * network); |
915 | int (*handle_probe_request) (struct net_device * dev, | ||
916 | struct ieee80211_probe_request * req, | ||
917 | struct ieee80211_rx_stats * stats); | ||
913 | int (*handle_assoc_response) (struct net_device * dev, | 918 | int (*handle_assoc_response) (struct net_device * dev, |
914 | struct ieee80211_assoc_response * resp, | 919 | struct ieee80211_assoc_response * resp, |
915 | struct ieee80211_network * network); | 920 | struct ieee80211_network * network); |