linux/drivers/net/wireless/intel/iwlwifi/pcie
Emmanuel Grumbach 39fff75993 iwlwifi: pcie: don't init a Tx queue with an SSN > size of the queue
The TVQM tells us the initial write pointer for a queue,
but that write pointer is in WiFi sequence number unit
and not in TFD index unit. Which means that the write
pointer in the TVQM's response can be bigger than the
Tx queue ring size.

Fix that by modulo'ing the write pointer from the TVQM
with the Tx queue size.

Fixes: 66128fa08806 ("iwlwifi: move to TVQM mode")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2017-08-09 21:14:42 +03:00
..
ctxt-info.c iwlwifi: pcie: warn if paging is already initialized during init 2017-06-29 13:26:26 +03:00
drv.c iwlwifi: pcie: rename iwl_trans_check_hw_rf_kill() to pcie 2017-08-01 12:41:45 +03:00
internal.h iwlwifi: pcie: rename iwl_trans_check_hw_rf_kill() to pcie 2017-08-01 12:41:45 +03:00
rx.c iwlwifi: pcie: add MSI-X interrupt tracing 2017-06-29 20:27:48 +03:00
trans-gen2.c iwlwifi: pcie: rename iwl_trans_check_hw_rf_kill() to pcie 2017-08-01 12:41:45 +03:00
trans.c iwlwifi: add support of FPGA fw 2017-08-09 09:35:14 +03:00
tx-gen2.c iwlwifi: pcie: don't init a Tx queue with an SSN > size of the queue 2017-08-09 21:14:42 +03:00
tx.c wireless-drivers-next patches for 4.14 2017-08-07 11:37:47 -07:00