Search Linux Wireless

[PATCH 01/14] wifi: iwlwifi: fix Bz checksum start/result offset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Johannes Berg <johannes.berg@xxxxxxxxx>

The checksum start/result offset should never be longer
than the bits we have in the mask now (nothing should put
the checksum at the end of a frame), but we should really
match the hardware definition for these bits.

Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
Signed-off-by: Gregory Greenman <gregory.greenman@xxxxxxxxx>
---
 drivers/net/wireless/intel/iwlwifi/fw/api/tx.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/fw/api/tx.h b/drivers/net/wireless/intel/iwlwifi/fw/api/tx.h
index 97edf5477ba7..c2fd467bb987 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/api/tx.h
+++ b/drivers/net/wireless/intel/iwlwifi/fw/api/tx.h
@@ -178,8 +178,8 @@ enum iwl_tx_offload_assist_flags_pos {
 #define IWL_TX_CMD_OFFLD_IP_HDR_MASK	0x3f
 
 enum iwl_tx_offload_assist_bz {
-	IWL_TX_CMD_OFFLD_BZ_RESULT_OFFS		= 0x000003ff,
-	IWL_TX_CMD_OFFLD_BZ_START_OFFS		= 0x001ff800,
+	IWL_TX_CMD_OFFLD_BZ_RESULT_OFFS		= 0x000007ff,
+	IWL_TX_CMD_OFFLD_BZ_START_OFFS		= 0x003ff800,
 	IWL_TX_CMD_OFFLD_BZ_MH_LEN		= 0x07c00000,
 	IWL_TX_CMD_OFFLD_BZ_MH_PAD		= 0x08000000,
 	IWL_TX_CMD_OFFLD_BZ_AMSDU		= 0x10000000,
-- 
2.38.1




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux