]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ieee80211: Fix incorrect mask for default PE duration
authorPradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Wed, 6 May 2020 10:24:30 +0000 (03:24 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 May 2020 08:33:50 +0000 (10:33 +0200)
Fixes bitmask for HE opration's default PE duration.

Fixes: a18b30605a31 ("mac80211: update HE operation fields to D3.0")
Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Link: https://lore.kernel.org/r/20200506102430.5153-1-pradeepc@codeaurora.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h

index 16268ef1cbccc4a4355062eeed0b329a94a0c8d8..5d3e48d020339b0e33d4edf3f974ca5273dcf983 100644 (file)
@@ -2047,7 +2047,7 @@ ieee80211_he_ppe_size(u8 ppe_thres_hdr, const u8 *phy_cap_info)
 }
 
 /* HE Operation defines */
-#define IEEE80211_HE_OPERATION_DFLT_PE_DURATION_MASK           0x00000003
+#define IEEE80211_HE_OPERATION_DFLT_PE_DURATION_MASK           0x00000007
 #define IEEE80211_HE_OPERATION_TWT_REQUIRED                    0x00000008
 #define IEEE80211_HE_OPERATION_RTS_THRESHOLD_MASK              0x00003ff0
 #define IEEE80211_HE_OPERATION_RTS_THRESHOLD_OFFSET            4