aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ieee80211.h
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@gmail.com>2009-11-10 19:01:31 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-13 17:43:54 -0500
commit90a5e16992fa6105f7ebf3f29f5cf5feb1bbf7dc (patch)
treebe20480aca5f74c63371e7808e19ef7812a65204 /include/linux/ieee80211.h
parent41a2617064a8458178ccdf31ed2be2b4eade4a2a (diff)
mac80211: implement RANN processing and forwarding
Process the RANN (Root Annoucement) Frame and try to find the HWMP root station by sending a PREQ. Signed-off-by: Rui Paulo <rpaulo@gmail.com> Signed-off-by: Javier Cardona <javier@cozybit.com> Reviewed-by: Andrey Yurovsky <andrey@cozybit.com> Tested-by: Brian Cavagnolo <brian@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r--include/linux/ieee80211.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 50c684db33c7..49b1abd2fe97 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -554,6 +554,20 @@ struct ieee80211_tim_ie {
554 u8 virtual_map[1]; 554 u8 virtual_map[1];
555} __attribute__ ((packed)); 555} __attribute__ ((packed));
556 556
557/**
558 * struct ieee80211_rann_ie
559 *
560 * This structure refers to "Root Announcement information element"
561 */
562struct ieee80211_rann_ie {
563 u8 rann_flags;
564 u8 rann_hopcount;
565 u8 rann_ttl;
566 u8 rann_addr[6];
567 u32 rann_seq;
568 u32 rann_metric;
569} __attribute__ ((packed));
570
557#define WLAN_SA_QUERY_TR_ID_LEN 2 571#define WLAN_SA_QUERY_TR_ID_LEN 2
558 572
559struct ieee80211_mgmt { 573struct ieee80211_mgmt {
@@ -1070,6 +1084,7 @@ enum ieee80211_eid {
1070 WLAN_EID_PREQ = 68, 1084 WLAN_EID_PREQ = 68,
1071 WLAN_EID_PREP = 69, 1085 WLAN_EID_PREP = 69,
1072 WLAN_EID_PERR = 70, 1086 WLAN_EID_PERR = 70,
1087 WLAN_EID_RANN = 49, /* compatible with FreeBSD */
1073 /* 802.11h */ 1088 /* 802.11h */
1074 WLAN_EID_PWR_CONSTRAINT = 32, 1089 WLAN_EID_PWR_CONSTRAINT = 32,
1075 WLAN_EID_PWR_CAPABILITY = 33, 1090 WLAN_EID_PWR_CAPABILITY = 33,