forked from Minki/linux
staging/rtl8192u: put { on same line as struct
This fixes the checkpatch error "open brace '{' following struct go on the same line" in staging/rtl8192u Signed-off-by: Jennifer Naumann <Jennifer.Naumann@informatik.stud.uni-erlangen.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
35997ff0ca
commit
0db7a34e6c
@ -1655,8 +1655,7 @@ typedef struct tx_pending_t{
|
|||||||
struct ieee80211_txb *txb;
|
struct ieee80211_txb *txb;
|
||||||
}tx_pending_t;
|
}tx_pending_t;
|
||||||
|
|
||||||
typedef struct _bandwidth_autoswitch
|
typedef struct _bandwidth_autoswitch {
|
||||||
{
|
|
||||||
long threshold_20Mhzto40Mhz;
|
long threshold_20Mhzto40Mhz;
|
||||||
long threshold_40Mhzto20Mhz;
|
long threshold_40Mhzto20Mhz;
|
||||||
bool bforced_tx20Mhz;
|
bool bforced_tx20Mhz;
|
||||||
@ -1668,8 +1667,7 @@ typedef struct _bandwidth_autoswitch
|
|||||||
|
|
||||||
#define REORDER_WIN_SIZE 128
|
#define REORDER_WIN_SIZE 128
|
||||||
#define REORDER_ENTRY_NUM 128
|
#define REORDER_ENTRY_NUM 128
|
||||||
typedef struct _RX_REORDER_ENTRY
|
typedef struct _RX_REORDER_ENTRY {
|
||||||
{
|
|
||||||
struct list_head List;
|
struct list_head List;
|
||||||
u16 SeqNum;
|
u16 SeqNum;
|
||||||
struct ieee80211_rxb* prxb;
|
struct ieee80211_rxb* prxb;
|
||||||
@ -1709,15 +1707,13 @@ typedef struct _IbssParms{
|
|||||||
#define MAX_NUM_RATES 264 // Max num of support rates element: 8, Max num of ext. support rate: 255. 061122, by rcnjko.
|
#define MAX_NUM_RATES 264 // Max num of support rates element: 8, Max num of ext. support rate: 255. 061122, by rcnjko.
|
||||||
|
|
||||||
// RF state.
|
// RF state.
|
||||||
typedef enum _RT_RF_POWER_STATE
|
typedef enum _RT_RF_POWER_STATE {
|
||||||
{
|
|
||||||
eRfOn,
|
eRfOn,
|
||||||
eRfSleep,
|
eRfSleep,
|
||||||
eRfOff
|
eRfOff
|
||||||
}RT_RF_POWER_STATE;
|
}RT_RF_POWER_STATE;
|
||||||
|
|
||||||
typedef struct _RT_POWER_SAVE_CONTROL
|
typedef struct _RT_POWER_SAVE_CONTROL {
|
||||||
{
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Inactive Power Save(IPS) : Disable RF when disconnected
|
// Inactive Power Save(IPS) : Disable RF when disconnected
|
||||||
|
@ -28,8 +28,7 @@ struct ieee80211_ADDBA_Req{
|
|||||||
//Is this need?I put here just to make it easier to define structure BA_RECORD //WB
|
//Is this need?I put here just to make it easier to define structure BA_RECORD //WB
|
||||||
typedef union _SEQUENCE_CONTROL{
|
typedef union _SEQUENCE_CONTROL{
|
||||||
u16 ShortData;
|
u16 ShortData;
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u16 FragNum:4;
|
u16 FragNum:4;
|
||||||
u16 SeqNum:12;
|
u16 SeqNum:12;
|
||||||
}field;
|
}field;
|
||||||
|
@ -81,8 +81,7 @@ typedef union _QOS_CTRL_FIELD{
|
|||||||
u16 shortData;
|
u16 shortData;
|
||||||
|
|
||||||
// WMM spec
|
// WMM spec
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u8 UP:3;
|
u8 UP:3;
|
||||||
u8 usRsvd1:1;
|
u8 usRsvd1:1;
|
||||||
u8 EOSP:1;
|
u8 EOSP:1;
|
||||||
@ -92,8 +91,7 @@ typedef union _QOS_CTRL_FIELD{
|
|||||||
}WMM;
|
}WMM;
|
||||||
|
|
||||||
// 802.11e: QoS data type frame sent by non-AP QSTAs.
|
// 802.11e: QoS data type frame sent by non-AP QSTAs.
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u8 TID:4;
|
u8 TID:4;
|
||||||
u8 bIsQsize:1;// 0: BIT[8:15] is TXOP Duration Requested, 1: BIT[8:15] is Queue Size.
|
u8 bIsQsize:1;// 0: BIT[8:15] is TXOP Duration Requested, 1: BIT[8:15] is Queue Size.
|
||||||
u8 AckPolicy:2;
|
u8 AckPolicy:2;
|
||||||
@ -102,8 +100,7 @@ typedef union _QOS_CTRL_FIELD{
|
|||||||
}BySta;
|
}BySta;
|
||||||
|
|
||||||
// 802.11e: QoS data, QoS Null, and QoS Data+CF-Ack frames sent by HC.
|
// 802.11e: QoS data, QoS Null, and QoS Data+CF-Ack frames sent by HC.
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u8 TID:4;
|
u8 TID:4;
|
||||||
u8 EOSP:1;
|
u8 EOSP:1;
|
||||||
u8 AckPolicy:2;
|
u8 AckPolicy:2;
|
||||||
@ -112,8 +109,7 @@ typedef union _QOS_CTRL_FIELD{
|
|||||||
}ByHc_Data;
|
}ByHc_Data;
|
||||||
|
|
||||||
// 802.11e: QoS (+) CF-Poll frames sent by HC.
|
// 802.11e: QoS (+) CF-Poll frames sent by HC.
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u8 TID:4;
|
u8 TID:4;
|
||||||
u8 EOSP:1;
|
u8 EOSP:1;
|
||||||
u8 AckPolicy:2;
|
u8 AckPolicy:2;
|
||||||
@ -133,14 +129,12 @@ typedef union _QOS_CTRL_FIELD{
|
|||||||
typedef union _QOS_INFO_FIELD{
|
typedef union _QOS_INFO_FIELD{
|
||||||
u8 charData;
|
u8 charData;
|
||||||
|
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u8 ucParameterSetCount:4;
|
u8 ucParameterSetCount:4;
|
||||||
u8 ucReserved:4;
|
u8 ucReserved:4;
|
||||||
}WMM;
|
}WMM;
|
||||||
|
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
//Ref WMM_Specification_1-1.pdf, 2006-06-13 Isaiah
|
//Ref WMM_Specification_1-1.pdf, 2006-06-13 Isaiah
|
||||||
u8 ucAC_VO_UAPSD:1;
|
u8 ucAC_VO_UAPSD:1;
|
||||||
u8 ucAC_VI_UAPSD:1;
|
u8 ucAC_VI_UAPSD:1;
|
||||||
@ -152,16 +146,14 @@ typedef union _QOS_INFO_FIELD{
|
|||||||
|
|
||||||
}ByWmmPsSta;
|
}ByWmmPsSta;
|
||||||
|
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
//Ref WMM_Specification_1-1.pdf, 2006-06-13 Isaiah
|
//Ref WMM_Specification_1-1.pdf, 2006-06-13 Isaiah
|
||||||
u8 ucParameterSetCount:4;
|
u8 ucParameterSetCount:4;
|
||||||
u8 ucReserved:3;
|
u8 ucReserved:3;
|
||||||
u8 ucApUapsd:1;
|
u8 ucApUapsd:1;
|
||||||
}ByWmmPsAp;
|
}ByWmmPsAp;
|
||||||
|
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u8 ucAC3_UAPSD:1;
|
u8 ucAC3_UAPSD:1;
|
||||||
u8 ucAC2_UAPSD:1;
|
u8 ucAC2_UAPSD:1;
|
||||||
u8 ucAC1_UAPSD:1;
|
u8 ucAC1_UAPSD:1;
|
||||||
@ -171,8 +163,7 @@ typedef union _QOS_INFO_FIELD{
|
|||||||
u8 ucMoreDataAck:1;
|
u8 ucMoreDataAck:1;
|
||||||
} By11eSta;
|
} By11eSta;
|
||||||
|
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u8 ucParameterSetCount:4;
|
u8 ucParameterSetCount:4;
|
||||||
u8 ucQAck:1;
|
u8 ucQAck:1;
|
||||||
u8 ucQueueReq:1;
|
u8 ucQueueReq:1;
|
||||||
@ -180,16 +171,14 @@ typedef union _QOS_INFO_FIELD{
|
|||||||
u8 ucReserved:1;
|
u8 ucReserved:1;
|
||||||
} By11eAp;
|
} By11eAp;
|
||||||
|
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u8 ucReserved1:4;
|
u8 ucReserved1:4;
|
||||||
u8 ucQAck:1;
|
u8 ucQAck:1;
|
||||||
u8 ucReserved2:2;
|
u8 ucReserved2:2;
|
||||||
u8 ucMoreDataAck:1;
|
u8 ucMoreDataAck:1;
|
||||||
} ByWmmsaSta;
|
} ByWmmsaSta;
|
||||||
|
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u8 ucReserved1:4;
|
u8 ucReserved1:4;
|
||||||
u8 ucQAck:1;
|
u8 ucQAck:1;
|
||||||
u8 ucQueueReq:1;
|
u8 ucQueueReq:1;
|
||||||
@ -197,8 +186,7 @@ typedef union _QOS_INFO_FIELD{
|
|||||||
u8 ucReserved2:1;
|
u8 ucReserved2:1;
|
||||||
} ByWmmsaAp;
|
} ByWmmsaAp;
|
||||||
|
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u8 ucAC3_UAPSD:1;
|
u8 ucAC3_UAPSD:1;
|
||||||
u8 ucAC2_UAPSD:1;
|
u8 ucAC2_UAPSD:1;
|
||||||
u8 ucAC1_UAPSD:1;
|
u8 ucAC1_UAPSD:1;
|
||||||
@ -208,8 +196,7 @@ typedef union _QOS_INFO_FIELD{
|
|||||||
u8 ucMoreDataAck:1;
|
u8 ucMoreDataAck:1;
|
||||||
} ByAllSta;
|
} ByAllSta;
|
||||||
|
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u8 ucParameterSetCount:4;
|
u8 ucParameterSetCount:4;
|
||||||
u8 ucQAck:1;
|
u8 ucQAck:1;
|
||||||
u8 ucQueueReq:1;
|
u8 ucQueueReq:1;
|
||||||
@ -246,8 +233,7 @@ typedef u32 AC_CODING;
|
|||||||
typedef union _ACI_AIFSN{
|
typedef union _ACI_AIFSN{
|
||||||
u8 charData;
|
u8 charData;
|
||||||
|
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u8 AIFSN:4;
|
u8 AIFSN:4;
|
||||||
u8 ACM:1;
|
u8 ACM:1;
|
||||||
u8 ACI:2;
|
u8 ACI:2;
|
||||||
@ -261,8 +247,7 @@ typedef union _ACI_AIFSN{
|
|||||||
//
|
//
|
||||||
typedef union _ECW{
|
typedef union _ECW{
|
||||||
u8 charData;
|
u8 charData;
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
u8 ECWmin:4;
|
u8 ECWmin:4;
|
||||||
u8 ECWmax:4;
|
u8 ECWmax:4;
|
||||||
}f; // Field
|
}f; // Field
|
||||||
@ -276,8 +261,7 @@ typedef union _AC_PARAM{
|
|||||||
u32 longData;
|
u32 longData;
|
||||||
u8 charData[4];
|
u8 charData[4];
|
||||||
|
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
ACI_AIFSN AciAifsn;
|
ACI_AIFSN AciAifsn;
|
||||||
ECW Ecw;
|
ECW Ecw;
|
||||||
u16 TXOPLimit;
|
u16 TXOPLimit;
|
||||||
@ -336,8 +320,7 @@ typedef union _QOS_TSINFO{
|
|||||||
typedef union _TSPEC_BODY{
|
typedef union _TSPEC_BODY{
|
||||||
u8 charData[55];
|
u8 charData[55];
|
||||||
|
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
QOS_TSINFO TSInfo; //u8 TSInfo[3];
|
QOS_TSINFO TSInfo; //u8 TSInfo[3];
|
||||||
u16 NominalMSDUsize;
|
u16 NominalMSDUsize;
|
||||||
u16 MaxMSDUsize;
|
u16 MaxMSDUsize;
|
||||||
|
@ -559,8 +559,7 @@ typedef enum _WIRELESS_MODE {
|
|||||||
|
|
||||||
#define RTL_IOCTL_WPA_SUPPLICANT SIOCIWFIRSTPRIV+30
|
#define RTL_IOCTL_WPA_SUPPLICANT SIOCIWFIRSTPRIV+30
|
||||||
|
|
||||||
typedef struct buffer
|
typedef struct buffer {
|
||||||
{
|
|
||||||
struct buffer *next;
|
struct buffer *next;
|
||||||
u32 *buf;
|
u32 *buf;
|
||||||
|
|
||||||
@ -600,8 +599,7 @@ typedef struct _RT_SMOOTH_DATA_4RF {
|
|||||||
|
|
||||||
#define MAX_8192U_RX_SIZE 8192 // This maybe changed for D-cut larger aggregation size
|
#define MAX_8192U_RX_SIZE 8192 // This maybe changed for D-cut larger aggregation size
|
||||||
//stats seems messed up, clean it ASAP
|
//stats seems messed up, clean it ASAP
|
||||||
typedef struct Stats
|
typedef struct Stats {
|
||||||
{
|
|
||||||
unsigned long txrdu;
|
unsigned long txrdu;
|
||||||
// unsigned long rxrdu;
|
// unsigned long rxrdu;
|
||||||
//unsigned long rxnolast;
|
//unsigned long rxnolast;
|
||||||
@ -748,8 +746,7 @@ typedef enum _RT_RF_TYPE_819xU{
|
|||||||
RF_PSEUDO_11N = 4,
|
RF_PSEUDO_11N = 4,
|
||||||
}RT_RF_TYPE_819xU, *PRT_RF_TYPE_819xU;
|
}RT_RF_TYPE_819xU, *PRT_RF_TYPE_819xU;
|
||||||
|
|
||||||
typedef struct _rate_adaptive
|
typedef struct _rate_adaptive {
|
||||||
{
|
|
||||||
u8 rate_adaptive_disabled;
|
u8 rate_adaptive_disabled;
|
||||||
u8 ratr_state;
|
u8 ratr_state;
|
||||||
u16 reserve;
|
u16 reserve;
|
||||||
@ -775,21 +772,18 @@ typedef struct _rate_adaptive
|
|||||||
#define TxBBGainTableLength 37
|
#define TxBBGainTableLength 37
|
||||||
#define CCKTxBBGainTableLength 23
|
#define CCKTxBBGainTableLength 23
|
||||||
|
|
||||||
typedef struct _txbbgain_struct
|
typedef struct _txbbgain_struct {
|
||||||
{
|
|
||||||
long txbb_iq_amplifygain;
|
long txbb_iq_amplifygain;
|
||||||
u32 txbbgain_value;
|
u32 txbbgain_value;
|
||||||
} txbbgain_struct, *ptxbbgain_struct;
|
} txbbgain_struct, *ptxbbgain_struct;
|
||||||
|
|
||||||
typedef struct _ccktxbbgain_struct
|
typedef struct _ccktxbbgain_struct {
|
||||||
{
|
|
||||||
//The Value is from a22 to a29 one Byte one time is much Safer
|
//The Value is from a22 to a29 one Byte one time is much Safer
|
||||||
u8 ccktxbb_valuearray[8];
|
u8 ccktxbb_valuearray[8];
|
||||||
} ccktxbbgain_struct,*pccktxbbgain_struct;
|
} ccktxbbgain_struct,*pccktxbbgain_struct;
|
||||||
|
|
||||||
|
|
||||||
typedef struct _init_gain
|
typedef struct _init_gain {
|
||||||
{
|
|
||||||
u8 xaagccore1;
|
u8 xaagccore1;
|
||||||
u8 xbagccore1;
|
u8 xbagccore1;
|
||||||
u8 xcagccore1;
|
u8 xcagccore1;
|
||||||
@ -799,8 +793,7 @@ typedef struct _init_gain
|
|||||||
} init_gain, *pinit_gain;
|
} init_gain, *pinit_gain;
|
||||||
//by amy 0606
|
//by amy 0606
|
||||||
|
|
||||||
typedef struct _phy_ofdm_rx_status_report_819xusb
|
typedef struct _phy_ofdm_rx_status_report_819xusb {
|
||||||
{
|
|
||||||
u8 trsw_gain_X[4];
|
u8 trsw_gain_X[4];
|
||||||
u8 pwdb_all;
|
u8 pwdb_all;
|
||||||
u8 cfosho_X[4];
|
u8 cfosho_X[4];
|
||||||
@ -816,8 +809,7 @@ typedef struct _phy_ofdm_rx_status_report_819xusb
|
|||||||
u8 rxsc_sgien_exflg;
|
u8 rxsc_sgien_exflg;
|
||||||
}phy_sts_ofdm_819xusb_t;
|
}phy_sts_ofdm_819xusb_t;
|
||||||
|
|
||||||
typedef struct _phy_cck_rx_status_report_819xusb
|
typedef struct _phy_cck_rx_status_report_819xusb {
|
||||||
{
|
|
||||||
/* For CCK rate descriptor. This is a unsigned 8:1 variable. LSB bit presend
|
/* For CCK rate descriptor. This is a unsigned 8:1 variable. LSB bit presend
|
||||||
0.5. And MSB 7 bts presend a signed value. Range from -64~+63.5. */
|
0.5. And MSB 7 bts presend a signed value. Range from -64~+63.5. */
|
||||||
u8 adc_pwdb_X[4];
|
u8 adc_pwdb_X[4];
|
||||||
@ -881,8 +873,7 @@ typedef enum _tag_TxCmd_Config_Index{
|
|||||||
TXCMD_XXXX_CTRL,
|
TXCMD_XXXX_CTRL,
|
||||||
}DCMD_TXCMD_OP;
|
}DCMD_TXCMD_OP;
|
||||||
|
|
||||||
typedef struct r8192_priv
|
typedef struct r8192_priv {
|
||||||
{
|
|
||||||
struct usb_device *udev;
|
struct usb_device *udev;
|
||||||
//added for maintain info from eeprom
|
//added for maintain info from eeprom
|
||||||
short epromtype;
|
short epromtype;
|
||||||
|
@ -164,8 +164,7 @@ static struct usb_driver rtl8192_usb_driver = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
typedef struct _CHANNEL_LIST
|
typedef struct _CHANNEL_LIST {
|
||||||
{
|
|
||||||
u8 Channel[32];
|
u8 Channel[32];
|
||||||
u8 Len;
|
u8 Len;
|
||||||
}CHANNEL_LIST, *PCHANNEL_LIST;
|
}CHANNEL_LIST, *PCHANNEL_LIST;
|
||||||
|
@ -67,8 +67,7 @@
|
|||||||
|
|
||||||
/*------------------------------Define structure----------------------------*/
|
/*------------------------------Define structure----------------------------*/
|
||||||
/* 2007/10/04 MH Define upper and lower threshold of DIG enable or disable. */
|
/* 2007/10/04 MH Define upper and lower threshold of DIG enable or disable. */
|
||||||
typedef struct _dynamic_initial_gain_threshold_
|
typedef struct _dynamic_initial_gain_threshold_ {
|
||||||
{
|
|
||||||
u8 dig_enable_flag;
|
u8 dig_enable_flag;
|
||||||
u8 dig_algorithm;
|
u8 dig_algorithm;
|
||||||
u8 dbg_mode;
|
u8 dbg_mode;
|
||||||
@ -172,8 +171,7 @@ typedef enum tag_dig_cck_cs_ratio_state_definition
|
|||||||
DIG_CS_RATIO_HIGHER = 1,
|
DIG_CS_RATIO_HIGHER = 1,
|
||||||
DIG_CS_MAX
|
DIG_CS_MAX
|
||||||
}dm_dig_cs_ratio_e;
|
}dm_dig_cs_ratio_e;
|
||||||
typedef struct _Dynamic_Rx_Path_Selection_
|
typedef struct _Dynamic_Rx_Path_Selection_ {
|
||||||
{
|
|
||||||
u8 Enable;
|
u8 Enable;
|
||||||
u8 DbgMode;
|
u8 DbgMode;
|
||||||
u8 cck_method;
|
u8 cck_method;
|
||||||
@ -203,8 +201,7 @@ typedef enum tag_DM_DbgMode_Definition
|
|||||||
DM_DBG_MAX
|
DM_DBG_MAX
|
||||||
}DM_DBG_E;
|
}DM_DBG_E;
|
||||||
|
|
||||||
typedef struct tag_Tx_Config_Cmd_Format
|
typedef struct tag_Tx_Config_Cmd_Format {
|
||||||
{
|
|
||||||
u32 Op; /* Command packet type. */
|
u32 Op; /* Command packet type. */
|
||||||
u32 Length; /* Command packet length. */
|
u32 Length; /* Command packet length. */
|
||||||
u32 Value;
|
u32 Value;
|
||||||
|
@ -354,8 +354,7 @@ static int r8192_wx_set_mode(struct net_device *dev, struct iw_request_info *a,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct iw_range_with_scan_capa
|
struct iw_range_with_scan_capa {
|
||||||
{
|
|
||||||
/* Informative stuff (to choose between different interface) */
|
/* Informative stuff (to choose between different interface) */
|
||||||
__u32 throughput; /* To give an idea... */
|
__u32 throughput; /* To give an idea... */
|
||||||
/* In theory this value should be the maximum benchmarked
|
/* In theory this value should be the maximum benchmarked
|
||||||
|
@ -19,8 +19,7 @@
|
|||||||
/*------------------------------Define structure----------------------------*/
|
/*------------------------------Define structure----------------------------*/
|
||||||
/* Define different command packet structure. */
|
/* Define different command packet structure. */
|
||||||
/* 1. RX side: TX feedback packet. */
|
/* 1. RX side: TX feedback packet. */
|
||||||
typedef struct tag_cmd_pkt_tx_feedback
|
typedef struct tag_cmd_pkt_tx_feedback {
|
||||||
{
|
|
||||||
// DWORD 0
|
// DWORD 0
|
||||||
u8 element_id; /* Command packet type. */
|
u8 element_id; /* Command packet type. */
|
||||||
u8 length; /* Command packet length. */
|
u8 length; /* Command packet length. */
|
||||||
@ -57,8 +56,7 @@ typedef struct tag_cmd_pkt_tx_feedback
|
|||||||
|
|
||||||
/* 2. RX side: Interrupt status packet. It includes Beacon State,
|
/* 2. RX side: Interrupt status packet. It includes Beacon State,
|
||||||
Beacon Timer Interrupt and other useful informations in MAC ISR Reg. */
|
Beacon Timer Interrupt and other useful informations in MAC ISR Reg. */
|
||||||
typedef struct tag_cmd_pkt_interrupt_status
|
typedef struct tag_cmd_pkt_interrupt_status {
|
||||||
{
|
|
||||||
u8 element_id; /* Command packet type. */
|
u8 element_id; /* Command packet type. */
|
||||||
u8 length; /* Command packet length. */
|
u8 length; /* Command packet length. */
|
||||||
u16 reserve;
|
u16 reserve;
|
||||||
@ -67,8 +65,7 @@ typedef struct tag_cmd_pkt_interrupt_status
|
|||||||
|
|
||||||
|
|
||||||
/* 3. TX side: Set configuration packet. */
|
/* 3. TX side: Set configuration packet. */
|
||||||
typedef struct tag_cmd_pkt_set_configuration
|
typedef struct tag_cmd_pkt_set_configuration {
|
||||||
{
|
|
||||||
u8 element_id; /* Command packet type. */
|
u8 element_id; /* Command packet type. */
|
||||||
u8 length; /* Command packet length. */
|
u8 length; /* Command packet length. */
|
||||||
u16 reserve1; /* */
|
u16 reserve1; /* */
|
||||||
@ -89,8 +86,7 @@ typedef struct tag_cmd_pkt_set_configuration
|
|||||||
#define cmpk_query_cfg_t cmpk_set_cfg_t
|
#define cmpk_query_cfg_t cmpk_set_cfg_t
|
||||||
|
|
||||||
/* 5. Multi packet feedback status. */
|
/* 5. Multi packet feedback status. */
|
||||||
typedef struct tag_tx_stats_feedback // PJ quick rxcmd 09042007
|
typedef struct tag_tx_stats_feedback { // PJ quick rxcmd 09042007
|
||||||
{
|
|
||||||
// For endian transfer --> Driver will not the same as firmware structure.
|
// For endian transfer --> Driver will not the same as firmware structure.
|
||||||
// DW 0
|
// DW 0
|
||||||
u16 reserve1;
|
u16 reserve1;
|
||||||
@ -130,8 +126,7 @@ typedef struct tag_tx_stats_feedback // PJ quick rxcmd 09042007
|
|||||||
|
|
||||||
/* 6. Debug feedback message. */
|
/* 6. Debug feedback message. */
|
||||||
/* 2007/10/23 MH Define RX debug message */
|
/* 2007/10/23 MH Define RX debug message */
|
||||||
typedef struct tag_rx_debug_message_feedback
|
typedef struct tag_rx_debug_message_feedback {
|
||||||
{
|
|
||||||
// For endian transfer --> for driver
|
// For endian transfer --> for driver
|
||||||
// DW 0
|
// DW 0
|
||||||
u16 reserve1;
|
u16 reserve1;
|
||||||
@ -144,8 +139,7 @@ typedef struct tag_rx_debug_message_feedback
|
|||||||
}cmpk_rx_dbginfo_t;
|
}cmpk_rx_dbginfo_t;
|
||||||
|
|
||||||
/* 2008/03/20 MH Define transmit rate history. For big endian format. */
|
/* 2008/03/20 MH Define transmit rate history. For big endian format. */
|
||||||
typedef struct tag_tx_rate_history
|
typedef struct tag_tx_rate_history {
|
||||||
{
|
|
||||||
// For endian transfer --> for driver
|
// For endian transfer --> for driver
|
||||||
// DW 0
|
// DW 0
|
||||||
u8 element_id; // Command packet type
|
u8 element_id; // Command packet type
|
||||||
|
Loading…
Reference in New Issue
Block a user