]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: simplify mesh frame queue mapping and QoS
authorJavier Cardona <javier@cozybit.com>
Fri, 4 Nov 2011 04:11:13 +0000 (21:11 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Nov 2011 21:05:48 +0000 (16:05 -0500)
commita068dfba2a179d5a978a71bc81aa26826f2732cf
tree342a84dc8e35b73f6dc1aad2d81e91b711ce1b24
parenta6ea4bd272d2968b70fb10e96a21d7284250ffbe
mac80211: simplify mesh frame queue mapping and QoS

We only need to set the skb queue twice:

1. by the netdev, on local TX.
2. when forwarding a mesh frame.

We only need to set the qos header twice:

1. by mac80211, on local TX.
2. when putting a frame on the mpath->frame_queue

We also don't need the RA in order to set the proper queue mapping since
all mesh STAs are QoS, indicate this and do it once when the frame is
received. Also fixes an issue where the QoS header and queue mapping was not
set for unicast forwarded frames.

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_hwmp.c
net/mac80211/mesh_pathtbl.c
net/mac80211/rx.c
net/mac80211/wme.c