]> git.karo-electronics.de Git - linux-beck.git/commit
cfg/mac80211: add regulatory classes IE during TDLS setup
authorArik Nemtsov <arik@wizery.com>
Wed, 18 Mar 2015 06:46:08 +0000 (08:46 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 30 Mar 2015 08:26:36 +0000 (10:26 +0200)
commita38700dd486f3def34cef47d00e2d360a04a7bc8
tree8f2deebf8c3c4b9079f844249f3c5201e989ae74
parent3a323d4e17dd5a84f6ad036e6f985d263ca973ed
cfg/mac80211: add regulatory classes IE during TDLS setup

Seems Broadcom TDLS peers (Nexus 5, Xperia Z3) refuse to allow TDLS
connection when channel-switching is supported but the regulatory
classes IE is missing from the setup request.
Add a chandef to reg-class translation function to cfg80211 and use it
to add the required IE during setup. For now add only the current
regulatory class as supported - it is enough to resolve the
compatibility issue.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/mac80211/tdls.c
net/wireless/util.c