Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
Macros.h File Reference

Go to the source code of this file.

Data Structures

struct  _LINK_STATE
 

Macros

#define TX_TIMER_PERIOD   10 /*10 msec*/
 
#define MAX_CLASSIFIERS   100
 
#define MAX_TARGET_DSX_BUFFERS   24
 
#define MAX_CNTRL_PKTS   100
 
#define MAX_DATA_PKTS   200
 
#define MAX_ETH_SIZE   1536
 
#define MAX_CNTL_PKT_SIZE   2048
 
#define MTU_SIZE   1400
 
#define TX_QLEN   5
 
#define MAC_ADDR_REGISTER   0xbf60d000
 
#define NO_OF_QUEUES   17
 
#define HiPriority   (NO_OF_QUEUES-1)
 
#define LowPriority   0
 
#define BE   2
 
#define rtPS   4
 
#define ERTPS   5
 
#define UGS   6
 
#define BE_BUCKET_SIZE   (1024*1024*100) /* 32kb */
 
#define rtPS_BUCKET_SIZE   (1024*1024*100) /* 8kb */
 
#define MAX_ALLOWED_RATE   (1024*1024*100)
 
#define TX_PACKET_THRESHOLD   10
 
#define XSECONDS   (1*HZ)
 
#define DSC_ACTIVATE_REQUEST   248
 
#define QUEUE_DEPTH_OFFSET   0x1fc01000
 
#define MAX_DEVICE_DESC_SIZE   2040
 
#define MAX_CTRL_QUEUE_LEN   100
 
#define MAX_APP_QUEUE_LEN   200
 
#define MAX_LATENCY_ALLOWED   0xFFFFFFFF
 
#define DEFAULT_UG_INTERVAL   250
 
#define DEFAULT_UGI_FACTOR   4
 
#define DEFAULT_PERSFCOUNT   60
 
#define MAX_CONNECTIONS   10
 
#define MAX_CLASS_NAME_LENGTH   32
 
#define ETH_LENGTH_OF_ADDRESS   6
 
#define MAX_MULTICAST_ADDRESSES   32
 
#define IP_LENGTH_OF_ADDRESS   4
 
#define IP_PACKET_ONLY_MODE   0
 
#define ETH_PACKET_TUNNELING_MODE   1
 
#define SET_MAC_ADDRESS_REQUEST   0
 
#define SYNC_UP_REQUEST   1
 
#define SYNCED_UP   2
 
#define LINK_UP_REQUEST   3
 
#define LINK_CONNECTED   4
 
#define SYNC_UP_NOTIFICATION   2
 
#define LINK_UP_NOTIFICATION   4
 
#define LINK_NET_ENTRY   0x0002
 
#define HMC_STATUS   0x0004
 
#define LINK_UP_CONTROL_REQ   0x83
 
#define STATS_POINTER_REQ_STATUS   0x86
 
#define NETWORK_ENTRY_REQ_PAYLOAD   198
 
#define LINK_DOWN_REQ_PAYLOAD   226
 
#define SYNC_UP_REQ_PAYLOAD   228
 
#define STATISTICS_POINTER_REQ   237
 
#define LINK_UP_REQ_PAYLOAD   245
 
#define LINK_UP_ACK   246
 
#define STATS_MSG_SIZE   4
 
#define INDEX_TO_DATA   4
 
#define GO_TO_IDLE_MODE_PAYLOAD   210
 
#define COME_UP_FROM_IDLE_MODE_PAYLOAD   211
 
#define IDLE_MODE_SF_UPDATE_MSG   187
 
#define SKB_RESERVE_ETHERNET_HEADER   16
 
#define SKB_RESERVE_PHS_BYTES   32
 
#define IP_PACKET_ONLY_MODE   0
 
#define ETH_PACKET_TUNNELING_MODE   1
 
#define ETH_CS_802_3   1
 
#define ETH_CS_802_1Q_VLAN   3
 
#define IPV4_CS   1
 
#define IPV6_CS   2
 
#define ETH_CS_MASK   0x3f
 
#define PKT_CLASSIFICATION_USER_PRIORITY_VALID   0
 Validity bit maps for TLVs in packet classification rule.
 
#define PKT_CLASSIFICATION_VLANID_VALID   1
 
#define MIN(_a, _b)   ((_a) < (_b) ? (_a) : (_b))
 
#define LEADER_STATUS   0x00
 
#define LEADER_STATUS_TCP_ACK   0x1
 
#define LEADER_SIZE   sizeof(struct bcm_leader)
 
#define MAC_ADDR_REQ_SIZE   sizeof(struct bcm_packettosend)
 
#define SS_INFO_REQ_SIZE   sizeof(struct bcm_packettosend)
 
#define CM_REQUEST_SIZE   (LEADER_SIZE + sizeof(stLocalSFChangeRequest))
 
#define IDLE_REQ_SIZE   sizeof(struct bcm_packettosend)
 
