]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix AC / FIFO mapping
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 19 Dec 2013 14:50:49 +0000 (16:50 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 31 Dec 2013 17:03:42 +0000 (19:03 +0200)
commit2c70c602c246034f9ca9c5445b880a4cd6dde76b
tree4ff82d9405ddc4701b597f8c51b2cdd5f72f8af7
parentd2e69e8ff452be1a3fc890b1d7b432140732059e
iwlwifi: mvm: fix AC / FIFO mapping

The AC / fifo mapping was wrong - BE packets landed in VO
FIFO. The iwl_mvm_tx_fifo enumeration isn't in the same
order as ieee80211_ac_numbers enumeration.
Since the firmware relies on fifo / ac mapping - this led
to wrong behavior. E.g. the firmware sends beacon with the
same QoS parameters as VO, and it actually took the
parameters of BK. There are probably more severe issues.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c