[PATCH] staging: rtl8723bs: remove unused NDIS association and auth defines

Iñaki Sobera Sotomayor posted 1 patch 19 hours ago
drivers/staging/rtl8723bs/include/wlan_bssdef.h | 15 ---------------
1 file changed, 15 deletions(-)
[PATCH] staging: rtl8723bs: remove unused NDIS association and auth defines
Posted by Iñaki Sobera Sotomayor 19 hours ago
The NDIS_802_11_AI_REQFI_*, NDIS_802_11_AI_RESFI_* and
NDIS_802_11_AUTH_REQUEST_* macros are leftovers from the original
NDIS-based vendor driver. None of them is referenced anywhere in the
driver, so drop them.

No functional change intended.

Signed-off-by: Iñaki Sobera Sotomayor <inakisobera8@gmail.com>
---
 drivers/staging/rtl8723bs/include/wlan_bssdef.h | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/drivers/staging/rtl8723bs/include/wlan_bssdef.h b/drivers/staging/rtl8723bs/include/wlan_bssdef.h
index 9137057726e..d318c80c3be 100644
--- a/drivers/staging/rtl8723bs/include/wlan_bssdef.h
+++ b/drivers/staging/rtl8723bs/include/wlan_bssdef.h
@@ -78,14 +78,6 @@ enum {
 	Ndis802_11_EncrypteionWAPI
 };
 
-#define NDIS_802_11_AI_REQFI_CAPABILITIES      1
-#define NDIS_802_11_AI_REQFI_LISTENINTERVAL    2
-#define NDIS_802_11_AI_REQFI_CURRENTAPADDRESS  4
-
-#define NDIS_802_11_AI_RESFI_CAPABILITIES      1
-#define NDIS_802_11_AI_RESFI_STATUSCODE        2
-#define NDIS_802_11_AI_RESFI_ASSOCIATIONID     4
-
 /*  Key mapping keys require a BSSID */
 
 struct ndis_802_11_wep {
@@ -95,13 +87,6 @@ struct ndis_802_11_wep {
 	u8 key_material[16];/*  variable length depending on above field */
 };
 
-/*  mask for authentication/integrity fields */
-#define NDIS_802_11_AUTH_REQUEST_AUTH_FIELDS        0x0f
-#define NDIS_802_11_AUTH_REQUEST_REAUTH			0x01
-#define NDIS_802_11_AUTH_REQUEST_KEYUPDATE		0x02
-#define NDIS_802_11_AUTH_REQUEST_PAIRWISE_ERROR		0x06
-#define NDIS_802_11_AUTH_REQUEST_GROUP_ERROR		0x0E
-
 /*  MIC check time, 60 seconds. */
 #define MIC_CHECK_TIME	60000000
 
-- 
2.55.0