]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: data path modification for TDLS peers
authorArik Nemtsov <arik@wizery.com>
Wed, 28 Sep 2011 11:12:54 +0000 (14:12 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Sep 2011 19:57:09 +0000 (15:57 -0400)
commit84a289d5de3707c0fb22f006c178e49c56990246
tree8f527535dcb145877ac8cb68f43723b05d574e6e
parentde1536edd0abc0c2d13d6099e1e6ff8d2e648545
mac80211: data path modification for TDLS peers

Mark the STA entries of enabled TDLS peers with a new "peer authorized"
flag.

During link setup, allow special TDLS setup frames through the AP, but
otherwise drop all packets destined to the peer. This is required by the
TDLS (802.11z) specification in order to prevent reordering of MSDUs
between the AP and direct paths.

When setup completes and the peer is authorized, send data directly,
bypassing the AP.

In the Rx path, allow data to be received directly from TDLS peers.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Cc: Kalyan C Gaddam <chakkal@iit.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
net/mac80211/sta_info.h
net/mac80211/tx.c
net/wireless/util.c