diff options
author | James Ketrenos <jketreno@linux.intel.com> | 2005-09-21 12:54:43 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-21 23:02:30 -0400 |
commit | 3cdd00c5827621cd0b1bb0665aa62ef9a724297d (patch) | |
tree | 03d3a7cfa9fb645b052bac748c5398430ab2c9ca /include/net | |
parent | ee34af37c095482b9dba254b9cd7cb5e65e9a25e (diff) |
[PATCH] ieee80211: adds support for the creation of RTS packets
tree b45c9c1017fd23216bfbe71e441aed9aa297fc84
parent 04aacdd71e904656a304d923bdcf57ad3bd2b254
author Ivo van Doorn <IvDoorn@gmail.com> 1124445405 -0500
committer James Ketrenos <jketreno@linux.intel.com> 1127313029 -0500
This patch adds support for the creation of RTS packets when the
config flag CFG_IEEE80211_RTS has been set.
Signed-Off-By: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ieee80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h index ebe7e41e5eaf..5e11ccf8a763 100644 --- a/include/net/ieee80211.h +++ b/include/net/ieee80211.h | |||
@@ -690,6 +690,7 @@ enum ieee80211_state { | |||
690 | 690 | ||
691 | #define CFG_IEEE80211_RESERVE_FCS (1<<0) | 691 | #define CFG_IEEE80211_RESERVE_FCS (1<<0) |
692 | #define CFG_IEEE80211_COMPUTE_FCS (1<<1) | 692 | #define CFG_IEEE80211_COMPUTE_FCS (1<<1) |
693 | #define CFG_IEEE80211_RTS (1<<2) | ||
693 | 694 | ||
694 | struct ieee80211_device { | 695 | struct ieee80211_device { |
695 | struct net_device *dev; | 696 | struct net_device *dev; |
@@ -747,6 +748,7 @@ struct ieee80211_device { | |||
747 | struct ieee80211_frag_entry frag_cache[IEEE80211_FRAG_CACHE_LEN]; | 748 | struct ieee80211_frag_entry frag_cache[IEEE80211_FRAG_CACHE_LEN]; |
748 | unsigned int frag_next_idx; | 749 | unsigned int frag_next_idx; |
749 | u16 fts; /* Fragmentation Threshold */ | 750 | u16 fts; /* Fragmentation Threshold */ |
751 | u16 rts; /* RTS threshold */ | ||
750 | 752 | ||
751 | /* Association info */ | 753 | /* Association info */ |
752 | u8 bssid[ETH_ALEN]; | 754 | u8 bssid[ETH_ALEN]; |