Skip to content

Commit d031781

Browse files
Pradeep Kumar Chitrapujmberg-intel
authored andcommitted
ieee80211: Fix incorrect mask for default PE duration
Fixes bitmask for HE opration's default PE duration. Fixes: daa5b83 ("mac80211: update HE operation fields to D3.0") Signed-off-by: Pradeep Kumar Chitrapu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent e2d4a80 commit d031781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/ieee80211.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2047,7 +2047,7 @@ ieee80211_he_ppe_size(u8 ppe_thres_hdr, const u8 *phy_cap_info)
20472047
}
20482048

20492049
/* HE Operation defines */
2050-
#define IEEE80211_HE_OPERATION_DFLT_PE_DURATION_MASK 0x00000003
2050+
#define IEEE80211_HE_OPERATION_DFLT_PE_DURATION_MASK 0x00000007
20512051
#define IEEE80211_HE_OPERATION_TWT_REQUIRED 0x00000008
20522052
#define IEEE80211_HE_OPERATION_RTS_THRESHOLD_MASK 0x00003ff0
20532053
#define IEEE80211_HE_OPERATION_RTS_THRESHOLD_OFFSET 4

0 commit comments

Comments
 (0)