* style cleanup

* whitespace cleanup
* no functional change
This commit is contained in:
Alexander von Gluck IV
2011-11-12 08:34:34 -06:00
parent e67294d567
commit 5ec0ede4ba
5 changed files with 51 additions and 46 deletions
@@ -12,8 +12,6 @@
* ASIX AX88172/AX88772/AX88178 USB 2.0 Ethernet Driver
* (c) 2008 by S.Zharski, <[email protected]>
*/
#ifndef _USB_BECEEM_DEVICE_H_
#define _USB_BECEEM_DEVICE_H_
@@ -5,12 +5,13 @@
*
* Based on GPL code developed by: Beceem Communications Pvt. Ltd
*/
#ifndef _USB_BECEEM_DEVICE_STRUCT_
#define _USB_BECEEM_DEVICE_STRUCT_
#include "Driver.h"
typedef struct FirmwareInfo
{
void* pvMappedFirmwareAddress;
@@ -154,27 +155,30 @@ typedef struct _VENDORCFG
/*
ARQ Enable ==> 0xddccbbaa
aa => 0x01 Enables ARQ
bb => 0x01 Disables the ARQ feature where MS combines ARQ FB and tranport
bb => 0x01 Disable the ARQ feature where MS combines ARQ FB and tranport
CID Bw Requests:
cc => 0x01 Enable ARQ FB BW req enh
dd => 0th bit Disable ARQ Cut thru for Ack Generation
dd => 1st bit enables handling of partial nacking of PDUs, and retxing */
dd => 1st bit enable handling of partial nacking of PDUs, and retxing */
uint32 m_u32ArqEnable;
/*
HARQ Enable ==> 0xddccbbaa
aa => 0x01 Enables HARQ on Transport;
bb => 0 bit Enables HARQ on Management
bb => 1 bit Enables Out of order delivery on non-ARQ Rx ERTPS HARQ connections
bb => 2 bit Enables Out of order delivery on all non-ARQ RX HARQ connections
dd => If set, used as the PDU purge timer on the non-ARQ Rx HARQ RT connections
ERTPS, RTPS, UGS
HARQ on Management only is NOT Permitted.
Eg. 0x0101 => Enables HARQ on Management and HARQ on Transport Connections
Eg. 0x0301 => Enables HARQ on Management and HARQ on Transport Connections
Enables out of deliver on the non-ARQ rx ERTPS HARQ connections
Eg. 0x0501 => Enables HARQ on Management and HARQ on Transport Connections
Enables out of deliver on the non-ARQ RX HARQ connections */
aa => 0x01 Enable HARQ on Transport;
bb => 0 bit Enable HARQ on Management
bb => 1 bit Enable Out of order delivery on non-ARQ Rx ERTPS
HARQ connections
bb => 2 bit Enable Out of order delivery on all non-ARQ RX
HARQ connections
dd => If set, used as the PDU purge timer on the non-ARQ Rx
HARQ RT connections ERTPS, RTPS, UGS and HARQ on Management
only is NOT Permitted.
Examples:
0x0101 Enable HARQ on Management and HARQ on Transport Connections
0x0301 Enable HARQ on Management and HARQ on Transport Connections
Enable out of deliver on the non-ARQ rx ERTPS HARQ connections
0x0501 Enable HARQ on Management and HARQ on Transport Connections
Enable out of deliver on the non-ARQ RX HARQ connections */
uint32 m_u32HarqEnable;
// EEPROM Param Location
@@ -230,7 +234,7 @@ typedef struct _VENDORCFG
/*
PhyParameter2
[16] Set to 1 for accurate CINR measurement on noise limited scenarios
[16] Set 1 for accurate CINR measurement on noise limited scenarios
If set to 1, note the BTS Link Adaptation tables may need change
[15:8] Backoff in 0.25dBm steps in Transmit power to be
applied for an uncalibrated unit */
@@ -513,5 +517,5 @@ volatile bool nvmFlashRaw;
// GPIO LED bitmap
};
#endif // _USB_BECEEM_DEVICE_STRUCT_
#endif // _USB_BECEEM_DEVICE_STRUCT_
@@ -98,6 +98,7 @@
#define STATE_IDLEEXIT 0x80 // IDLEMODE_EXIT
#define STATE_HALT 0x00 // SHUTDOWN_EXIT
const uint8 kInvalidRequest = 0xff;
// version of bcm driver this was based upon + end .1
@@ -5,10 +5,11 @@
*
*/
#include <ByteOrder.h>
#include <ByteOrder.h>
#include "util.h"
void
convertEndian(bool write, uint32 uiByteCount, uint32* buffer)
{
@@ -25,6 +26,7 @@ convertEndian(bool write, uint32 uiByteCount, uint32* buffer)
}
}
uint16_t
CalculateHWChecksum(uint8_t* pu8Buffer, uint32 u32Size)
{
@@ -35,4 +37,3 @@ CalculateHWChecksum(uint8_t* pu8Buffer, uint32 u32Size)
}
return u16CheckSum;
}
@@ -5,8 +5,9 @@
*
*/
#include "Driver.h"
void convertEndian(bool write, uint32 uiByteCount, uint32* buffer);
uint16_t CalculateHWChecksum(uint8_t* pu8Buffer, uint32 u32Size);