]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: fix reorder buffer for 9000 devices
authorSara Sharon <sara.sharon@intel.com>
Mon, 4 Sep 2017 17:27:04 +0000 (20:27 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 8 Sep 2017 08:52:51 +0000 (11:52 +0300)
commitf4096c5bfcae8f774e6a321e3df7a703937530f6
tree9145260d37fff3b2e87ca8baa7049131c84433d5
parent4cf3c34cf57722843290116cfb8960acac10b04e
iwlwifi: mvm: fix reorder buffer for 9000 devices

The condition to check if reorder buffer ran out of
space is faulty, as it takes into account only the
NSSN.
In case the head SN was too far behind the reorder
buffer should move forward, regardless of the NSSN
status.
This caused the driver to release packets out of order
in some scenarios.

Fixes: 543502cec830 ("iwlwifi: mvm: add reorder buffer per queue")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c