linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mac80211: update mesh EID values
@ 2008-04-23 19:34 Luis Carlos Cobo
  2008-04-23 21:22 ` Tomas Winkler
  0 siblings, 1 reply; 2+ messages in thread
From: Luis Carlos Cobo @ 2008-04-23 19:34 UTC (permalink / raw)
  To: linux-wireless; +Cc: johannes

This patch updates mesh EID values, some of which where conflicting with
already-approved 11h EIDs (pointed out by Tomas Winkler). I wanted to use the
values suggested in the last available 802.11 draft (2.0) but it assigns 50 to
MESH_CONFIG, the same value than EXT_SUPP_RATES. Using the values proposed in
the draft incremented by one.

Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
---
 include/linux/ieee80211.h |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index c840bd1..0b5e03e 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -465,13 +465,19 @@ enum ieee80211_eid {
 	WLAN_EID_TS_DELAY = 43,
 	WLAN_EID_TCLAS_PROCESSING = 44,
 	WLAN_EID_QOS_CAPA = 46,
-	/* 802.11s */
-	WLAN_EID_MESH_CONFIG = 36,      /* Pending IEEE 802.11 ANA approval */
-	WLAN_EID_MESH_ID = 37,          /* Pending IEEE 802.11 ANA approval */
-	WLAN_EID_PEER_LINK = 40,	/* Pending IEEE 802.11 ANA approval */
-	WLAN_EID_PREQ = 53,		/* Pending IEEE 802.11 ANA approval */
-	WLAN_EID_PREP = 54,		/* Pending IEEE 802.11 ANA approval */
-	WLAN_EID_PERR = 55,		/* Pending IEEE 802.11 ANA approval */
+	/* 802.11s
+	 *
+	 * All mesh EID numbers are pending IEEE 802.11 ANA approval.
+	 * The numbers have been incremented from those suggested in
+	 * 802.11s/D2.0 so that MESH_CONFIG does not conflict with
+	 * EXT_SUPP_RATES.
+	 */
+	WLAN_EID_MESH_CONFIG = 51,
+	WLAN_EID_MESH_ID = 52,
+	WLAN_EID_PEER_LINK = 55,
+	WLAN_EID_PREQ = 68,
+	WLAN_EID_PREP = 69,
+	WLAN_EID_PERR = 70,
 	/* 802.11h */
 	WLAN_EID_PWR_CONSTRAINT = 32,
 	WLAN_EID_PWR_CAPABILITY = 33,
-- 
1.5.4.3




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mac80211: update mesh EID values
  2008-04-23 19:34 [PATCH] mac80211: update mesh EID values Luis Carlos Cobo
@ 2008-04-23 21:22 ` Tomas Winkler
  0 siblings, 0 replies; 2+ messages in thread
From: Tomas Winkler @ 2008-04-23 21:22 UTC (permalink / raw)
  To: Luis Carlos Cobo; +Cc: linux-wireless, johannes

On Wed, Apr 23, 2008 at 10:34 PM, Luis Carlos Cobo <luisca@cozybit.com> wrote:
> This patch updates mesh EID values, some of which where conflicting with
>  already-approved 11h EIDs (pointed out by Tomas Winkler). I wanted to use the
>  values suggested in the last available 802.11 draft (2.0) but it assigns 50 to
>  MESH_CONFIG, the same value than EXT_SUPP_RATES. Using the values proposed in
>  the draft incremented by one.
>
>  Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
>  ---
>   include/linux/ieee80211.h |   20 +++++++++++++-------
>   1 files changed, 13 insertions(+), 7 deletions(-)
>
>  diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
>  index c840bd1..0b5e03e 100644
>  --- a/include/linux/ieee80211.h
>  +++ b/include/linux/ieee80211.h
>  @@ -465,13 +465,19 @@ enum ieee80211_eid {
>         WLAN_EID_TS_DELAY = 43,
>         WLAN_EID_TCLAS_PROCESSING = 44,
>         WLAN_EID_QOS_CAPA = 46,
>  -       /* 802.11s */
>  -       WLAN_EID_MESH_CONFIG = 36,      /* Pending IEEE 802.11 ANA approval */
>  -       WLAN_EID_MESH_ID = 37,          /* Pending IEEE 802.11 ANA approval */
>  -       WLAN_EID_PEER_LINK = 40,        /* Pending IEEE 802.11 ANA approval */
>  -       WLAN_EID_PREQ = 53,             /* Pending IEEE 802.11 ANA approval */
>  -       WLAN_EID_PREP = 54,             /* Pending IEEE 802.11 ANA approval */
>  -       WLAN_EID_PERR = 55,             /* Pending IEEE 802.11 ANA approval */
>  +       /* 802.11s
>  +        *
>  +        * All mesh EID numbers are pending IEEE 802.11 ANA approval.
>  +        * The numbers have been incremented from those suggested in
>  +        * 802.11s/D2.0 so that MESH_CONFIG does not conflict with
>  +        * EXT_SUPP_RATES.
>  +        */
>  +       WLAN_EID_MESH_CONFIG = 51,
>  +       WLAN_EID_MESH_ID = 52,
>  +       WLAN_EID_PEER_LINK = 55,
>  +       WLAN_EID_PREQ = 68,
>  +       WLAN_EID_PREP = 69,
>  +       WLAN_EID_PERR = 70,
>         /* 802.11h */
>         WLAN_EID_PWR_CONSTRAINT = 32,
>         WLAN_EID_PWR_CAPABILITY = 33,
>  --
>  1.5.4.3
>
>

ACK

>  --
>  To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>  the body of a message to majordomo@vger.kernel.org
>  More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-23 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 19:34 [PATCH] mac80211: update mesh EID values Luis Carlos Cobo
2008-04-23 21:22 ` Tomas Winkler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).