]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: don't warn on long MPDUs when supported
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 2 Jul 2015 11:53:02 +0000 (14:53 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Aug 2015 07:11:44 +0000 (10:11 +0300)
commit0d86f913ae59f128a1a3384bc3f0e279437df94e
tree5096a9ac36987a043742b10194a29b2756acb08b
parentdd205b0544101c01f245432b2e17b8c702b39fcb
iwlwifi: pcie: don't warn on long MPDUs when supported

In iwlmvm firmwares, the Byte count written in the scheduler
byte count table is in DWORDs and not in bytes.
We should check that this value fits in the 12 bits and
the value can be either in bits of in DWORD or bytes
depending on the firmware. Check the value after the
translation to DWORDs is done (if needed).

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c