Clarification request about mesh_parse_meshpeering_action()

Adrian Chadd adrian at freebsd.org
Thu Jul 28 14:53:36 UTC 2011


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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


More information about the freebsd-net mailing list