linux/drivers/net/wireless/intel
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
..
ipw2x00 ipw2100: don't return positive values to PCI probe on error 2017-07-28 18:01:43 +03:00
iwlegacy wireless: iwlegacy: Constify attribute_group structures. 2017-07-18 12:04:56 -07:00
iwlwifi iwlwifi: pcie: don't init a Tx queue with an SSN > size of the queue 2017-08-09 21:14:42 +03:00
Kconfig
Makefile