Commit ff757c8a authored by Ksenija Stanojevic's avatar Ksenija Stanojevic Committed by Greg Kroah-Hartman

Staging: rtl8192u: Convert comments from C99 to C89 style

Kernel style for comments is C89 style. Issue found by checkpatch.pl.
Signed-off-by: default avatarKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a064d27a
#ifndef _TSTYPE_H_ #ifndef _TSTYPE_H_
#define _TSTYPE_H_ #define _TSTYPE_H_
#include "rtl819x_Qos.h" #include "rtl819x_Qos.h"
#define TS_SETUP_TIMEOUT 60 // In millisecond #define TS_SETUP_TIMEOUT 60 /* In millisecond */
#define TS_INACT_TIMEOUT 60 #define TS_INACT_TIMEOUT 60
#define TS_ADDBA_DELAY 60 #define TS_ADDBA_DELAY 60
#define TOTAL_TS_NUM 16 #define TOTAL_TS_NUM 16
#define TCLAS_NUM 4 #define TCLAS_NUM 4
// This define the Tx/Rx directions /* This define the Tx/Rx directions */
typedef enum _TR_SELECT { typedef enum _TR_SELECT {
TX_DIR = 0, TX_DIR = 0,
RX_DIR = 1, RX_DIR = 1,
...@@ -28,9 +28,9 @@ typedef struct _TS_COMMON_INFO{ ...@@ -28,9 +28,9 @@ typedef struct _TS_COMMON_INFO{
typedef struct _TX_TS_RECORD{ typedef struct _TX_TS_RECORD{
TS_COMMON_INFO TsCommonInfo; TS_COMMON_INFO TsCommonInfo;
u16 TxCurSeq; u16 TxCurSeq;
BA_RECORD TxPendingBARecord; // For BA Originator BA_RECORD TxPendingBARecord; /* For BA Originator */
BA_RECORD TxAdmittedBARecord; // For BA Originator BA_RECORD TxAdmittedBARecord; /* For BA Originator */
// QOS_DL_RECORD DLRecord; /* QOS_DL_RECORD DLRecord; */
u8 bAddBaReqInProgress; u8 bAddBaReqInProgress;
u8 bAddBaReqDelayed; u8 bAddBaReqDelayed;
u8 bUsingBa; u8 bUsingBa;
...@@ -44,11 +44,11 @@ typedef struct _RX_TS_RECORD { ...@@ -44,11 +44,11 @@ typedef struct _RX_TS_RECORD {
u16 RxTimeoutIndicateSeq; u16 RxTimeoutIndicateSeq;
struct list_head RxPendingPktList; struct list_head RxPendingPktList;
struct timer_list RxPktPendingTimer; struct timer_list RxPktPendingTimer;
BA_RECORD RxAdmittedBARecord; // For BA Recipient BA_RECORD RxAdmittedBARecord; /* For BA Recipient */
u16 RxLastSeqNum; u16 RxLastSeqNum;
u8 RxLastFragNum; u8 RxLastFragNum;
u8 num; u8 num;
// QOS_DL_RECORD DLRecord; /* QOS_DL_RECORD DLRecord; */
} RX_TS_RECORD, *PRX_TS_RECORD; } RX_TS_RECORD, *PRX_TS_RECORD;
......
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