#define MAX_TRANSFER_CTRL_BYTE_USB   (2*1024)
 
#define GET_MAILBOX1_REG_REQUEST   0x87
 
#define GET_MAILBOX1_REG_RESPONSE   0x67
 
#define VCID_CONTROL_PACKET   0x00
 
#define TRANSMIT_NETWORK_DATA   0x00
 
#define RECEIVED_NETWORK_DATA   0x20
 
#define CM_RESPONSES   0xA0
 
#define STATUS_RSP   0xA1
 
#define LINK_CONTROL_RESP   0xA2
 
#define IDLE_MODE_STATUS   0xA3
 
#define STATS_POINTER_RESP   0xA6
 
#define MGMT_MSG_INFO_SW_STATUS   0xA7
 
#define AUTH_SS_HOST_MSG   0xA8
 
#define CM_DSA_ACK_PAYLOAD   247
 
#define CM_DSC_ACK_PAYLOAD   248
 
#define CM_DSD_ACK_PAYLOAD   249
 
#define CM_DSDEACTVATE   250
 
#define TOTAL_MASKED_ADDRESS_IN_BYTES   32
 
#define MAC_REQ   0
 
#define LINK_RESP   1
 
#define RSSI_INDICATION   2
 
#define SS_INFO   4
 
#define STATISTICS_INFO   5
 
#define CM_INDICATION   6
 
#define PARAM_RESP   7
 
#define BUFFER_1K   1024
 
#define BUFFER_2K   (BUFFER_1K*2)
 
#define BUFFER_4K   (BUFFER_2K*2)
 
#define BUFFER_8K   (BUFFER_4K*2)
 
#define BUFFER_16K   (BUFFER_8K*2)
 
#define DOWNLINK_DIR   0
 
#define UPLINK_DIR   1
 
#define BCM_SIGNATURE   "BECEEM"
 
#define GPIO_OUTPUT_REGISTER   0x0F00003C
 
#define BCM_GPIO_OUTPUT_SET_REG   0x0F000040
 
#define BCM_GPIO_OUTPUT_CLR_REG   0x0F000044
 
#define GPIO_MODE_REGISTER   0x0F000034
 
#define GPIO_PIN_STATE_REGISTER   0x0F000038
 
#define CM_CONTROL_NEWDSX_MULTICLASSIFIER_REQ   0x89 /* Host to Mac */
 
#define CM_CONTROL_NEWDSX_MULTICLASSIFIER_RESP   0xA9 /* Mac to Host */
 
#define MASK_DISABLE_HEADER_SUPPRESSION   0x10 /* 0b000010000 */
 
#define MINIMUM_PENDING_DESCRIPTORS   5
 
#define SHUTDOWN_HOSTINITIATED_REQUESTPAYLOAD   0xCC
 
#define SHUTDOWN_ACK_FROM_DRIVER   0x1
 
#define SHUTDOWN_NACK_FROM_DRIVER   0x2
 
#define LINK_SYNC_UP_SUBTYPE   0x0001
 
#define LINK_SYNC_DOWN_SUBTYPE   0x0001
 
#define CONT_MODE   1
 
#define SINGLE_DESCRIPTOR   1
 
#define DESCRIPTOR_LENGTH   0x30
 
#define FIRMWARE_DESCS_ADDRESS   0x1F100000
 
#define CLOCK_RESET_CNTRL_REG_1   0x0F00000C
 
#define CLOCK_RESET_CNTRL_REG_2   0x0F000840
 
#define TX_DESCRIPTOR_HEAD_REGISTER   0x0F010034
 
#define RX_DESCRIPTOR_HEAD_REGISTER   0x0F010094
 
#define STATISTICS_BEGIN_ADDR   0xbf60f02c
 
#define MAX_PENDING_CTRL_PACKET   (MAX_CTRL_QUEUE_LEN-10)
 
#define WIMAX_MAX_MTU   (MTU_SIZE + ETH_HLEN)
 
#define AUTO_LINKUP_ENABLE   0x2
 
#define AUTO_SYNC_DISABLE   0x1
 
#define AUTO_FIRM_DOWNLOAD   0x1
 
#define SETTLE_DOWN_TIME   50
 
#define HOST_BUS_SUSPEND_BIT   16
 
#define IDLE_MESSAGE   0x81
 
#define MIPS_CLOCK_133MHz   1
 
#define TARGET_CAN_GO_TO_IDLE_MODE   2
 
#define TARGET_CAN_NOT_GO_TO_IDLE_MODE   3
 
#define IDLE_MODE_PAYLOAD_LENGTH   8
 
#define IP_HEADER(Buffer)   ((IPHeaderFormat *)(Buffer))
 
#define IPV4   4
 
#define IP_VERSION(byte)   (((byte&0xF0)>>4))
 
#define SET_MAC_ADDRESS   193
 
#define SET_MAC_ADDRESS_RESPONSE   236
 
