mac80211: add TDLS QoS param IE on setup-confirm
authorArik Nemtsov <arik@wizery.com>
Thu, 17 Jul 2014 14:14:24 +0000 (17:14 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 21 Jul 2014 10:14:04 +0000 (12:14 +0200)
commit6f7eaa47e1de30159277f91f1145a6687f13ffd9
tree128c600ddf57ed192ffd3d54abc8edadee9264c4
parent40b861a0eeb06bbfa472b456482ebf89b6886926
mac80211: add TDLS QoS param IE on setup-confirm

When TDLS QoS is supported by the the peer and the local card, add
the WMM parameter IE to the setup-confirm frame. Take the QoS settings
from the current AP, or if unsupported, use the default values from
the specification. This behavior is mandated by IEEE802.11-2012 section
10.22.4.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Liad Kaufman <liad.kaufman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
net/mac80211/tdls.c