From: Arik Nemtsov Date: Wed, 28 Sep 2011 11:12:53 +0000 (+0300) Subject: nl80211/mac80211: allow adding TDLS peers as stations X-Git-Tag: v3.2-rc1~129^2~104^2^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07ba55d7f1d0da174c9bc545c713b44cee760197;p=pandora-kernel.git nl80211/mac80211: allow adding TDLS peers as stations When adding a TDLS peer STA, mark it with a new flag in both nl80211 and mac80211. Before adding a peer, make sure the wiphy supports TDLS and our operating mode is appropriate (managed). In addition, make sure all peers are removed on disassociation. A TDLS peer is first added just before link setup is initiated. In later setup stages we have more info about peer supported rates, capabilities, etc. This info is reported via nl80211_set_station(). Signed-off-by: Arik Nemtsov Cc: Kalyan C Gaddam Signed-off-by: John W. Linville --- Reading git-diff-tree failed