]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Support adding duration for prepare_tx() callback
authorIlan Peer <ilan.peer@intel.com>
Fri, 20 Apr 2018 10:49:25 +0000 (13:49 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 May 2018 09:06:10 +0000 (11:06 +0200)
commitcb86dbd31b0ac7068e77b8c51cf9212768d1eb51
treeaeae9acd7293f9fd07778f1a68ac39d8b000e33b
parentf6fb7faf81b97bf2f705fd3e58add19dc50ddb9b
mac80211: Support adding duration for prepare_tx() callback

There are specific cases, such as SAE authentication exchange, that
might require long duration to complete. For such cases, add support
for indicating to the driver the required duration of the prepare_tx()
operation, so the driver would still be able to complete the frame
exchange.

Currently, indicate the duration only for SAE authentication exchange,
as SAE authentication can take up to 2000 msec (as defined in IEEE
P802.11-REVmd D1.0 p. 3504).

As the patch modified the prepare_tx() callback API, also modify
the relevant code in iwlwifi.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/mlme.c
net/mac80211/trace.h