#define IDLE_MODE_WAKEUP_PATTERN   0xd0ea1d1e
 
#define IDLE_MODE_WAKEUP_NOTIFIER_ADDRESS   0x1FC02FA8
 
#define IDLE_MODE_MAX_RETRY_COUNT   1000
 
#define CONFIG_BEGIN_ADDR   0xBF60B000
 
#define FIRMWARE_BEGIN_ADDR   0xBFC00000
 
#define INVALID_QUEUE_INDEX   NO_OF_QUEUES
 
#define INVALID_PID   ((pid_t)-1)
 
#define DDR_80_MHZ   0
 
#define DDR_100_MHZ   1
 
#define DDR_120_MHZ   2 /* Additional Frequency for T3LP */
 
#define DDR_133_MHZ   3
 
#define DDR_140_MHZ   4 /* Not Used (Reserved for future) */
 
#define DDR_160_MHZ   5 /* Additional Frequency for T3LP */
 
#define DDR_180_MHZ   6 /* Not Used (Reserved for future) */
 
#define DDR_200_MHZ   7 /* Not Used (Reserved for future) */
 
#define MIPS_200_MHZ   0
 
#define MIPS_160_MHZ   1
 
#define PLL_800_MHZ   0
 
#define PLL_266_MHZ   1
 
#define DEVICE_POWERSAVE_MODE_AS_MANUAL_CLOCK_GATING   0
 
#define DEVICE_POWERSAVE_MODE_AS_PMU_CLOCK_GATING   1
 
#define DEVICE_POWERSAVE_MODE_AS_PMU_SHUTDOWN   2
 
#define DEVICE_POWERSAVE_MODE_AS_RESERVED   3
 
#define DEVICE_POWERSAVE_MODE_AS_PROTOCOL_IDLE_MODE   4
 
#define EEPROM_REJECT_REG_1   0x0f003018
 
#define EEPROM_REJECT_REG_2   0x0f00301c
 
#define EEPROM_REJECT_REG_3   0x0f003008
 
#define EEPROM_REJECT_REG_4   0x0f003020
 
#define EEPROM_REJECT_MASK   0x0fffffff
 
#define VSG_MODE   0x3
 
#define DEBUG_INTERRUPT_GENERATOR_REGISTOR   0x0F00007C
 
#define SW_ABORT_IDLEMODE_LOC   0x0FF01FFC
 
#define SW_ABORT_IDLEMODE_PATTERN   0xd0ea1d1e
 
#define DEVICE_INT_OUT_EP_REG0   0x0F011870
 
#define DEVICE_INT_OUT_EP_REG1   0x0F011874
 
#define BIN_FILE   "/lib/firmware/macxvi200.bin"
 
#define CFG_FILE   "/lib/firmware/macxvi.cfg"
 
#define SF_MAX_ALLOWED_PACKETS_TO_BACKUP   128
 
#define MIN_VAL(x, y)   ((x) < (y) ? (x) : (y))
 
#define MAC_ADDRESS_SIZE   6
 
#define EEPROM_COMMAND_Q_REG   0x0F003018
 
#define EEPROM_READ_DATA_Q_REG   0x0F003020
 
#define CHIP_ID_REG   0x0F000000
 
#define GPIO_MODE_REG   0x0F000034
 
#define GPIO_OUTPUT_REG   0x0F00003C
 
#define WIMAX_MAX_ALLOWED_RATE   (1024*1024*50)
 
#define T3   0xbece0300
 
#define TARGET_SFID_TXDESC_MAP_LOC   0xBFFFF400
 
#define RWM_READ   0
 
#define RWM_WRITE   1
 
#define T3LPB   0xbece3300
 
#define BCS220_2   0xbece3311
 
#define BCS220_2BC   0xBECE3310
 
#define BCS250_BC   0xbece3301
 
#define BCS220_3   0xbece3321
 
#define HPM_CONFIG_LDO145   0x0F000D54
 
#define HPM_CONFIG_MSW   0x0F000D58
 
#define T3B   0xbece0310
 
#define MAX_RDM_WRM_RETIRES   1
 
#define SKB_CB_CLASSIFICATION_OFFSET   0
 
#define SKB_CB_LATENCY_OFFSET   1
 
#define SKB_CB_TCPACK_OFFSET   2
 

Typedefs

typedef struct _LINK_STATE LINK_STATE
 
typedef struct _LINK_STATEPLINK_STATE
 
typedef enum _E_PHS_DSC_ACTION E_PHS_DSC_ACTION
 
typedef enum eNVM_TYPE NVM_TYPE
 
typedef enum ePMU_MODES PMU_MODE
 

Enumerations

enum  enLinkStatus {
  WAIT_FOR_SYNC = 1, PHY_SYNC_ACHIVED = 2, LINKUP_IN_PROGRESS = 3, LINKUP_DONE = 4,
  DREG_RECEIVED = 5, LINK_STATUS_RESET_RECEIVED = 6, PERIODIC_WAKE_UP_NOTIFICATION_FRM_FW = 7, LINK_SHUTDOWN_REQ_FROM_FIRMWARE = 8,
  COMPLETE_WAKE_UP_NOTIFICATION_FRM_FW = 9
}
 
