* Fwd: mesh configuration information element is wrong?
[not found] <AANLkTinHfFVr45OV3V6CT9auK3L-JfrCYUMQpeo9toTw@mail.gmail.com>
@ 2010-06-25 17:43 ` Iuri Diniz
2010-06-25 22:39 ` Iuri Diniz
2010-06-26 15:08 ` Fwd: " Jouni Malinen
0 siblings, 2 replies; 4+ messages in thread
From: Iuri Diniz @ 2010-06-25 17:43 UTC (permalink / raw)
To: linux-wireless
Hello folks,
I'm analyzing the 802.11s code and I think I've found that mesh
configuration information element has wrongs sizes.
It is not according to my copy of 802.11s draft 3.
on linux-wireless-testing/linux/include/ieee80211.h we have:
--------
/**
* struct ieee80211_meshconf_ie
*
* This structure refers to "Mesh Configuration information element"
*/
struct ieee80211_meshconf_ie {
u8 meshconf_psel;
u8 meshconf_pmetric;
u8 meshconf_congest;
u8 meshconf_synch;
u8 meshconf_auth;
u8 meshconf_form;
u8 meshconf_cap;
} __attribute__ ((packed));
----------
All fields have 1 byte, but according to
http://i45.tinypic.com/4ghhd1.jpg some of they must have 4 or 2 bytes
the function mesh.c:mesh_mgmt_ies_add uses those wrong sizes to
prepare the management frame.
Is there a new draft? or is there any reason to use those sizes?
(March 2009) Draft 3 802.11s MESH CONFIGURATION ELEMENT:
http://i45.tinypic.com/4ghhd1.jpg
--
Iuri Diniz
http://iuridiniz.com [Sou um agitador, não um advogado]
http://blog.igdium.com [Linux on Limbo]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mesh configuration information element is wrong?
2010-06-25 17:43 ` Fwd: mesh configuration information element is wrong? Iuri Diniz
@ 2010-06-25 22:39 ` Iuri Diniz
2010-06-26 15:08 ` Fwd: " Jouni Malinen
1 sibling, 0 replies; 4+ messages in thread
From: Iuri Diniz @ 2010-06-25 22:39 UTC (permalink / raw)
To: linux-wireless
On Fri, Jun 25, 2010 at 2:43 PM, Iuri Diniz <iuridiniz@gmail.com> wrote:
> I'm analyzing the 802.11s code and I think I've found that mesh
> configuration information element has wrongs sizes.
>
> It is not according to my copy of 802.11s draft 3.
It seems that (in the past) the code had that sizes I think right.
http://git.kernel.org/?p=linux/kernel/git/linville/wireless-testing.git;a=blobdiff;f=net/mac80211/mesh.c;h=c8a4f19ed13bb810a97bb5e25200a74cdd55a31c;hp=79425182c2903a70f355f1bdb34fe9fe8239fe05;hb=10f8f42ece65ba964ca14e794e5f45ad98d56cf1;hpb=8f2fda9594f083981ad54c1994863875fe680925
so I'll assume that the last draft has changed the size of this IE.
But could someone with access to the last draft draft confirm it?
Sorry for annoying you guys, I don't have the last draft.
--
Iuri Diniz
http://iuridiniz.com [Sou um agitador, não um advogado]
http://blog.igdium.com [Linux on Limbo]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fwd: mesh configuration information element is wrong?
2010-06-25 17:43 ` Fwd: mesh configuration information element is wrong? Iuri Diniz
2010-06-25 22:39 ` Iuri Diniz
@ 2010-06-26 15:08 ` Jouni Malinen
2010-06-28 12:48 ` Iuri Diniz
1 sibling, 1 reply; 4+ messages in thread
From: Jouni Malinen @ 2010-06-26 15:08 UTC (permalink / raw)
To: Iuri Diniz; +Cc: linux-wireless
On Fri, Jun 25, 2010 at 02:43:31PM -0300, Iuri Diniz wrote:
> I'm analyzing the 802.11s code and I think I've found that mesh
> configuration information element has wrongs sizes.
>
> It is not according to my copy of 802.11s draft 3.
Draft 3 is quite old..
> on linux-wireless-testing/linux/include/ieee80211.h we have:
> * struct ieee80211_meshconf_ie
> * This structure refers to "Mesh Configuration information element"
> struct ieee80211_meshconf_ie {
> u8 meshconf_psel;
> u8 meshconf_pmetric;
> u8 meshconf_congest;
> u8 meshconf_synch;
> u8 meshconf_auth;
> u8 meshconf_form;
> u8 meshconf_cap;
> } __attribute__ ((packed));
That matches otherwise with the latest draft (P802.11s/D6.0), but it
lacks one field. There is a 1-octet field "Mesh Peering Protocol
Identifier" between the _auth and _form fields in the latest draft.
--
Jouni Malinen PGP id EFC895FA
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fwd: mesh configuration information element is wrong?
2010-06-26 15:08 ` Fwd: " Jouni Malinen
@ 2010-06-28 12:48 ` Iuri Diniz
0 siblings, 0 replies; 4+ messages in thread
From: Iuri Diniz @ 2010-06-28 12:48 UTC (permalink / raw)
To: Jouni Malinen; +Cc: linux-wireless
On Sat, Jun 26, 2010 at 12:08 PM, Jouni Malinen <j@w1.fi> wrote:
> Draft 3 is quite old..
>
Do you know if I buy Draft 6, it will be full (last complete reference
about 802.11s) or will only be only a "diff" to draft 5?
--
Iuri Diniz
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-06-28 12:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <AANLkTinHfFVr45OV3V6CT9auK3L-JfrCYUMQpeo9toTw@mail.gmail.com>
2010-06-25 17:43 ` Fwd: mesh configuration information element is wrong? Iuri Diniz
2010-06-25 22:39 ` Iuri Diniz
2010-06-26 15:08 ` Fwd: " Jouni Malinen
2010-06-28 12:48 ` Iuri Diniz
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).