Skip to content

Commit

Permalink
staging:rtl8192u: Remove unused structure STA_QOS - Style
Browse files Browse the repository at this point in the history
Remove structure STA_QOS as it is unused in code. This change is a coding
style change so should not impact runtime code execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
John Whitmore authored and Greg Kroah-Hartman committed Jul 24, 2018
1 parent a61c15e commit 7b877ce
Showing 1 changed file with 0 additions and 53 deletions.
53 changes: 0 additions & 53 deletions drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
Original file line number Diff line number Diff line change
Expand Up @@ -415,59 +415,6 @@ typedef struct _OCTET_STRING {
u16 Length;
} OCTET_STRING, *POCTET_STRING;

//
// STA QoS data.
// Ref: DOT11_QOS in 8185 code. [def. in QoS_mp.h]
//
typedef struct _STA_QOS {
//DECLARE_RT_OBJECT(STA_QOS);
u8 WMMIEBuf[MAX_WMMELE_LENGTH];
u8 *WMMIE;

// Part 1. Self QoS Mode.
u32 QosCapability; // QOS_MODE QoS Capability, 2006-06-14 Isaiah
u32 CurrentQosMode; // QOS_MODE

// For WMM Power Save Mode :
// ACs are trigger/delivery enabled or legacy power save enabled. 2006-06-13 Isaiah
AC_UAPSD b4ac_Uapsd; //VoUapsd(bit0), ViUapsd(bit1), BkUapsd(bit2), BeUapsd(bit3),
AC_UAPSD Curr4acUapsd;
u8 bInServicePeriod;
u8 MaxSPLength;
int NumBcnBeforeTrigger;

// Part 2. EDCA Parameter (perAC)
u8 *pWMMInfoEle;
u8 WMMParamEle[WMM_PARAM_ELEMENT_SIZE];
u8 WMMPELength;

// <Bruce_Note>
//2 ToDo: remove the Qos Info Field and replace it by the above WMM Info element.
// By Bruce, 2008-01-30.
// Part 2. EDCA Parameter (perAC)
QOS_INFO_FIELD QosInfoField_STA; // Maintained by STA
QOS_INFO_FIELD QosInfoField_AP; // Retrieved from AP

AC_PARAM CurAcParameters[4];

// Part 3. ACM
ACM acm[4];
ACM_METHOD AcmMethod;

// Part 4. Per TID (Part 5: TCLASS will be described by TStream)
QOS_TSTREAM TStream[16];
WMM_TSPEC TSpec;

u32 QBssWirelessMode;

// No Ack Setting
u8 bNoAck;

// Enable/Disable Rx immediate BA capability.
u8 bEnableRxImmBA;

} STA_QOS, *PSTA_QOS;

//
// Ref: sQoSCtlLng and QoSCtl definition in 8185 QoS code.
//#define QoSCtl (( (Adapter->bRegQoS) && (Adapter->dot11QoS.QoSMode &(QOS_EDCA|QOS_HCCA)) ) ?sQoSCtlLng:0)
Expand Down

0 comments on commit 7b877ce

Please sign in to comment.