]> git.karo-electronics.de Git - linux-beck.git/commitdiff
iwlwifi: mvm: set the correct amsdu enum values
authorSara Sharon <sara.sharon@intel.com>
Thu, 3 Mar 2016 14:49:05 +0000 (16:49 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 7 Mar 2016 11:34:16 +0000 (13:34 +0200)
The amsdu enum values are off by 1 bit. Fix it.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw-api-rx.h

index eb9b87038e1f7ed7a54f776200e90d58b6f7f162..7a16e55df01230fea7b4a098a9392a3969baf5ec 100644 (file)
@@ -264,9 +264,8 @@ enum iwl_rx_mpdu_mac_flags2 {
 };
 
 enum iwl_rx_mpdu_amsdu_info {
-       IWL_RX_MPDU_AMSDU_SUBFRAME_IDX_MASK     = 0x3f,
-       IWL_RX_MPDU_AMSDU_LAST_SUBFRAME         = 0x40,
-       /* 0x80 bit reserved for now */
+       IWL_RX_MPDU_AMSDU_SUBFRAME_IDX_MASK     = 0x7f,
+       IWL_RX_MPDU_AMSDU_LAST_SUBFRAME         = 0x80,
 };
 
 enum iwl_rx_l3l4_flags {