enum  _E_PHS_DSC_ACTION { eAddPHSRule = 0, eSetPHSRule, eDeletePHSRule, eDeleteAllPHSRules }
 
enum  eNVM_TYPE { NVM_AUTODETECT = 0, NVM_EEPROM, NVM_FLASH, NVM_UNKNOWN }
 
enum  ePMU_MODES { HYBRID_MODE_7C = 0, INTERNAL_MODE_6 = 1, HYBRID_MODE_6 = 2 }
 
enum  eAbortPattern { ABORT_SHUTDOWN_MODE = 1, ABORT_IDLE_REG = 1, ABORT_IDLE_MODE = 2, ABORT_IDLE_SYNCDOWN = 3 }
 

Macro Definition Documentation

#define AUTH_SS_HOST_MSG   0xA8

Definition at line 132 of file Macros.h.

#define AUTO_FIRM_DOWNLOAD   0x1

Definition at line 230 of file Macros.h.

#define AUTO_LINKUP_ENABLE   0x2

Definition at line 228 of file Macros.h.

#define AUTO_SYNC_DISABLE   0x1

Definition at line 229 of file Macros.h.

#define BCM_GPIO_OUTPUT_CLR_REG   0x0F000044

Definition at line 161 of file Macros.h.

#define BCM_GPIO_OUTPUT_SET_REG   0x0F000040

Definition at line 160 of file Macros.h.

#define BCM_SIGNATURE   "BECEEM"

Definition at line 156 of file Macros.h.

#define BCS220_2   0xbece3311

Definition at line 317 of file Macros.h.

#define BCS220_2BC   0xBECE3310

Definition at line 318 of file Macros.h.

#define BCS220_3   0xbece3321

Definition at line 320 of file Macros.h.

#define BCS250_BC   0xbece3301

Definition at line 319 of file Macros.h.

#define BE   2

Definition at line 26 of file Macros.h.

#define BE_BUCKET_SIZE   (1024*1024*100) /* 32kb */

Definition at line 31 of file Macros.h.

#define BIN_FILE   "/lib/firmware/macxvi200.bin"

Definition at line 298 of file Macros.h.

#define BUFFER_16K   (BUFFER_8K*2)

Definition at line 152 of file Macros.h.

#define BUFFER_1K   1024

Definition at line 148 of file Macros.h.

#define BUFFER_2K   (BUFFER_1K*2)

Definition at line 149 of file Macros.h.

#define BUFFER_4K   (BUFFER_2K*2)

Definition at line 150 of file Macros.h.

#define BUFFER_8K   (BUFFER_4K*2)

Definition at line 151 of file Macros.h.

#define CFG_FILE   "/lib/firmware/macxvi.cfg"

Definition at line 299 of file Macros.h.

#define CHIP_ID_REG   0x0F000000

Definition at line 305 of file Macros.h.

#define CLOCK_RESET_CNTRL_REG_1   0x0F00000C

Definition at line 215 of file Macros.h.

#define CLOCK_RESET_CNTRL_REG_2   0x0F000840

Definition at line 216 of file Macros.h.

#define CM_CONTROL_NEWDSX_MULTICLASSIFIER_REQ   0x89 /* Host to Mac */

Definition at line 193 of file Macros.h.

#define CM_CONTROL_NEWDSX_MULTICLASSIFIER_RESP   0xA9 /* Mac to Host */

Definition at line 194 of file Macros.h.

#define CM_DSA_ACK_PAYLOAD   247

Definition at line 134 of file Macros.h.

#define CM_DSC_ACK_PAYLOAD   248

Definition at line 135 of file Macros.h.

#define CM_DSD_ACK_PAYLOAD   249

Definition at line 136 of file Macros.h.

#define CM_DSDEACTVATE   250

Definition at line 137 of file Macros.h.

#define CM_INDICATION   6

Definition at line 146 of file Macros.h.

#define CM_REQUEST_SIZE   (LEADER_SIZE + sizeof(stLocalSFChangeRequest))

Definition at line 113 of file Macros.h.

#define CM_RESPONSES   0xA0

Definition at line 126 of file Macros.h.

#define COME_UP_FROM_IDLE_MODE_PAYLOAD   211

Definition at line 82 of file Macros.h.

#define CONFIG_BEGIN_ADDR   0xBF60B000

Definition at line 254 of file Macros.h.

#define CONT_MODE   1

Definition at line 207 of file Macros.h.

#define DDR_100_MHZ   1

Definition at line 262 of file Macros.h.

#define DDR_120_MHZ   2 /* Additional Frequency for T3LP */

Definition at line 263 of file Macros.h.

#define DDR_133_MHZ   3

