wifi: iwlwifi: fix byte count table for old devices
authorJohannes Berg <johannes.berg@intel.com>
Thu, 28 Aug 2025 06:55:30 +0000 (09:55 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Thu, 28 Aug 2025 11:52:11 +0000 (14:52 +0300)
commit586e3cb33ba6890054b95aa0ade0a165890efabd
treed9df9dc15b1f5af29114d9416fa0fdc85ec9fb1e
parent22e6bdb129ec64e640f5cccef9686f7c1a7d559b
wifi: iwlwifi: fix byte count table for old devices

For devices handled by iwldvm, bc_table_dword was never set, but I missed
that during the removal thereof. Change the logic to not treat the byte
count table as dwords for devices older than 9000 series to fix that.

Fixes: 6570ea227826 ("wifi: iwlwifi: remove bc_table_dword transport config")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250828095500.eccd7d3939f1.Ibaffa06d0b3aa5f35a9451d94af34de208b8a2bc@changeid
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/tx.c