mac80211: prepare TDLS mgmt code for channel-switch templates
authorArik Nemtsov <arik@wizery.com>
Sun, 9 Nov 2014 16:50:16 +0000 (18:50 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Nov 2014 17:45:07 +0000 (18:45 +0100)
commitc2733905692589cc73928ffd65d26107536e80fe
tree42d0b2f51cd3c46096b85d2bb322b5297b075ec7
parent9041c1fa5722250025be9a7450622c9108088c5a
mac80211: prepare TDLS mgmt code for channel-switch templates

Split the data-generating from the Tx-sending functionality, as we do
not want to send templates to the lower driver. Also add an optional
chandef argument to the data-generating portion. It will be used for
channel-switch templates.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tdls.c