Definition at line 264 of file Macros.h.

#define DDR_140_MHZ   4 /* Not Used (Reserved for future) */

Definition at line 265 of file Macros.h.

#define DDR_160_MHZ   5 /* Additional Frequency for T3LP */

Definition at line 266 of file Macros.h.

#define DDR_180_MHZ   6 /* Not Used (Reserved for future) */

Definition at line 267 of file Macros.h.

#define DDR_200_MHZ   7 /* Not Used (Reserved for future) */

Definition at line 268 of file Macros.h.

#define DDR_80_MHZ   0

Definition at line 261 of file Macros.h.

#define DEBUG_INTERRUPT_GENERATOR_REGISTOR   0x0F00007C

Definition at line 291 of file Macros.h.

#define DEFAULT_PERSFCOUNT   60

Definition at line 45 of file Macros.h.

#define DEFAULT_UG_INTERVAL   250

Definition at line 42 of file Macros.h.

#define DEFAULT_UGI_FACTOR   4

Definition at line 43 of file Macros.h.

#define DESCRIPTOR_LENGTH   0x30

Definition at line 211 of file Macros.h.

#define DEVICE_INT_OUT_EP_REG0   0x0F011870

Definition at line 295 of file Macros.h.

#define DEVICE_INT_OUT_EP_REG1   0x0F011874

Definition at line 296 of file Macros.h.

#define DEVICE_POWERSAVE_MODE_AS_MANUAL_CLOCK_GATING   0

Definition at line 276 of file Macros.h.

#define DEVICE_POWERSAVE_MODE_AS_PMU_CLOCK_GATING   1

Definition at line 277 of file Macros.h.

#define DEVICE_POWERSAVE_MODE_AS_PMU_SHUTDOWN   2

Definition at line 278 of file Macros.h.

#define DEVICE_POWERSAVE_MODE_AS_PROTOCOL_IDLE_MODE   4

Definition at line 280 of file Macros.h.

#define DEVICE_POWERSAVE_MODE_AS_RESERVED   3

Definition at line 279 of file Macros.h.

#define DOWNLINK_DIR   0

Definition at line 153 of file Macros.h.

#define DSC_ACTIVATE_REQUEST   248

Definition at line 36 of file Macros.h.

#define EEPROM_COMMAND_Q_REG   0x0F003018

Definition at line 303 of file Macros.h.

#define EEPROM_READ_DATA_Q_REG   0x0F003020

Definition at line 304 of file Macros.h.

#define EEPROM_REJECT_MASK   0x0fffffff

Definition at line 287 of file Macros.h.

#define EEPROM_REJECT_REG_1   0x0f003018

Definition at line 283 of file Macros.h.

#define EEPROM_REJECT_REG_2   0x0f00301c

Definition at line 284 of file Macros.h.

#define EEPROM_REJECT_REG_3   0x0f003008

Definition at line 285 of file Macros.h.

#define EEPROM_REJECT_REG_4   0x0f003020

Definition at line 286 of file Macros.h.

#define ERTPS   5

Definition at line 28 of file Macros.h.

#define ETH_CS_802_1Q_VLAN   3

Definition at line 92 of file Macros.h.

#define ETH_CS_802_3   1

Definition at line 91 of file Macros.h.

#define ETH_CS_MASK   0x3f

Definition at line 95 of file Macros.h.

#define ETH_LENGTH_OF_ADDRESS   6

Definition at line 49 of file Macros.h.

#define ETH_PACKET_TUNNELING_MODE   1

Definition at line 89 of file Macros.h.

#define ETH_PACKET_TUNNELING_MODE   1

Definition at line 89 of file Macros.h.

#define FIRMWARE_BEGIN_ADDR   0xBFC00000

Definition at line 256 of file Macros.h.

#define FIRMWARE_DESCS_ADDRESS   0x1F100000

Definition at line 212 of file Macros.h.

#define GET_MAILBOX1_REG_REQUEST   0x87

Definition at line 119 of file Macros.h.

#define GET_MAILBOX1_REG_RESPONSE   0x67

Definition at line 120 of file Macros.h.

#define GO_TO_IDLE_MODE_PAYLOAD   210

Definition at line 81 of file Macros.h.

#define GPIO_MODE_REG   0x0F000034

Definition at line 306 of file Macros.h.

#define GPIO_MODE_REGISTER   0x0F000034

Definition at line 162 of file Macros.h.

#define GPIO_OUTPUT_REG   0x0F00003C

Definition at line 307 of file Macros.h.

#define GPIO_OUTPUT_REGISTER   0x0F00003C

Definition at line 159 of file Macros.h.

#define GPIO_PIN_STATE_REGISTER   0x0F000038

Definition at line 163 of file Macros.h.

#define HiPriority   (NO_OF_QUEUES-1)

Definition at line 24 of file Macros.h.

#define HMC_STATUS   0x0004

Definition at line 67 of file Macros.h.

