]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/mac80211/tx.c
mac80211: Remove unused third address from mesh address extension header.
authorJavier Cardona <javier@cozybit.com>
Fri, 17 Dec 2010 01:23:34 +0000 (17:23 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 20 Dec 2010 19:49:47 +0000 (14:49 -0500)
commit61ad5394590c5c5338ab4ec50553d809a9996d50
treee10a19ac4a14124ff223c29ed18a97b624e5244b
parent3de135dba9341a3d10a7a5b9533ce11cb77d4f4d
mac80211: Remove unused third address from mesh address extension header.

The Mesh Control header only includes 0, 1 or 2 addresses. If there is
one address, it should be interpreted as Address 4.  If there are 2,
they are interpreted as Addresses 5 and 6 (Address 4 being the 4th
address in the 802.11 header).

The address extension used to hold up to 3 addresses instead of the current 2.
I'm not sure which draft version changed this, but it is very unlikely that it
will change again given the state of the approval process of this draft.  See
section 7.1.3.6.3 in current draft (8.0).

Also, note that the extra address that I'm removing was not being used, so this
change has no effect on over-the-air frame formats.  But I thought I better
remove it before someone does start using it.

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/ieee80211.h
net/mac80211/mesh.c
net/mac80211/mesh.h
net/mac80211/tx.c