staging: rtl8188eu: remove some ieee80211 constants from wifi.h
PATCH 1/3 staging: rtl8188eu: remove some ieee80211 constants from wifi.h
The constants IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL and IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA are not used in the driver code and, if ever needed, available from 'include/linux/ieee80211.h'. Remove them from wifi.h.
--- drivers/staging/rtl8188eu/include/wifi.h | 4 ---- 1 file changed, 4 deletions(-)
drivers/staging/rtl8188eu/include/wifi.h +0 -4
@@ -453,10 +453,6 @@ static inline int IsFrameTypeCtrl(unsigned char *pframe)Below is the definition for 802.11n ------------------------------------------------------------------------------*/ -/* 802.11 BAR control masks */ -#define IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL 0x0000 -#define IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA 0x0004 -/** * struct rtw_ieee80211_ht_cap - HT additional information *
Signature · 1 line
2.27.0
PATCH 2/3 staging: rtl8723bs: remove some ieee80211 constants from wifi.h
The constants IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL and IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA are not used in the driver code and, if ever needed, available from 'include/linux/ieee80211.h'. Remove them from wifi.h.
--- drivers/staging/rtl8723bs/include/wifi.h | 5 ----- 1 file changed, 5 deletions(-)
drivers/staging/rtl8723bs/include/wifi.h +0 -5
@@ -657,11 +657,6 @@ struct rtw_ieee80211_bar {__le16 start_seq_num; } __attribute__((packed)); -/* 802.11 BAR control masks */ -#define IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL 0x0000 -#define IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA 0x0004 - -/** * struct rtw_ieee80211_ht_cap - HT capabilities *
Signature · 1 line
2.27.0
PATCH 3/3 staging: rtl8712: remove some ieee80211 constants from wifi.h
In reply to Michael StraubeThe constants IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL and IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA are not used in the driver code and, if ever needed, available from 'include/linux/ieee80211.h'. Remove them from wifi.h.
--- drivers/staging/rtl8712/wifi.h | 4 ---- 1 file changed, 4 deletions(-)
drivers/staging/rtl8712/wifi.h +0 -4
@@ -451,10 +451,6 @@ static inline unsigned char *get_hdr_bssid(unsigned char *pframe)#define GetOrderBit (pbuf) (((*(__le16 *)(pbuf)) & \ le16_to_cpu(_ORDER_)) != 0) -/* 802.11 BAR control masks */ -#define IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL 0x0000 -#define IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA 0x0004 -/* * struct rtl_ieee80211_ht_cap - HT capabilities *
Signature · 1 line
2.27.0