public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] staging: rtl8188eu: remove some ieee80211 constants from wifi.h
@ 2020-06-29 17:14 Michael Straube
  2020-06-29 17:14 ` [PATCH 2/3] staging: rtl8723bs: " Michael Straube
  2020-06-29 17:14 ` [PATCH 3/3] staging: rtl8712: " Michael Straube
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Straube @ 2020-06-29 17:14 UTC (permalink / raw)
  To: gregkh
  Cc: Larry.Finger, hdegoede, florian.c.schilhabel, devel, linux-kernel,
	Michael Straube

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.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
---
 drivers/staging/rtl8188eu/include/wifi.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/staging/rtl8188eu/include/wifi.h b/drivers/staging/rtl8188eu/include/wifi.h
index 667055796b66..e12e3d0a45e0 100644
--- a/drivers/staging/rtl8188eu/include/wifi.h
+++ b/drivers/staging/rtl8188eu/include/wifi.h
@@ -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
  *
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/3] staging: rtl8723bs: remove some ieee80211 constants from wifi.h
  2020-06-29 17:14 [PATCH 1/3] staging: rtl8188eu: remove some ieee80211 constants from wifi.h Michael Straube
@ 2020-06-29 17:14 ` Michael Straube
  2020-06-29 17:14 ` [PATCH 3/3] staging: rtl8712: " Michael Straube
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Straube @ 2020-06-29 17:14 UTC (permalink / raw)
  To: gregkh
  Cc: Larry.Finger, hdegoede, florian.c.schilhabel, devel, linux-kernel,
	Michael Straube

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.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
---
 drivers/staging/rtl8723bs/include/wifi.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/staging/rtl8723bs/include/wifi.h b/drivers/staging/rtl8723bs/include/wifi.h
index 88a6e982ce01..f75df547a946 100644
--- a/drivers/staging/rtl8723bs/include/wifi.h
+++ b/drivers/staging/rtl8723bs/include/wifi.h
@@ -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
  *
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 3/3] staging: rtl8712: remove some ieee80211 constants from wifi.h
  2020-06-29 17:14 [PATCH 1/3] staging: rtl8188eu: remove some ieee80211 constants from wifi.h Michael Straube
  2020-06-29 17:14 ` [PATCH 2/3] staging: rtl8723bs: " Michael Straube
@ 2020-06-29 17:14 ` Michael Straube
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Straube @ 2020-06-29 17:14 UTC (permalink / raw)
  To: gregkh
  Cc: Larry.Finger, hdegoede, florian.c.schilhabel, devel, linux-kernel,
	Michael Straube

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.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
---
 drivers/staging/rtl8712/wifi.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/staging/rtl8712/wifi.h b/drivers/staging/rtl8712/wifi.h
index befb2f9b40ad..66e0634f07ba 100644
--- a/drivers/staging/rtl8712/wifi.h
+++ b/drivers/staging/rtl8712/wifi.h
@@ -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
  *
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-29 19:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-29 17:14 [PATCH 1/3] staging: rtl8188eu: remove some ieee80211 constants from wifi.h Michael Straube
2020-06-29 17:14 ` [PATCH 2/3] staging: rtl8723bs: " Michael Straube
2020-06-29 17:14 ` [PATCH 3/3] staging: rtl8712: " Michael Straube

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox