1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi/dvm
Mike Golant 55c6d8f89d iwlwifi: support 4-bits in MAC step value
We have a MAC component (which is inside the SoC) and it has several
different HW steps.  3 bits used to be enough but now we need 4-bits
to represent all the different steps.

Properly support 4-bits in the MAC step value by refactoring all the
current handling of the MAC step/dash.

Already from family 8000 and up the dash (bits 0-1) no longer exists
and the step (until 8000 bits 2-3) consists of the dash bits as well.

To do this remove the CSR_HW_REV_STEP and the CSR_HW_REV_DASH
macros, replace them with CSR_HW_REV_STEP_DASH and add hw_rev_step
into the trans struct.

In addition remove the CSR_HW_IF_CONFIG_REG_MSK_MAC_STEP and
CSR_HW_IF_CONFIG_REG_MSK_MAC_DASH macros and create a new macro
combining the 2 (this way we don't need shifting or anything else.)

Signed-off-by: Matti Gottlieb <matti.gottlieb@intel.com>
Signed-off-by: Mike Golant <michael.golant@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211207160459.2e81a14d1f80.Ia5287e37fb3439d805336837361f6491f958e465@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2021-12-07 20:05:09 +02:00
..
agn.h iwlwifi: allow rate-limited error messages 2021-10-22 10:49:03 +03:00
calib.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
calib.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
commands.h treewide: Replace open-coded flex arrays in unions 2021-10-18 12:28:53 -07:00
debugfs.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
dev.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
devices.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
led.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
led.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
lib.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
mac80211.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
main.c iwlwifi: support 4-bits in MAC step value 2021-12-07 20:05:09 +02:00
Makefile wireless: prefix header search paths with $(srctree)/ 2019-02-01 14:42:25 +02:00
power.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
power.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
rs.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
rs.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
rx.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
rxon.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
scan.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
sta.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
tt.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
tt.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
tx.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
ucode.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00