Skip to contentSkip to conversation

staging: rtl8723bs: remove unused NDIS association and auth defines

PATCH New Iñaki Sobera Sotomayor 1 participant 1 message Sep 23 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8723bs: remove unused NDIS association and auth defines

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.

---
 drivers/staging/rtl8723bs/include/wlan_bssdef.h | 15 ---------------
 1 file changed, 15 deletions(-)
drivers/staging/rtl8723bs/include/wlan_bssdef.h +0 -15
index 9137057726e..d318c80c3be 100644
@@ -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
 
Signature · 1 line
2.55.0