iwlwifi: mvm: Configure agg. queue before assigning it to STA
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Tue, 5 May 2015 06:28:16 +0000 (09:28 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 28 May 2015 10:35:15 +0000 (13:35 +0300)
commitfa7878e76928a2100ca56295fc1ccfce063a842e
tree5c16c8518d8c8806b95a41b4f2522edc57988064
parentd643c432223270844c4fd8dcfaec85404d36bde7
iwlwifi: mvm: Configure agg. queue before assigning it to STA

In order to imeplement the extended VI session feature for Miracast, the FW
requires to detect the VI queue. The detection of the VI queue is done when
it is assigned to a STA with ADD_STA command, so by this time the FW expects
the queue to be already configured (mapped to VI AC and aggregation enabled).
Previously, the queue configuration was done after STA modificaton which
broke the extended VI session feature and resulted in higher latencies.
Fix this by calling iwl_mvm_enable_agg_txq before station modification.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/sta.c