diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-02-04 12:25:04 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2022-02-18 10:40:53 +0200 |
commit | 5d19e2087fea28651eff7eadf4510fa1564688a2 (patch) | |
tree | dd5f17ed01e56b7a95351f1101af4641d9171230 /drivers/net/wireless/intel/iwlwifi/iwl-csr.h | |
parent | 9966904e9472703a05861f343157cd78f47514fd (diff) |
iwlwifi: pcie: adjust to Bz completion descriptor
The Bz devices got a new completion descriptor again since
we only ever really used 4 out of 32 bytes anyway. Adjust
the code to deal with that. Note that the intention was to
reduce the size, but the hardware was implemented wrongly.
While at it, do some cleanups and remove the union to simplify
the code, clean up iwl_pcie_free_bd_size() to no longer need
an argument and add iwl_pcie_used_bd_size() with the logic to
selct completion descriptor size.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220204122220.bef461a04110.I90c8885550fa54eb0aaa4363d322f50e301175a6@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-csr.h')
0 files changed, 0 insertions, 0 deletions