Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2011 22:53:34 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Monthadar Al Jaberi <monthadar@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Clarification request about mesh_parse_meshpeering_action()
Message-ID:  <CAJ-VmokH3V7B6jUuroyNm4SxtOhEUMZLvy3_fVEm_xZPK%2BA08w@mail.gmail.com>
In-Reply-To: <CA%2BsBSoLCwQz%2B3seb8m=Nd-6YNd5MTxCYpJGjLJuzGScPR2vscg@mail.gmail.com>
References:  <CA%2BsBSoLCwQz%2B3seb8m=Nd-6YNd5MTxCYpJGjLJuzGScPR2vscg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It's possible it's wrong?

Poke rpaulo@, see if he has some time to look at it?


Adrian

On 25 July 2011 20:39, Monthadar Al Jaberi <monthadar@gmail.com> wrote:
> Hi,
>
> I hope someone can explain to me the following:
>
> in ieee80211_mesh.c in function mesh_parse_meshpeering_action().
> The last argument uint8_t subtype is supposed to tell the type of Mesh
> Peer Managment Action frame.
>
> The weird thing is that inside the function subtype is checked if it
> is equal to IEEE80211_MESH_PEER_LINK_CLOSE and a bit lower in the code
> it is checked if it is not equal to
> IEEE80211_ACTION_MESHPEERING_CLOSE.
>
> These two enums represent two different things. One is an
> InformationElement while the other is an Action Frame that contains
> Information elements.
>
> How come?
>
> br,
> //Monthadar Al Jaberi
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokH3V7B6jUuroyNm4SxtOhEUMZLvy3_fVEm_xZPK%2BA08w>