linux/drivers/net/wireless/intel/iwlwifi
Golan Ben Ami f5955a6cc3 iwlwifi: cancel the injective function between hw pointers to tfd entry index
Nowadays, the tfd queue max size is 2^8, and the reserved size in the
command header sequence field for the tfd entry index is 8 bits,
allowing an injective function from the hw pointers to the tfd entry index
in the sequence field.

In 22560 devices the tfd queue max size is 2^16, meaning that
the hw pointers are 16 bit long (allowing to point to each entry
in the tfd queue). However, the reserved space in the sequence field for
the tfd entry doesn't change, and we are limited to 8 bit.
This requires cancelling the injective function from hw pointer to
tfd entry in the sequence number.

Use iwl_pcie_get_cmd_index to wrap the hw pointer's to the n_window
size, which is maximum 256 in tx queues, and so, keep the injective
function between the window wrapped hw pointers to tfd entry index in
the sequence.

Signed-off-by: Golan Ben Ami <golan.ben.ami@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2018-07-26 13:16:16 +03:00
..
cfg iwlwifi: introduce device family 22560 2018-07-26 13:16:14 +03:00
dvm iwlwifi: remove upper case letters in sku_capa_band_*_enable 2018-04-20 10:57:16 +03:00
fw iwlwifi: introduce device family 22560 2018-07-26 13:16:14 +03:00
mvm iwlwifi: pcie: update bytes in the byte count table 2018-07-26 13:16:15 +03:00
pcie iwlwifi: cancel the injective function between hw pointers to tfd entry index 2018-07-26 13:16:16 +03:00
iwl-agn-hw.h
iwl-config.h iwlwifi: introduce device family 22560 2018-07-26 13:16:14 +03:00
iwl-context-info-gen3.h iwlwifi: update gen3 interrupts - sw error and image response 2018-07-26 13:16:16 +03:00
iwl-context-info.h iwlwifi: pcie: support context information for 22560 devices 2018-07-26 13:16:15 +03:00
iwl-csr.h iwlwifi: update gen3 interrupts - sw error and image response 2018-07-26 13:16:16 +03:00
iwl-debug.c
iwl-debug.h iwlwifi: acpi: add common code to read from ACPI 2017-10-06 15:22:28 +03:00
iwl-devtrace-data.h iwlwifi: simplify data tracepoint 2017-06-23 11:57:20 +03:00
iwl-devtrace-io.h iwlwifi: pcie: add MSI-X interrupt tracing 2017-06-29 20:27:48 +03:00
iwl-devtrace-iwlwifi.h net/wireless/iwlwifi: fix iwlwifi_dev_ucode_error tracepoint 2018-03-28 22:55:19 +02:00
iwl-devtrace-msg.h
iwl-devtrace-ucode.h
iwl-devtrace.c net/wireless/iwlwifi: fix iwlwifi_dev_ucode_error tracepoint 2018-03-28 22:55:19 +02:00
iwl-devtrace.h iwlwifi: fix tracing when tx only is enabled 2017-07-21 12:26:38 +03:00
iwl-drv.c iwlwifi: add module parameter to disable 802.11ax 2018-07-26 13:16:12 +03:00
iwl-drv.h iwlwifi: cleanup references to 8000 family in NVM code 2017-06-05 23:25:21 +03:00
iwl-eeprom-parse.c iwlwifi: remove upper case letters in sku_capa_band_*_enable 2018-04-20 10:57:16 +03:00
iwl-eeprom-parse.h iwlwifi: remove upper case letters in sku_capa_band_*_enable 2018-04-20 10:57:16 +03:00
iwl-eeprom-read.c iwlwifi: allow different csr flags for different device families 2018-04-26 15:18:07 +03:00
iwl-eeprom-read.h
iwl-fh.h iwlwifi: rename the temporary name of A000 to the official 22000 2017-11-28 16:39:57 +02:00
iwl-io.c iwlwifi: fix nmi triggering from host 2017-08-09 21:14:43 +03:00
iwl-io.h iwlwifi: centralize 64 bit HW registers write 2016-07-06 10:22:08 +03:00
iwl-modparams.h iwlwifi: add module parameter to disable 802.11ax 2018-07-26 13:16:12 +03:00
iwl-nvm-parse.c iwlwifi: add module parameter to disable 802.11ax 2018-07-26 13:16:12 +03:00
iwl-nvm-parse.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git 2018-04-26 13:26:37 +03:00
iwl-op-mode.h
iwl-phy-db.c iwlwifi: mvm: add documentation for all command IDs 2017-06-29 13:26:24 +03:00
iwl-phy-db.h iwlwifi: mvm: remove redundant alloc_ctx parameter 2016-05-10 22:34:03 +03:00
iwl-prph.h iwlwifi: fix nmi triggering from host 2017-08-09 21:14:43 +03:00
iwl-scd.h
iwl-trans.c iwlwifi: trans: move ref/unref code to the common part of the transport 2017-10-06 14:57:20 +03:00
iwl-trans.h iwlwifi: introduce Image Loader (IML) - new firmware image 2018-04-26 15:18:07 +03:00
Kconfig iwlwifi: fix malformed CONFIG_IWLWIFI_PCIE_RTPM default 2018-03-02 10:20:03 +02:00
Makefile iwlwifi: pcie: support context information for 22560 devices 2018-07-26 13:16:15 +03:00