Commit 0157d2e5 authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef BSS_QOS to struct bss_qos

Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent bca54c01
...@@ -352,7 +352,7 @@ typedef struct _STA_QOS{ ...@@ -352,7 +352,7 @@ typedef struct _STA_QOS{
#define GET_QBSS_LOAD_AVAILABLE_CAPACITY(__pStart) ReadEF2Byte((u8*)(__pStart) + 3) #define GET_QBSS_LOAD_AVAILABLE_CAPACITY(__pStart) ReadEF2Byte((u8*)(__pStart) + 3)
#define SET_QBSS_LOAD_AVAILABLE_CAPACITY(__pStart, __Value) WriteEF2Byte((u8*)(__pStart) + 3, __Value) #define SET_QBSS_LOAD_AVAILABLE_CAPACITY(__pStart, __Value) WriteEF2Byte((u8*)(__pStart) + 3, __Value)
typedef struct _BSS_QOS{ struct bss_qos {
QOS_MODE bdQoSMode; QOS_MODE bdQoSMode;
u8 bdWMMIEBuf[MAX_WMMELE_LENGTH]; u8 bdWMMIEBuf[MAX_WMMELE_LENGTH];
...@@ -365,7 +365,7 @@ typedef struct _BSS_QOS{ ...@@ -365,7 +365,7 @@ typedef struct _BSS_QOS{
u8 QBssLoad[QBSS_LOAD_SIZE]; u8 QBssLoad[QBSS_LOAD_SIZE];
bool bQBssLoadValid; bool bQBssLoadValid;
}BSS_QOS, *PBSS_QOS; };//, *struct bss_qos *;
#define sQoSCtlLng 2 #define sQoSCtlLng 2
#define QOS_CTRL_LEN(_QosMode) ( (_QosMode > QOS_DISABLE)? sQoSCtlLng : 0 ) #define QOS_CTRL_LEN(_QosMode) ( (_QosMode > QOS_DISABLE)? sQoSCtlLng : 0 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment