]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: avoid sending too many BARs
authorSara Sharon <sara.sharon@intel.com>
Tue, 1 May 2018 12:12:08 +0000 (15:12 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 31 Aug 2018 08:38:32 +0000 (11:38 +0300)
commitef842a933a993a1a04da16d4f08d7129b1b7dfda
tree53509b58f0a838070fa03f946ee7a682f1e9c3fb
parent0cef327ff15a50834aafe7887bd9d7eed0912383
iwlwifi: mvm: avoid sending too many BARs

When we receive TX response, we may release a few packets
due to a hole that was closed in the transmission window.

However, if that frame failed, we will mark all the released
frames as failed and will send multiple BARs.

This affects statistics badly, and cause unnecessary frames
transmission.

Instead, mark all the following packets as success, with the
desired result of sending a bar for the failed frame only.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c