From: Helmut Schaa Date: Thu, 11 Aug 2011 14:17:41 +0000 (+0200) Subject: wireless: Introduce defines for BAR TID_INFO & MULTI_TID fields X-Git-Tag: 1.9.5~29 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=39e1832b6ea2bac749ab917fa0a1f712c513b869;p=carl9170fw.git wireless: Introduce defines for BAR TID_INFO & MULTI_TID fields While at it also fix the indention of the other IEEE80211_BAR_CTRL_ defines. Signed-off-by: Helmut Schaa Signed-off-by: John W. Linville Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index d74a57f..412722a 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -829,9 +829,11 @@ struct ieee80211_bar { } __attribute__((packed)) __aligned(4); /* 802.11 BA(R) control masks */ -#define IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL 0x0000 -#define IEEE80211_BAR_CTRL_MULTI_TID 0x0002 -#define IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA 0x0004 +#define IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL 0x0000 +#define IEEE80211_BAR_CTRL_MULTI_TID 0x0002 +#define IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA 0x0004 +#define IEEE80211_BAR_CTRL_TID_INFO_MASK 0xf000 +#define IEEE80211_BAR_CTRL_TID_INFO_SHIFT 12 /** * struct ieee80211_ba - HT Block Ack