#define HOST_BUS_SUSPEND_BIT   16

Definition at line 233 of file Macros.h.

#define HPM_CONFIG_LDO145   0x0F000D54

Definition at line 323 of file Macros.h.

#define HPM_CONFIG_MSW   0x0F000D58

Definition at line 324 of file Macros.h.

#define IDLE_MESSAGE   0x81

Definition at line 235 of file Macros.h.

#define IDLE_MODE_MAX_RETRY_COUNT   1000

Definition at line 252 of file Macros.h.

#define IDLE_MODE_PAYLOAD_LENGTH   8

Definition at line 241 of file Macros.h.

#define IDLE_MODE_SF_UPDATE_MSG   187

Definition at line 83 of file Macros.h.

#define IDLE_MODE_STATUS   0xA3

Definition at line 129 of file Macros.h.

#define IDLE_MODE_WAKEUP_NOTIFIER_ADDRESS   0x1FC02FA8

Definition at line 251 of file Macros.h.

#define IDLE_MODE_WAKEUP_PATTERN   0xd0ea1d1e

Definition at line 250 of file Macros.h.

#define IDLE_REQ_SIZE   sizeof(struct bcm_packettosend)

Definition at line 114 of file Macros.h.

#define INDEX_TO_DATA   4

Definition at line 79 of file Macros.h.

#define INVALID_PID   ((pid_t)-1)

Definition at line 260 of file Macros.h.

#define INVALID_QUEUE_INDEX   NO_OF_QUEUES

Definition at line 258 of file Macros.h.

#define IP_HEADER (   Buffer)    ((IPHeaderFormat *)(Buffer))

Definition at line 243 of file Macros.h.

#define IP_LENGTH_OF_ADDRESS   4

Definition at line 51 of file Macros.h.

#define IP_PACKET_ONLY_MODE   0

Definition at line 88 of file Macros.h.

#define IP_PACKET_ONLY_MODE   0

Definition at line 88 of file Macros.h.

#define IP_VERSION (   byte)    (((byte&0xF0)>>4))

Definition at line 245 of file Macros.h.

#define IPV4   4

Definition at line 244 of file Macros.h.

#define IPV4_CS   1

Definition at line 93 of file Macros.h.

#define IPV6_CS   2

Definition at line 94 of file Macros.h.

#define LEADER_SIZE   sizeof(struct bcm_leader)

Definition at line 110 of file Macros.h.

#define LEADER_STATUS   0x00

Definition at line 108 of file Macros.h.

#define LEADER_STATUS_TCP_ACK   0x1

Definition at line 109 of file Macros.h.

#define LINK_CONNECTED   4

Definition at line 61 of file Macros.h.

#define LINK_CONTROL_RESP   0xA2

Definition at line 128 of file Macros.h.

#define LINK_DOWN_REQ_PAYLOAD   226

Definition at line 72 of file Macros.h.

#define LINK_NET_ENTRY   0x0002

Definition at line 66 of file Macros.h.

#define LINK_RESP   1

Definition at line 141 of file Macros.h.

#define LINK_SYNC_DOWN_SUBTYPE   0x0001

Definition at line 203 of file Macros.h.

#define LINK_SYNC_UP_SUBTYPE   0x0001

Definition at line 202 of file Macros.h.

#define LINK_UP_ACK   246

Definition at line 76 of file Macros.h.

#define LINK_UP_CONTROL_REQ   0x83

Definition at line 68 of file Macros.h.

#define LINK_UP_NOTIFICATION   4

Definition at line 63 of file Macros.h.

#define LINK_UP_REQ_PAYLOAD   245

Definition at line 75 of file Macros.h.

#define LINK_UP_REQUEST   3

Definition at line 60 of file Macros.h.

#define LowPriority   0

Definition at line 25 of file Macros.h.

#define MAC_ADDR_REGISTER   0xbf60d000

Definition at line 19 of file Macros.h.

#define MAC_ADDR_REQ_SIZE   sizeof(struct bcm_packettosend)

Definition at line 111 of file Macros.h.

#define MAC_ADDRESS_SIZE   6

Definition at line 302 of file Macros.h.

#define MAC_REQ   0

Definition at line 140 of file Macros.h.

#define MASK_DISABLE_HEADER_SUPPRESSION   0x10 /* 0b000010000 */

Definition at line 195 of file Macros.h.

#define MAX_ALLOWED_RATE   (1024*1024*100)

Definition at line 33 of file Macros.h.

#define MAX_APP_QUEUE_LEN   200

Definition at line 40 of file Macros.h.

#define MAX_CLASS_NAME_LENGTH   32

Definition at line 47 of file Macros.h.

#define MAX_CLASSIFIERS   100

Definition at line 8 of file Macros.h.

#define MAX_CNTL_PKT_SIZE   2048

Definition at line 14 of file Macros.h.

#define MAX_CNTRL_PKTS   100

Definition at line 11 of file Macros.h.

