]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: ROC: Reduce the aux roc max delay
authorMatti Gottlieb <matti.gottlieb@intel.com>
Sun, 29 Mar 2015 10:38:16 +0000 (13:38 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Apr 2015 10:12:46 +0000 (13:12 +0300)
commita55bc64c46692b2d7e37f280eb1d30e77c87a0bf
tree05315dc735fcc78dc7833378ddf3d9f8ca7254c3
parentc11539b505d395087a59090d6ea454e26f5c55a6
iwlwifi: mvm: ROC: Reduce the aux roc max delay

When user space requests mac80211 to transmit a frame off
channel, mac80211 notifies the driver, and the driver requests
a time event from the ucode, and then transmits the frame.
When the driver requests a time event, it can specify what is the allowed
max delay for starting the time event.

When the max delay is too big, this can cause a timeout in the user space,
that is waiting for the frame to be transmitted.

Currently the max delay is extremely long.

Reduce the max delay for the AUX ROC time event that is sent to the ucode.

Signed-off-by: Matti Gottlieb <matti.gottlieb@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c