Skip to content

Commit

Permalink
staging:rtl8192u: Remove unused structure QOS_CTRL_FIELD - Style
Browse files Browse the repository at this point in the history
The structure QOS_CTRL_FIELD is unused in code so has simply been removed
from source. This is a coding style change and should have no impact
on 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 7b877ce commit 31bd675
Showing 1 changed file with 0 additions and 50 deletions.
50 changes: 0 additions & 50 deletions drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,56 +9,6 @@

#define WMM_PARAM_ELEMENT_SIZE (8+(4*AC_PARAM_SIZE))

//
// QoS Control Field
// Ref:
// 1. WMM spec 2.1.6: QoS Control Field, p.9.
// 2. 802.11e/D13.0 7.1.3.5, p.26.
//
typedef union _QOS_CTRL_FIELD {
u8 charData[2];
u16 shortData;

// WMM spec
struct {
u8 UP:3;
u8 usRsvd1:1;
u8 EOSP:1;
u8 AckPolicy:2;
u8 usRsvd2:1;
u8 ucRsvdByte;
} WMM;

// 802.11e: QoS data type frame sent by non-AP QSTAs.
struct {
u8 TID:4;
u8 bIsQsize:1;// 0: BIT[8:15] is TXOP Duration Requested, 1: BIT[8:15] is Queue Size.
u8 AckPolicy:2;
u8 usRsvd:1;
u8 TxopOrQsize; // (BIT4=0)TXOP Duration Requested or (BIT4=1)Queue Size.
} BySta;

// 802.11e: QoS data, QoS Null, and QoS Data+CF-Ack frames sent by HC.
struct {
u8 TID:4;
u8 EOSP:1;
u8 AckPolicy:2;
u8 usRsvd:1;
u8 PSBufState; // QAP PS Buffer State.
} ByHc_Data;

// 802.11e: QoS (+) CF-Poll frames sent by HC.
struct {
u8 TID:4;
u8 EOSP:1;
u8 AckPolicy:2;
u8 usRsvd:1;
u8 TxopLimit; // TXOP Limit.
} ByHc_CFP;

} QOS_CTRL_FIELD, *PQOS_CTRL_FIELD;


//
// QoS Info Field
// Ref:
Expand Down

0 comments on commit 31bd675

Please sign in to comment.