#define MAX_CONNECTIONS   10

Definition at line 46 of file Macros.h.

#define MAX_CTRL_QUEUE_LEN   100

Definition at line 39 of file Macros.h.

#define MAX_DATA_PKTS   200

Definition at line 12 of file Macros.h.

#define MAX_DEVICE_DESC_SIZE   2040

Definition at line 38 of file Macros.h.

#define MAX_ETH_SIZE   1536

Definition at line 13 of file Macros.h.

#define MAX_LATENCY_ALLOWED   0xFFFFFFFF

Definition at line 41 of file Macros.h.

#define MAX_MULTICAST_ADDRESSES   32

Definition at line 50 of file Macros.h.

#define MAX_PENDING_CTRL_PACKET   (MAX_CTRL_QUEUE_LEN-10)

Definition at line 225 of file Macros.h.

#define MAX_RDM_WRM_RETIRES   1

Definition at line 340 of file Macros.h.

#define MAX_TARGET_DSX_BUFFERS   24

Definition at line 9 of file Macros.h.

#define MAX_TRANSFER_CTRL_BYTE_USB   (2*1024)

Definition at line 117 of file Macros.h.

#define MGMT_MSG_INFO_SW_STATUS   0xA7

Definition at line 131 of file Macros.h.

#define MIN (   _a,
  _b 
)    ((_a) < (_b) ? (_a) : (_b))

Definition at line 103 of file Macros.h.

#define MIN_VAL (   x,
  y 
)    ((x) < (y) ? (x) : (y))

Definition at line 301 of file Macros.h.

#define MINIMUM_PENDING_DESCRIPTORS   5

Definition at line 196 of file Macros.h.

#define MIPS_160_MHZ   1

Definition at line 271 of file Macros.h.

#define MIPS_200_MHZ   0

Definition at line 270 of file Macros.h.

#define MIPS_CLOCK_133MHz   1

Definition at line 237 of file Macros.h.

#define MTU_SIZE   1400

Definition at line 16 of file Macros.h.

#define NETWORK_ENTRY_REQ_PAYLOAD   198

Definition at line 71 of file Macros.h.

#define NO_OF_QUEUES   17

Definition at line 23 of file Macros.h.

#define PARAM_RESP   7

Definition at line 147 of file Macros.h.

#define PKT_CLASSIFICATION_USER_PRIORITY_VALID   0

Validity bit maps for TLVs in packet classification rule.

Definition at line 99 of file Macros.h.

#define PKT_CLASSIFICATION_VLANID_VALID   1

Definition at line 100 of file Macros.h.

#define PLL_266_MHZ   1

Definition at line 274 of file Macros.h.

#define PLL_800_MHZ   0

Definition at line 273 of file Macros.h.

#define QUEUE_DEPTH_OFFSET   0x1fc01000

Definition at line 37 of file Macros.h.

#define RECEIVED_NETWORK_DATA   0x20

Definition at line 124 of file Macros.h.

#define RSSI_INDICATION   2

Definition at line 142 of file Macros.h.

#define rtPS   4

Definition at line 27 of file Macros.h.

#define rtPS_BUCKET_SIZE   (1024*1024*100) /* 8kb */

Definition at line 32 of file Macros.h.

#define RWM_READ   0

Definition at line 313 of file Macros.h.

#define RWM_WRITE   1

Definition at line 314 of file Macros.h.

#define RX_DESCRIPTOR_HEAD_REGISTER   0x0F010094

Definition at line 221 of file Macros.h.

#define SET_MAC_ADDRESS   193

Definition at line 247 of file Macros.h.

#define SET_MAC_ADDRESS_REQUEST   0

Definition at line 57 of file Macros.h.

#define SET_MAC_ADDRESS_RESPONSE   236

Definition at line 248 of file Macros.h.

#define SETTLE_DOWN_TIME   50

Definition at line 231 of file Macros.h.

#define SF_MAX_ALLOWED_PACKETS_TO_BACKUP   128

Definition at line 300 of file Macros.h.

#define SHUTDOWN_ACK_FROM_DRIVER   0x1

Definition at line 199 of file Macros.h.

#define SHUTDOWN_HOSTINITIATED_REQUESTPAYLOAD   0xCC

Definition at line 198 of file Macros.h.

#define SHUTDOWN_NACK_FROM_DRIVER   0x2

Definition at line 200 of file Macros.h.

#define SINGLE_DESCRIPTOR   1

Definition at line 208 of file Macros.h.

#define SKB_CB_CLASSIFICATION_OFFSET   0

Definition at line 351 of file Macros.h.

#define SKB_CB_LATENCY_OFFSET   1

Definition at line 352 of file Macros.h.

#define SKB_CB_TCPACK_OFFSET   2

Definition at line 353 of file Macros.h.

#define SKB_RESERVE_ETHERNET_HEADER   16

Definition at line 85 of file Macros.h.

