wifi: iwlwifi: Fix A-MSDU TSO preparation
The TSO preparation assumed that the skb head contained the headers while the rest of the data was in the fragments. Since this is not always true, e.g., it is possible that the data was linearised, modify the TSO preparation to start the data processing after the network headers. Fixes: 7f5e3038 ("wifi: iwlwifi: map entire SKB when sending AMSDUs") Signed-off-by:Ilan Peer <ilan.peer@intel.com> Reviewed-by:
Benjamin Berg <benjamin.berg@intel.com> Signed-off-by:
Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250209143303.75769a4769bf.Iaf79e8538093cdf8c446c292cc96164ad6498f61@changeid Signed-off-by:
Johannes Berg <johannes.berg@intel.com>
Showing
- drivers/net/wireless/intel/iwlwifi/pcie/internal.h 3 additions, 2 deletionsdrivers/net/wireless/intel/iwlwifi/pcie/internal.h
- drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c 3 additions, 2 deletionsdrivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c
- drivers/net/wireless/intel/iwlwifi/pcie/tx.c 12 additions, 8 deletionsdrivers/net/wireless/intel/iwlwifi/pcie/tx.c
Loading
Please register or sign in to comment