]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: close the SP if we send fewer frames than expected in SP
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 5 Nov 2015 08:32:31 +0000 (10:32 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 13 Dec 2015 07:42:56 +0000 (09:42 +0200)
commitd19718e241ae664d0e38e80bd194ea28549f233c
treeb0f401c9a919b812d051d92b3a064669cb19845c
parentfb999d2724f2def4702fea562ccf499fa2045bc3
iwlwifi: mvm: close the SP if we send fewer frames than expected in SP

When we have holes in the BA window, there might be frames
that have been ACKed between the read and the right
pointers. This means that these frames won't be scheduled
again by the SCD and the firwmare won't see them.
This invalidates the number of frames we tell the firmware
to send. When we detect this case, tell mac80211 to close
the SP and to send an EOSP so that the firmware can be in
sync.

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