#define SKB_RESERVE_PHS_BYTES   32

Definition at line 86 of file Macros.h.

#define SS_INFO   4

Definition at line 144 of file Macros.h.

#define SS_INFO_REQ_SIZE   sizeof(struct bcm_packettosend)

Definition at line 112 of file Macros.h.

#define STATISTICS_BEGIN_ADDR   0xbf60f02c

Definition at line 223 of file Macros.h.

#define STATISTICS_INFO   5

Definition at line 145 of file Macros.h.

#define STATISTICS_POINTER_REQ   237

Definition at line 74 of file Macros.h.

#define STATS_MSG_SIZE   4

Definition at line 78 of file Macros.h.

#define STATS_POINTER_REQ_STATUS   0x86

Definition at line 70 of file Macros.h.

#define STATS_POINTER_RESP   0xA6

Definition at line 130 of file Macros.h.

#define STATUS_RSP   0xA1

Definition at line 127 of file Macros.h.

#define SW_ABORT_IDLEMODE_LOC   0x0FF01FFC

Definition at line 292 of file Macros.h.

#define SW_ABORT_IDLEMODE_PATTERN   0xd0ea1d1e

Definition at line 294 of file Macros.h.

#define SYNC_UP_NOTIFICATION   2

Definition at line 62 of file Macros.h.

#define SYNC_UP_REQ_PAYLOAD   228

Definition at line 73 of file Macros.h.

#define SYNC_UP_REQUEST   1

Definition at line 58 of file Macros.h.

#define SYNCED_UP   2

Definition at line 59 of file Macros.h.

#define T3   0xbece0300

Definition at line 310 of file Macros.h.

#define T3B   0xbece0310

Definition at line 326 of file Macros.h.

#define T3LPB   0xbece3300

Definition at line 316 of file Macros.h.

#define TARGET_CAN_GO_TO_IDLE_MODE   2

Definition at line 239 of file Macros.h.

#define TARGET_CAN_NOT_GO_TO_IDLE_MODE   3

Definition at line 240 of file Macros.h.

#define TARGET_SFID_TXDESC_MAP_LOC   0xBFFFF400

Definition at line 311 of file Macros.h.

#define TOTAL_MASKED_ADDRESS_IN_BYTES   32

Definition at line 138 of file Macros.h.

#define TRANSMIT_NETWORK_DATA   0x00

Definition at line 123 of file Macros.h.

#define TX_DESCRIPTOR_HEAD_REGISTER   0x0F010034

Definition at line 220 of file Macros.h.

#define TX_PACKET_THRESHOLD   10

Definition at line 34 of file Macros.h.

#define TX_QLEN   5

Definition at line 17 of file Macros.h.

#define TX_TIMER_PERIOD   10 /*10 msec*/

Definition at line 7 of file Macros.h.

#define UGS   6

Definition at line 29 of file Macros.h.

#define UPLINK_DIR   1

Definition at line 154 of file Macros.h.

#define VCID_CONTROL_PACKET   0x00

Definition at line 121 of file Macros.h.

#define VSG_MODE   0x3

Definition at line 288 of file Macros.h.

#define WIMAX_MAX_ALLOWED_RATE   (1024*1024*50)

Definition at line 308 of file Macros.h.

#define WIMAX_MAX_MTU   (MTU_SIZE + ETH_HLEN)

Definition at line 227 of file Macros.h.

#define XSECONDS   (1*HZ)

Definition at line 35 of file Macros.h.

Typedef Documentation

typedef enum eNVM_TYPE NVM_TYPE
typedef enum ePMU_MODES PMU_MODE

Enumeration Type Documentation

Enumerator:
eAddPHSRule 
eSetPHSRule 
eDeletePHSRule 
eDeleteAllPHSRules 

Definition at line 185 of file Macros.h.

Enumerator:
ABORT_SHUTDOWN_MODE 
ABORT_IDLE_REG 
ABORT_IDLE_MODE 
ABORT_IDLE_SYNCDOWN 

Definition at line 342 of file Macros.h.

Enumerator:
WAIT_FOR_SYNC 
PHY_SYNC_ACHIVED 
LINKUP_IN_PROGRESS 
LINKUP_DONE 
DREG_RECEIVED 
LINK_STATUS_RESET_RECEIVED 
PERIODIC_WAKE_UP_NOTIFICATION_FRM_FW 
LINK_SHUTDOWN_REQ_FROM_FIRMWARE 
COMPLETE_WAKE_UP_NOTIFICATION_FRM_FW 

Definition at line 173 of file Macros.h.

enum eNVM_TYPE
Enumerator:
NVM_AUTODETECT 
NVM_EEPROM 
NVM_FLASH 
NVM_UNKNOWN 

Definition at line 327 of file Macros.h.

enum ePMU_MODES
Enumerator:
HYBRID_MODE_7C 
INTERNAL_MODE_6 
HYBRID_MODE_6 

Definition at line 334 of file Macros.h.