]> 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)
commite1849587c79d2a2989289aa64b0f3cab74491af8
tree5096a9ac36987a043742b10194a29b2756acb08b
parentb870a47dc21eb1cedc306f72139040e5bf18af32
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