]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: implement mac80211 TDLS channel-switch APIs
authorArik Nemtsov <arik@wizery.com>
Thu, 23 Oct 2014 15:03:10 +0000 (18:03 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:24 +0000 (08:30 +0200)
commitbf82ef54bac21419da810ce0e182799d546f0a6a
tree6de6840242b786ef8bdc0b262f13c10d46526f09
parent79c8312f5068cb46b86b364dc4da5371a45d7597
iwlwifi: mvm: implement mac80211 TDLS channel-switch APIs

Maintain a TDLS channel-switch state and update it according to
notifications from FW and timeouts. Explicitly check all state
transitions are valid.
When switching is initiated by mac80211, use a delayed work to
periodically reschedule it from iwlwifi.
Give the FW mac80211 generated TDLS channel-switch request/response
templates. It will change appropriate values (switch timings) and Tx
them at appropriate times.

Enable the channel switch wiphy capability bit when the FW supports it.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/ops.c
drivers/net/wireless/iwlwifi/mvm/sta.c
drivers/net/wireless/iwlwifi/mvm/tdls.c