]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: rs: start using LQ command color
authorGregory Greenman <gregory.greenman@intel.com>
Mon, 6 Mar 2017 09:15:41 +0000 (11:15 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 5 Jun 2017 18:45:41 +0000 (21:45 +0300)
commit35faf0be8a5f40bcaaa9ed35a14539e708b6ed5a
tree2b55085e980eb7699ff0154d88881c30611f15d3
parentf42662964b5ce5b33de16c3fc84e63bc639e06a8
iwlwifi: mvm: rs: start using LQ command color

Up until now, the driver was comparing the rate reported by the FW and
the rate of the latest LQ command to avoid processing data belonging
to the old LQ command. Recently, FW changed the meaning of the initial
rate field in tx response and it holds the actual rate (which is not
necessarily the initial rate of LQ's rate table). Use instead LQ cmd
color to be able to filter out tx responses/BA notifications which
where sent during earlier LQ commands' time frame.

This fixes some throughput degradation in noisy environments.

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw-api-rs.h
drivers/net/wireless/intel/iwlwifi/mvm/fw-api-tx.h
drivers/net/wireless/intel/iwlwifi/mvm/rs.c
drivers/net/wireless/intel/iwlwifi/mvm/rs.h
drivers/net/wireless/intel/iwlwifi/mvm/sta.h
drivers/net/wireless/intel/iwlwifi/mvm/tx.c