FreeBSD kernel ATH device code
ar5416desc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ar5416_tx_desc
 
struct  ar5416_rx_desc
 
struct  ar5416_desc
 

Macros

#define _get_index(_ah)   ( IS_5416V1(_ah) ? -4 : 0 )
 
#define AR5416_DS_TXSTATUS(_ah, _ads)    ((uint32_t*)(&(_ads)->u.tx.status[_get_index(_ah)]))
 
#define AR5416_DS_TXSTATUS_CONST(_ah, _ads)    ((const uint32_t*)(&(_ads)->u.tx.status[_get_index(_ah)]))
 
#define AR5416_NUM_TX_STATUS   10 /* Number of TX status words */
 
#define AR5416_DESC_TX_CTL_SZ   sizeof(struct ar5416_tx_desc)
 
#define AR5416DESC(_ds)   ((struct ar5416_desc *)(_ds))
 
#define AR5416DESC_CONST(_ds)   ((const struct ar5416_desc *)(_ds))
 
#define ds_ctl2   u.tx.ctl2
 
#define ds_ctl3   u.tx.ctl3
 
#define ds_ctl4   u.tx.ctl4
 
#define ds_ctl5   u.tx.ctl5
 
#define ds_ctl6   u.tx.ctl6
 
#define ds_ctl7   u.tx.ctl7
 
#define ds_ctl8   u.tx.ctl8
 
#define ds_ctl9   u.tx.ctl9
 
#define ds_ctl10   u.tx.ctl10
 
#define ds_ctl11   u.tx.ctl11
 
#define ds_rxstatus0   u.rx.status0
 
#define ds_rxstatus1   u.rx.status1
 
#define ds_rxstatus2   u.rx.status2
 
#define ds_rxstatus3   u.rx.status3
 
#define ds_rxstatus4   u.rx.status4
 
#define ds_rxstatus5   u.rx.status5
 
#define ds_rxstatus6   u.rx.status6
 
#define ds_rxstatus7   u.rx.status7
 
#define ds_rxstatus8   u.rx.status8
 
#define AR_FrameLen   0x00000fff
 
#define AR_VirtMoreFrag   0x00001000
 
#define AR_TxCtlRsvd00   0x0000e000
 
#define AR_XmitPower   0x003f0000
 
#define AR_XmitPower_S   16
 
#define AR_RTSEnable   0x00400000
 
#define AR_VEOL   0x00800000
 
#define AR_ClrDestMask   0x01000000
 
#define AR_TxCtlRsvd01   0x1e000000
 
#define AR_TxIntrReq   0x20000000
 
#define AR_DestIdxValid   0x40000000
 
#define AR_CTSEnable   0x80000000
 
#define AR_BufLen   0x00000fff
 
#define AR_TxMore   0x00001000
 
#define AR_DestIdx   0x000fe000
 
#define AR_DestIdx_S   13
 
#define AR_FrameType   0x00f00000
 
#define AR_FrameType_S   20
 
#define AR_NoAck   0x01000000
 
#define AR_InsertTS   0x02000000
 
#define AR_CorruptFCS   0x04000000
 
#define AR_ExtOnly   0x08000000
 
#define AR_ExtAndCtl   0x10000000
 
#define AR_MoreAggr   0x20000000
 
#define AR_IsAggr   0x40000000
 
#define AR_MoreRifs   0x80000000
 
#define AR_BurstDur   0x00007fff
 
#define AR_BurstDur_S   0
 
#define AR_DurUpdateEn   0x00008000
 
#define AR_XmitDataTries0   0x000f0000
 
#define AR_XmitDataTries0_S   16
 
#define AR_XmitDataTries1   0x00f00000
 
#define AR_XmitDataTries1_S   20
 
#define AR_XmitDataTries2   0x0f000000
 
#define AR_XmitDataTries2_S   24
 
#define AR_XmitDataTries3   0xf0000000
 
#define AR_XmitDataTries3_S   28
 
#define AR_XmitRate0   0x000000ff
 
#define AR_XmitRate0_S   0
 
#define AR_XmitRate1   0x0000ff00
 
#define AR_XmitRate1_S   8
 
#define AR_XmitRate2   0x00ff0000
 
#define AR_XmitRate2_S   16
 
#define AR_XmitRate3   0xff000000
 
#define AR_XmitRate3_S   24
 
#define AR_PacketDur0   0x00007fff
 
#define AR_PacketDur0_S   0
 
#define AR_RTSCTSQual0   0x00008000
 
#define AR_PacketDur1   0x7fff0000
 
#define AR_PacketDur1_S   16
 
#define AR_RTSCTSQual1   0x80000000
 
#define AR_PacketDur2   0x00007fff
 
#define AR_PacketDur2_S   0
 
#define AR_RTSCTSQual2   0x00008000
 
#define AR_PacketDur3   0x7fff0000
 
#define AR_PacketDur3_S   16
 
#define AR_RTSCTSQual3   0x80000000
 
#define AR_AggrLen   0x0000ffff
 
#define AR_AggrLen_S   0
 
#define AR_TxCtlRsvd60   0x00030000
 
#define AR_PadDelim   0x03fc0000
 
#define AR_PadDelim_S   18
 
#define AR_EncrType   0x0c000000
 
#define AR_EncrType_S   26
 
#define AR_TxCtlRsvd61   0xf0000000
 
#define AR_2040_0   0x00000001
 
#define AR_GI0   0x00000002
 
#define AR_ChainSel0   0x0000001c
 
#define AR_ChainSel0_S   2
 
#define AR_2040_1   0x00000020
 
#define AR_GI1   0x00000040
 
#define AR_ChainSel1   0x00000380
 
#define AR_ChainSel1_S   7
 
#define AR_2040_2   0x00000400
 
#define AR_GI2   0x00000800
 
#define AR_ChainSel2   0x00007000
 
#define AR_ChainSel2_S   12
 
#define AR_2040_3   0x00008000
 
#define AR_GI3   0x00010000
 
#define AR_ChainSel3   0x000e0000
 
#define AR_ChainSel3_S   17
 
#define AR_RTSCTSRate   0x0ff00000
 
#define AR_RTSCTSRate_S   20
 
#define AR_STBC0   0x10000000
 
#define AR_STBC1   0x20000000
 
#define AR_STBC2   0x40000000
 
#define AR_STBC3   0x80000000
 
#define AR_AntCtl0   0x00ffffff
 
#define AR_AntCtl0_S   0
 
#define AR_AntCtl1   0x00ffffff
 
#define AR_AntCtl1_S   0
 
#define AR_XmitPower1   0xff000000
 
#define AR_XmitPower1_S   24
 
#define AR_AntCtl2   0x00ffffff
 
#define AR_AntCtl2_S   0
 
#define AR_XmitPower2   0xff000000
 
#define AR_XmitPower2_S   24
 
#define AR_AntCtl3   0x00ffffff
 
#define AR_AntCtl3_S   0
 
#define AR_XmitPower3   0xff000000
 
#define AR_XmitPower3_S   24
 
#define AR_TxRSSIAnt00   0x000000ff
 
#define AR_TxRSSIAnt00_S   0
 
#define AR_TxRSSIAnt01   0x0000ff00
 
#define AR_TxRSSIAnt01_S   8
 
#define AR_TxRSSIAnt02   0x00ff0000
 
#define AR_TxRSSIAnt02_S   16
 
#define AR_TxStatusRsvd00   0x3f000000
 
#define AR_TxBaStatus   0x40000000
 
#define AR_TxStatusRsvd01   0x80000000
 
#define AR_FrmXmitOK   0x00000001
 
#define AR_ExcessiveRetries   0x00000002
 
#define AR_FIFOUnderrun   0x00000004
 
#define AR_Filtered   0x00000008
 
#define AR_RTSFailCnt   0x000000f0
 
#define AR_RTSFailCnt_S   4
 
#define AR_DataFailCnt   0x00000f00
 
#define AR_DataFailCnt_S   8
 
#define AR_VirtRetryCnt   0x0000f000
 
#define AR_VirtRetryCnt_S   12
 
#define AR_TxDelimUnderrun   0x00010000
 
#define AR_TxDelimUnderrun_S   13
 
#define AR_TxDataUnderrun   0x00020000
 
#define AR_TxDataUnderrun_S   14
 
#define AR_DescCfgErr   0x00040000
 
#define AR_DescCfgErr_S   15
 
#define AR_TxTimerExpired   0x00080000
 
#define AR_TxStatusRsvd10   0xfff00000
 
#define AR_SendTimestamp(_ptr)   (_ptr)[2]
 
#define AR_BaBitmapLow(_ptr)   (_ptr)[3]
 
#define AR_BaBitmapHigh(_ptr)   (_ptr)[4]
 
#define AR_TxRSSIAnt10   0x000000ff
 
#define AR_TxRSSIAnt10_S   0
 
#define AR_TxRSSIAnt11   0x0000ff00
 
#define AR_TxRSSIAnt11_S   8
 
#define AR_TxRSSIAnt12   0x00ff0000
 
#define AR_TxRSSIAnt12_S   16
 
#define AR_TxRSSICombined   0xff000000
 
#define AR_TxRSSICombined_S   24
 
#define AR_TxEVM0(_ptr)   (_ptr)[6]
 
#define AR_TxEVM1(_ptr)   (_ptr)[7]
 
#define AR_TxEVM2(_ptr)   (_ptr)[8]
 
#define AR_TxDone   0x00000001
 
#define AR_SeqNum   0x00001ffe
 
#define AR_SeqNum_S   1
 
#define AR_TxStatusRsvd80   0x0001e000
 
#define AR_TxOpExceeded   0x00020000
 
#define AR_TxStatusRsvd81   0x001c0000
 
#define AR_FinalTxIdx   0x00600000
 
#define AR_FinalTxIdx_S   21
 
#define AR_TxStatusRsvd82   0x01800000
 
#define AR_PowerMgmt   0x02000000
 
#define AR_TxTid   0xf0000000
 
#define AR_TxTid_S   28
 
#define AR_TxStatusRsvd83   0xfc000000
 
#define AR_RxCTLRsvd00   0xffffffff
 
#define AR_BufLen   0x00000fff
 
#define AR_RxCtlRsvd00   0x00001000
 
#define AR_RxIntrReq   0x00002000
 
#define AR_RxCtlRsvd01   0xffffc000
 
#define AR_RxRSSIAnt00   0x000000ff
 
#define AR_RxRSSIAnt00_S   0
 
#define AR_RxRSSIAnt01   0x0000ff00
 
#define AR_RxRSSIAnt01_S   8
 
#define AR_RxRSSIAnt02   0x00ff0000
 
#define AR_RxRSSIAnt02_S   16
 
#define AR_RxStatusRsvd00   0xff000000
 
#define AR_RxRate   0xff000000
 
#define AR_RxRate_S   24
 
#define AR_DataLen   0x00000fff
 
#define AR_RxMore   0x00001000
 
#define AR_NumDelim   0x003fc000
 
#define AR_NumDelim_S   14
 
#define AR_RxStatusRsvd10   0xff800000
 
#define AR_RcvTimestamp   ds_rxstatus2
 
#define AR_GI   0x00000001
 
#define AR_2040   0x00000002
 
#define AR_RxRateV1   0x000003fc
 
#define AR_RxRateV1_S   2
 
#define AR_Parallel40   0x00000400
 
#define AR_RxStatusRsvd30   0xfffff800
 
#define AR_DupFrame   0x00000004
 
#define AR_STBCFrame   0x00000008
 
#define AR_RxAntenna   0xffffff00
 
#define AR_RxAntenna_S   8
 
#define AR_RxRSSIAnt10   0x000000ff
 
#define AR_RxRSSIAnt10_S   0
 
#define AR_RxRSSIAnt11   0x0000ff00
 
#define AR_RxRSSIAnt11_S   8
 
#define AR_RxRSSIAnt12   0x00ff0000
 
#define AR_RxRSSIAnt12_S   16
 
#define AR_RxRSSICombined   0xff000000
 
#define AR_RxRSSICombined_S   24
 
#define AR_RxEVM0   ds_rxstatus5
 
#define AR_RxEVM1   ds_rxstatus6
 
#define AR_RxEVM2   ds_rxstatus7
 
#define AR_RxDone   0x00000001
 
#define AR_RxFrameOK   0x00000002
 
#define AR_CRCErr   0x00000004
 
#define AR_DecryptCRCErr   0x00000008
 
#define AR_PHYErr   0x00000010
 
#define AR_MichaelErr   0x00000020
 
#define AR_PreDelimCRCErr   0x00000040
 
#define AR_RxStatusRsvd70   0x00000080
 
#define AR_RxKeyIdxValid   0x00000100
 
#define AR_KeyIdx   0x0000fe00
 
#define AR_KeyIdx_S   9
 
#define AR_PHYErrCode   0x0000ff00
 
#define AR_PHYErrCode_S   8
 
#define AR_RxMoreAggr   0x00010000
 
#define AR_RxAggr   0x00020000
 
#define AR_PostDelimCRCErr   0x00040000
 
#define AR_RxStatusRsvd71   0x2ff80000
 
#define AR_HiRxChain   0x10000000
 
#define AR_DecryptBusyErr   0x40000000
 
#define AR_KeyMiss   0x80000000
 
#define TXCTL_OFFSET(ah)   2
 
#define TXCTL_NUMWORDS(ah)   (AR_SREV_5416_V20_OR_LATER(ah) ? 12 : 8)
 
#define TXSTATUS_OFFSET(ah)   (AR_SREV_5416_V20_OR_LATER(ah) ? 14 : 10)
 
#define TXSTATUS_NUMWORDS(ah)   10
 
#define RXCTL_OFFSET(ah)   3
 
#define RXCTL_NUMWORDS(ah)   1
 
#define RXSTATUS_OFFSET(ah)   4
 
#define RXSTATUS_NUMWORDS(ah)   9
 
#define RXSTATUS_RATE(ah, ads)
 
#define RXSTATUS_DUPLICATE(ah, ads)
 

Variables

struct ar5416_desc __packed
 

Macro Definition Documentation

◆ _get_index

#define _get_index (   _ah)    ( IS_5416V1(_ah) ? -4 : 0 )

Definition at line 31 of file ar5416desc.h.

◆ AR5416_DESC_TX_CTL_SZ

#define AR5416_DESC_TX_CTL_SZ   sizeof(struct ar5416_tx_desc)

Definition at line 39 of file ar5416desc.h.

◆ AR5416_DS_TXSTATUS

#define AR5416_DS_TXSTATUS (   _ah,
  _ads 
)     ((uint32_t*)(&(_ads)->u.tx.status[_get_index(_ah)]))

Definition at line 32 of file ar5416desc.h.

◆ AR5416_DS_TXSTATUS_CONST

#define AR5416_DS_TXSTATUS_CONST (   _ah,
  _ads 
)     ((const uint32_t*)(&(_ads)->u.tx.status[_get_index(_ah)]))

Definition at line 34 of file ar5416desc.h.

◆ AR5416_NUM_TX_STATUS

#define AR5416_NUM_TX_STATUS   10 /* Number of TX status words */

Definition at line 37 of file ar5416desc.h.

◆ AR5416DESC

#define AR5416DESC (   _ds)    ((struct ar5416_desc *)(_ds))

Definition at line 77 of file ar5416desc.h.

◆ AR5416DESC_CONST

#define AR5416DESC_CONST (   _ds)    ((const struct ar5416_desc *)(_ds))

Definition at line 78 of file ar5416desc.h.

◆ AR_2040

#define AR_2040   0x00000002

Definition at line 352 of file ar5416desc.h.

◆ AR_2040_0

#define AR_2040_0   0x00000001

Definition at line 185 of file ar5416desc.h.

◆ AR_2040_1

#define AR_2040_1   0x00000020

Definition at line 189 of file ar5416desc.h.

◆ AR_2040_2

#define AR_2040_2   0x00000400

Definition at line 193 of file ar5416desc.h.

◆ AR_2040_3

#define AR_2040_3   0x00008000

Definition at line 197 of file ar5416desc.h.

◆ AR_AggrLen

#define AR_AggrLen   0x0000ffff

Definition at line 175 of file ar5416desc.h.

◆ AR_AggrLen_S

#define AR_AggrLen_S   0

Definition at line 176 of file ar5416desc.h.

◆ AR_AntCtl0

#define AR_AntCtl0   0x00ffffff

Definition at line 209 of file ar5416desc.h.

◆ AR_AntCtl0_S

#define AR_AntCtl0_S   0

Definition at line 210 of file ar5416desc.h.

◆ AR_AntCtl1

#define AR_AntCtl1   0x00ffffff

Definition at line 214 of file ar5416desc.h.

◆ AR_AntCtl1_S

#define AR_AntCtl1_S   0

Definition at line 215 of file ar5416desc.h.

◆ AR_AntCtl2

#define AR_AntCtl2   0x00ffffff

Definition at line 220 of file ar5416desc.h.

◆ AR_AntCtl2_S

#define AR_AntCtl2_S   0

Definition at line 221 of file ar5416desc.h.

◆ AR_AntCtl3

#define AR_AntCtl3   0x00ffffff

Definition at line 226 of file ar5416desc.h.

◆ AR_AntCtl3_S

#define AR_AntCtl3_S   0

Definition at line 227 of file ar5416desc.h.

◆ AR_BaBitmapHigh

#define AR_BaBitmapHigh (   _ptr)    (_ptr)[4]

Definition at line 273 of file ar5416desc.h.

◆ AR_BaBitmapLow

#define AR_BaBitmapLow (   _ptr)    (_ptr)[3]

Definition at line 270 of file ar5416desc.h.

◆ AR_BufLen [1/2]

#define AR_BufLen   0x00000fff

Definition at line 317 of file ar5416desc.h.

◆ AR_BufLen [2/2]

#define AR_BufLen   0x00000fff

Definition at line 317 of file ar5416desc.h.

◆ AR_BurstDur

#define AR_BurstDur   0x00007fff

Definition at line 136 of file ar5416desc.h.

◆ AR_BurstDur_S

#define AR_BurstDur_S   0

Definition at line 137 of file ar5416desc.h.

◆ AR_ChainSel0

#define AR_ChainSel0   0x0000001c

Definition at line 187 of file ar5416desc.h.

◆ AR_ChainSel0_S

#define AR_ChainSel0_S   2

Definition at line 188 of file ar5416desc.h.

◆ AR_ChainSel1

#define AR_ChainSel1   0x00000380

Definition at line 191 of file ar5416desc.h.

◆ AR_ChainSel1_S

#define AR_ChainSel1_S   7

Definition at line 192 of file ar5416desc.h.

◆ AR_ChainSel2

#define AR_ChainSel2   0x00007000

Definition at line 195 of file ar5416desc.h.

◆ AR_ChainSel2_S

#define AR_ChainSel2_S   12

Definition at line 196 of file ar5416desc.h.

◆ AR_ChainSel3

#define AR_ChainSel3   0x000e0000

Definition at line 199 of file ar5416desc.h.

◆ AR_ChainSel3_S

#define AR_ChainSel3_S   17

Definition at line 200 of file ar5416desc.h.

◆ AR_ClrDestMask

#define AR_ClrDestMask   0x01000000

Definition at line 113 of file ar5416desc.h.

◆ AR_CorruptFCS

#define AR_CorruptFCS   0x04000000

Definition at line 128 of file ar5416desc.h.

◆ AR_CRCErr

#define AR_CRCErr   0x00000004

Definition at line 387 of file ar5416desc.h.

◆ AR_CTSEnable

#define AR_CTSEnable   0x80000000

Definition at line 117 of file ar5416desc.h.

◆ AR_DataFailCnt

#define AR_DataFailCnt   0x00000f00

Definition at line 253 of file ar5416desc.h.

◆ AR_DataFailCnt_S

#define AR_DataFailCnt_S   8

Definition at line 254 of file ar5416desc.h.

◆ AR_DataLen

#define AR_DataLen   0x00000fff

Definition at line 341 of file ar5416desc.h.

◆ AR_DecryptBusyErr

#define AR_DecryptBusyErr   0x40000000

Definition at line 403 of file ar5416desc.h.

◆ AR_DecryptCRCErr

#define AR_DecryptCRCErr   0x00000008

Definition at line 388 of file ar5416desc.h.

◆ AR_DescCfgErr

#define AR_DescCfgErr   0x00040000

Definition at line 261 of file ar5416desc.h.

◆ AR_DescCfgErr_S

#define AR_DescCfgErr_S   15

Definition at line 262 of file ar5416desc.h.

◆ AR_DestIdx

#define AR_DestIdx   0x000fe000

Definition at line 122 of file ar5416desc.h.

◆ AR_DestIdx_S

#define AR_DestIdx_S   13

Definition at line 123 of file ar5416desc.h.

◆ AR_DestIdxValid

#define AR_DestIdxValid   0x40000000

Definition at line 116 of file ar5416desc.h.

◆ AR_DupFrame

#define AR_DupFrame   0x00000004

Definition at line 360 of file ar5416desc.h.

◆ AR_DurUpdateEn

#define AR_DurUpdateEn   0x00008000

Definition at line 138 of file ar5416desc.h.

◆ AR_EncrType

#define AR_EncrType   0x0c000000

Definition at line 180 of file ar5416desc.h.

◆ AR_EncrType_S

#define AR_EncrType_S   26

Definition at line 181 of file ar5416desc.h.

◆ AR_ExcessiveRetries

#define AR_ExcessiveRetries   0x00000002

Definition at line 248 of file ar5416desc.h.

◆ AR_ExtAndCtl

#define AR_ExtAndCtl   0x10000000

Definition at line 130 of file ar5416desc.h.

◆ AR_ExtOnly

#define AR_ExtOnly   0x08000000

Definition at line 129 of file ar5416desc.h.

◆ AR_FIFOUnderrun

#define AR_FIFOUnderrun   0x00000004

Definition at line 249 of file ar5416desc.h.

◆ AR_Filtered

#define AR_Filtered   0x00000008

Definition at line 250 of file ar5416desc.h.

◆ AR_FinalTxIdx

#define AR_FinalTxIdx   0x00600000

Definition at line 301 of file ar5416desc.h.

◆ AR_FinalTxIdx_S

#define AR_FinalTxIdx_S   21

Definition at line 302 of file ar5416desc.h.

◆ AR_FrameLen

#define AR_FrameLen   0x00000fff

Definition at line 106 of file ar5416desc.h.

◆ AR_FrameType

#define AR_FrameType   0x00f00000

Definition at line 124 of file ar5416desc.h.

◆ AR_FrameType_S

#define AR_FrameType_S   20

Definition at line 125 of file ar5416desc.h.

◆ AR_FrmXmitOK

#define AR_FrmXmitOK   0x00000001

Definition at line 247 of file ar5416desc.h.

◆ AR_GI

#define AR_GI   0x00000001

Definition at line 351 of file ar5416desc.h.

◆ AR_GI0

#define AR_GI0   0x00000002

Definition at line 186 of file ar5416desc.h.

◆ AR_GI1

#define AR_GI1   0x00000040

Definition at line 190 of file ar5416desc.h.

◆ AR_GI2

#define AR_GI2   0x00000800

Definition at line 194 of file ar5416desc.h.

◆ AR_GI3

#define AR_GI3   0x00010000

Definition at line 198 of file ar5416desc.h.

◆ AR_HiRxChain

#define AR_HiRxChain   0x10000000

Definition at line 402 of file ar5416desc.h.

◆ AR_InsertTS

#define AR_InsertTS   0x02000000

Definition at line 127 of file ar5416desc.h.

◆ AR_IsAggr

#define AR_IsAggr   0x40000000

Definition at line 132 of file ar5416desc.h.

◆ AR_KeyIdx

#define AR_KeyIdx   0x0000fe00

Definition at line 394 of file ar5416desc.h.

◆ AR_KeyIdx_S

#define AR_KeyIdx_S   9

Definition at line 395 of file ar5416desc.h.

◆ AR_KeyMiss

#define AR_KeyMiss   0x80000000

Definition at line 404 of file ar5416desc.h.

◆ AR_MichaelErr

#define AR_MichaelErr   0x00000020

Definition at line 390 of file ar5416desc.h.

◆ AR_MoreAggr

#define AR_MoreAggr   0x20000000

Definition at line 131 of file ar5416desc.h.

◆ AR_MoreRifs

#define AR_MoreRifs   0x80000000

Definition at line 133 of file ar5416desc.h.

◆ AR_NoAck

#define AR_NoAck   0x01000000

Definition at line 126 of file ar5416desc.h.

◆ AR_NumDelim

#define AR_NumDelim   0x003fc000

Definition at line 343 of file ar5416desc.h.

◆ AR_NumDelim_S

#define AR_NumDelim_S   14

Definition at line 344 of file ar5416desc.h.

◆ AR_PacketDur0

#define AR_PacketDur0   0x00007fff

Definition at line 159 of file ar5416desc.h.

◆ AR_PacketDur0_S

#define AR_PacketDur0_S   0

Definition at line 160 of file ar5416desc.h.

◆ AR_PacketDur1

#define AR_PacketDur1   0x7fff0000

Definition at line 162 of file ar5416desc.h.

◆ AR_PacketDur1_S

#define AR_PacketDur1_S   16

Definition at line 163 of file ar5416desc.h.

◆ AR_PacketDur2

#define AR_PacketDur2   0x00007fff

Definition at line 167 of file ar5416desc.h.

◆ AR_PacketDur2_S

#define AR_PacketDur2_S   0

Definition at line 168 of file ar5416desc.h.

◆ AR_PacketDur3

#define AR_PacketDur3   0x7fff0000

Definition at line 170 of file ar5416desc.h.

◆ AR_PacketDur3_S

#define AR_PacketDur3_S   16

Definition at line 171 of file ar5416desc.h.

◆ AR_PadDelim

#define AR_PadDelim   0x03fc0000

Definition at line 178 of file ar5416desc.h.

◆ AR_PadDelim_S

#define AR_PadDelim_S   18

Definition at line 179 of file ar5416desc.h.

◆ AR_Parallel40

#define AR_Parallel40   0x00000400

Definition at line 357 of file ar5416desc.h.

◆ AR_PHYErr

#define AR_PHYErr   0x00000010

Definition at line 389 of file ar5416desc.h.

◆ AR_PHYErrCode

#define AR_PHYErrCode   0x0000ff00

Definition at line 396 of file ar5416desc.h.

◆ AR_PHYErrCode_S

#define AR_PHYErrCode_S   8

Definition at line 397 of file ar5416desc.h.

◆ AR_PostDelimCRCErr

#define AR_PostDelimCRCErr   0x00040000

Definition at line 400 of file ar5416desc.h.

◆ AR_PowerMgmt

#define AR_PowerMgmt   0x02000000

Definition at line 304 of file ar5416desc.h.

◆ AR_PreDelimCRCErr

#define AR_PreDelimCRCErr   0x00000040

Definition at line 391 of file ar5416desc.h.

◆ AR_RcvTimestamp

#define AR_RcvTimestamp   ds_rxstatus2

Definition at line 348 of file ar5416desc.h.

◆ AR_RTSCTSQual0

#define AR_RTSCTSQual0   0x00008000

Definition at line 161 of file ar5416desc.h.

◆ AR_RTSCTSQual1

#define AR_RTSCTSQual1   0x80000000

Definition at line 164 of file ar5416desc.h.

◆ AR_RTSCTSQual2

#define AR_RTSCTSQual2   0x00008000

Definition at line 169 of file ar5416desc.h.

◆ AR_RTSCTSQual3

#define AR_RTSCTSQual3   0x80000000

Definition at line 172 of file ar5416desc.h.

◆ AR_RTSCTSRate

#define AR_RTSCTSRate   0x0ff00000

Definition at line 201 of file ar5416desc.h.

◆ AR_RTSCTSRate_S

#define AR_RTSCTSRate_S   20

Definition at line 202 of file ar5416desc.h.

◆ AR_RTSEnable

#define AR_RTSEnable   0x00400000

Definition at line 111 of file ar5416desc.h.

◆ AR_RTSFailCnt

#define AR_RTSFailCnt   0x000000f0

Definition at line 251 of file ar5416desc.h.

◆ AR_RTSFailCnt_S

#define AR_RTSFailCnt_S   4

Definition at line 252 of file ar5416desc.h.

◆ AR_RxAggr

#define AR_RxAggr   0x00020000

Definition at line 399 of file ar5416desc.h.

◆ AR_RxAntenna

#define AR_RxAntenna   0xffffff00

Definition at line 362 of file ar5416desc.h.

◆ AR_RxAntenna_S

#define AR_RxAntenna_S   8

Definition at line 363 of file ar5416desc.h.

◆ AR_RxCTLRsvd00

#define AR_RxCTLRsvd00   0xffffffff

Definition at line 314 of file ar5416desc.h.

◆ AR_RxCtlRsvd00

#define AR_RxCtlRsvd00   0x00001000

Definition at line 318 of file ar5416desc.h.

◆ AR_RxCtlRsvd01

#define AR_RxCtlRsvd01   0xffffc000

Definition at line 320 of file ar5416desc.h.

◆ AR_RxDone

#define AR_RxDone   0x00000001

Definition at line 385 of file ar5416desc.h.

◆ AR_RxEVM0

#define AR_RxEVM0   ds_rxstatus5

Definition at line 376 of file ar5416desc.h.

◆ AR_RxEVM1

#define AR_RxEVM1   ds_rxstatus6

Definition at line 379 of file ar5416desc.h.

◆ AR_RxEVM2

#define AR_RxEVM2   ds_rxstatus7

Definition at line 382 of file ar5416desc.h.

◆ AR_RxFrameOK

#define AR_RxFrameOK   0x00000002

Definition at line 386 of file ar5416desc.h.

◆ AR_RxIntrReq

#define AR_RxIntrReq   0x00002000

Definition at line 319 of file ar5416desc.h.

◆ AR_RxKeyIdxValid

#define AR_RxKeyIdxValid   0x00000100

Definition at line 393 of file ar5416desc.h.

◆ AR_RxMore

#define AR_RxMore   0x00001000

Definition at line 342 of file ar5416desc.h.

◆ AR_RxMoreAggr

#define AR_RxMoreAggr   0x00010000

Definition at line 398 of file ar5416desc.h.

◆ AR_RxRate

#define AR_RxRate   0xff000000

Definition at line 337 of file ar5416desc.h.

◆ AR_RxRate_S

#define AR_RxRate_S   24

Definition at line 338 of file ar5416desc.h.

◆ AR_RxRateV1

#define AR_RxRateV1   0x000003fc

Definition at line 355 of file ar5416desc.h.

◆ AR_RxRateV1_S

#define AR_RxRateV1_S   2

Definition at line 356 of file ar5416desc.h.

◆ AR_RxRSSIAnt00

#define AR_RxRSSIAnt00   0x000000ff

Definition at line 327 of file ar5416desc.h.

◆ AR_RxRSSIAnt00_S

#define AR_RxRSSIAnt00_S   0

Definition at line 328 of file ar5416desc.h.

◆ AR_RxRSSIAnt01

#define AR_RxRSSIAnt01   0x0000ff00

Definition at line 329 of file ar5416desc.h.

◆ AR_RxRSSIAnt01_S

#define AR_RxRSSIAnt01_S   8

Definition at line 330 of file ar5416desc.h.

◆ AR_RxRSSIAnt02

#define AR_RxRSSIAnt02   0x00ff0000

Definition at line 331 of file ar5416desc.h.

◆ AR_RxRSSIAnt02_S

#define AR_RxRSSIAnt02_S   16

Definition at line 332 of file ar5416desc.h.

◆ AR_RxRSSIAnt10

#define AR_RxRSSIAnt10   0x000000ff

Definition at line 366 of file ar5416desc.h.

◆ AR_RxRSSIAnt10_S

#define AR_RxRSSIAnt10_S   0

Definition at line 367 of file ar5416desc.h.

◆ AR_RxRSSIAnt11

#define AR_RxRSSIAnt11   0x0000ff00

Definition at line 368 of file ar5416desc.h.

◆ AR_RxRSSIAnt11_S

#define AR_RxRSSIAnt11_S   8

Definition at line 369 of file ar5416desc.h.

◆ AR_RxRSSIAnt12

#define AR_RxRSSIAnt12   0x00ff0000

Definition at line 370 of file ar5416desc.h.

◆ AR_RxRSSIAnt12_S

#define AR_RxRSSIAnt12_S   16

Definition at line 371 of file ar5416desc.h.

◆ AR_RxRSSICombined

#define AR_RxRSSICombined   0xff000000

Definition at line 372 of file ar5416desc.h.

◆ AR_RxRSSICombined_S

#define AR_RxRSSICombined_S   24

Definition at line 373 of file ar5416desc.h.

◆ AR_RxStatusRsvd00

#define AR_RxStatusRsvd00   0xff000000

Definition at line 335 of file ar5416desc.h.

◆ AR_RxStatusRsvd10

#define AR_RxStatusRsvd10   0xff800000

Definition at line 345 of file ar5416desc.h.

◆ AR_RxStatusRsvd30

#define AR_RxStatusRsvd30   0xfffff800

Definition at line 358 of file ar5416desc.h.

◆ AR_RxStatusRsvd70

#define AR_RxStatusRsvd70   0x00000080

Definition at line 392 of file ar5416desc.h.

◆ AR_RxStatusRsvd71

#define AR_RxStatusRsvd71   0x2ff80000

Definition at line 401 of file ar5416desc.h.

◆ AR_SendTimestamp

#define AR_SendTimestamp (   _ptr)    (_ptr)[2]

Definition at line 267 of file ar5416desc.h.

◆ AR_SeqNum

#define AR_SeqNum   0x00001ffe

Definition at line 296 of file ar5416desc.h.

◆ AR_SeqNum_S

#define AR_SeqNum_S   1

Definition at line 297 of file ar5416desc.h.

◆ AR_STBC0

#define AR_STBC0   0x10000000

Definition at line 203 of file ar5416desc.h.

◆ AR_STBC1

#define AR_STBC1   0x20000000

Definition at line 204 of file ar5416desc.h.

◆ AR_STBC2

#define AR_STBC2   0x40000000

Definition at line 205 of file ar5416desc.h.

◆ AR_STBC3

#define AR_STBC3   0x80000000

Definition at line 206 of file ar5416desc.h.

◆ AR_STBCFrame

#define AR_STBCFrame   0x00000008

Definition at line 361 of file ar5416desc.h.

◆ AR_TxBaStatus

#define AR_TxBaStatus   0x40000000

Definition at line 243 of file ar5416desc.h.

◆ AR_TxCtlRsvd00

#define AR_TxCtlRsvd00   0x0000e000

Definition at line 108 of file ar5416desc.h.

◆ AR_TxCtlRsvd01

#define AR_TxCtlRsvd01   0x1e000000

Definition at line 114 of file ar5416desc.h.

◆ AR_TxCtlRsvd60

#define AR_TxCtlRsvd60   0x00030000

Definition at line 177 of file ar5416desc.h.

◆ AR_TxCtlRsvd61

#define AR_TxCtlRsvd61   0xf0000000

Definition at line 182 of file ar5416desc.h.

◆ AR_TxDataUnderrun

#define AR_TxDataUnderrun   0x00020000

Definition at line 259 of file ar5416desc.h.

◆ AR_TxDataUnderrun_S

#define AR_TxDataUnderrun_S   14

Definition at line 260 of file ar5416desc.h.

◆ AR_TxDelimUnderrun

#define AR_TxDelimUnderrun   0x00010000

Definition at line 257 of file ar5416desc.h.

◆ AR_TxDelimUnderrun_S

#define AR_TxDelimUnderrun_S   13

Definition at line 258 of file ar5416desc.h.

◆ AR_TxDone

#define AR_TxDone   0x00000001

Definition at line 295 of file ar5416desc.h.

◆ AR_TxEVM0

#define AR_TxEVM0 (   _ptr)    (_ptr)[6]

Definition at line 286 of file ar5416desc.h.

◆ AR_TxEVM1

#define AR_TxEVM1 (   _ptr)    (_ptr)[7]

Definition at line 289 of file ar5416desc.h.

◆ AR_TxEVM2

#define AR_TxEVM2 (   _ptr)    (_ptr)[8]

Definition at line 292 of file ar5416desc.h.

◆ AR_TxIntrReq

#define AR_TxIntrReq   0x20000000

Definition at line 115 of file ar5416desc.h.

◆ AR_TxMore

#define AR_TxMore   0x00001000

Definition at line 121 of file ar5416desc.h.

◆ AR_TxOpExceeded

#define AR_TxOpExceeded   0x00020000

Definition at line 299 of file ar5416desc.h.

◆ AR_TxRSSIAnt00

#define AR_TxRSSIAnt00   0x000000ff

Definition at line 236 of file ar5416desc.h.

◆ AR_TxRSSIAnt00_S

#define AR_TxRSSIAnt00_S   0

Definition at line 237 of file ar5416desc.h.

◆ AR_TxRSSIAnt01

#define AR_TxRSSIAnt01   0x0000ff00

Definition at line 238 of file ar5416desc.h.

◆ AR_TxRSSIAnt01_S

#define AR_TxRSSIAnt01_S   8

Definition at line 239 of file ar5416desc.h.

◆ AR_TxRSSIAnt02

#define AR_TxRSSIAnt02   0x00ff0000

Definition at line 240 of file ar5416desc.h.

◆ AR_TxRSSIAnt02_S

#define AR_TxRSSIAnt02_S   16

Definition at line 241 of file ar5416desc.h.

◆ AR_TxRSSIAnt10

#define AR_TxRSSIAnt10   0x000000ff

Definition at line 276 of file ar5416desc.h.

◆ AR_TxRSSIAnt10_S

#define AR_TxRSSIAnt10_S   0

Definition at line 277 of file ar5416desc.h.

◆ AR_TxRSSIAnt11

#define AR_TxRSSIAnt11   0x0000ff00

Definition at line 278 of file ar5416desc.h.

◆ AR_TxRSSIAnt11_S

#define AR_TxRSSIAnt11_S   8

Definition at line 279 of file ar5416desc.h.

◆ AR_TxRSSIAnt12

#define AR_TxRSSIAnt12   0x00ff0000

Definition at line 280 of file ar5416desc.h.

◆ AR_TxRSSIAnt12_S

#define AR_TxRSSIAnt12_S   16

Definition at line 281 of file ar5416desc.h.

◆ AR_TxRSSICombined

#define AR_TxRSSICombined   0xff000000

Definition at line 282 of file ar5416desc.h.

◆ AR_TxRSSICombined_S

#define AR_TxRSSICombined_S   24

Definition at line 283 of file ar5416desc.h.

◆ AR_TxStatusRsvd00

#define AR_TxStatusRsvd00   0x3f000000

Definition at line 242 of file ar5416desc.h.

◆ AR_TxStatusRsvd01

#define AR_TxStatusRsvd01   0x80000000

Definition at line 244 of file ar5416desc.h.

◆ AR_TxStatusRsvd10

#define AR_TxStatusRsvd10   0xfff00000

Definition at line 264 of file ar5416desc.h.

◆ AR_TxStatusRsvd80

#define AR_TxStatusRsvd80   0x0001e000

Definition at line 298 of file ar5416desc.h.

◆ AR_TxStatusRsvd81

#define AR_TxStatusRsvd81   0x001c0000

Definition at line 300 of file ar5416desc.h.

◆ AR_TxStatusRsvd82

#define AR_TxStatusRsvd82   0x01800000

Definition at line 303 of file ar5416desc.h.

◆ AR_TxStatusRsvd83

#define AR_TxStatusRsvd83   0xfc000000

Definition at line 307 of file ar5416desc.h.

◆ AR_TxTid

#define AR_TxTid   0xf0000000

Definition at line 305 of file ar5416desc.h.

◆ AR_TxTid_S

#define AR_TxTid_S   28

Definition at line 306 of file ar5416desc.h.

◆ AR_TxTimerExpired

#define AR_TxTimerExpired   0x00080000

Definition at line 263 of file ar5416desc.h.

◆ AR_VEOL

#define AR_VEOL   0x00800000

Definition at line 112 of file ar5416desc.h.

◆ AR_VirtMoreFrag

#define AR_VirtMoreFrag   0x00001000

Definition at line 107 of file ar5416desc.h.

◆ AR_VirtRetryCnt

#define AR_VirtRetryCnt   0x0000f000

Definition at line 255 of file ar5416desc.h.

◆ AR_VirtRetryCnt_S

#define AR_VirtRetryCnt_S   12

Definition at line 256 of file ar5416desc.h.

◆ AR_XmitDataTries0

#define AR_XmitDataTries0   0x000f0000

Definition at line 139 of file ar5416desc.h.

◆ AR_XmitDataTries0_S

#define AR_XmitDataTries0_S   16

Definition at line 140 of file ar5416desc.h.

◆ AR_XmitDataTries1

#define AR_XmitDataTries1   0x00f00000

Definition at line 141 of file ar5416desc.h.

◆ AR_XmitDataTries1_S

#define AR_XmitDataTries1_S   20

Definition at line 142 of file ar5416desc.h.

◆ AR_XmitDataTries2

#define AR_XmitDataTries2   0x0f000000

Definition at line 143 of file ar5416desc.h.

◆ AR_XmitDataTries2_S

#define AR_XmitDataTries2_S   24

Definition at line 144 of file ar5416desc.h.

◆ AR_XmitDataTries3

#define AR_XmitDataTries3   0xf0000000

Definition at line 145 of file ar5416desc.h.

◆ AR_XmitDataTries3_S

#define AR_XmitDataTries3_S   28

Definition at line 146 of file ar5416desc.h.

◆ AR_XmitPower

#define AR_XmitPower   0x003f0000

Definition at line 109 of file ar5416desc.h.

◆ AR_XmitPower1

#define AR_XmitPower1   0xff000000

Definition at line 216 of file ar5416desc.h.

◆ AR_XmitPower1_S

#define AR_XmitPower1_S   24

Definition at line 217 of file ar5416desc.h.

◆ AR_XmitPower2

#define AR_XmitPower2   0xff000000

Definition at line 222 of file ar5416desc.h.

◆ AR_XmitPower2_S

#define AR_XmitPower2_S   24

Definition at line 223 of file ar5416desc.h.

◆ AR_XmitPower3

#define AR_XmitPower3   0xff000000

Definition at line 228 of file ar5416desc.h.

◆ AR_XmitPower3_S

#define AR_XmitPower3_S   24

Definition at line 229 of file ar5416desc.h.

◆ AR_XmitPower_S

#define AR_XmitPower_S   16

Definition at line 110 of file ar5416desc.h.

◆ AR_XmitRate0

#define AR_XmitRate0   0x000000ff

Definition at line 149 of file ar5416desc.h.

◆ AR_XmitRate0_S

#define AR_XmitRate0_S   0

Definition at line 150 of file ar5416desc.h.

◆ AR_XmitRate1

#define AR_XmitRate1   0x0000ff00

Definition at line 151 of file ar5416desc.h.

◆ AR_XmitRate1_S

#define AR_XmitRate1_S   8

Definition at line 152 of file ar5416desc.h.

◆ AR_XmitRate2

#define AR_XmitRate2   0x00ff0000

Definition at line 153 of file ar5416desc.h.

◆ AR_XmitRate2_S

#define AR_XmitRate2_S   16

Definition at line 154 of file ar5416desc.h.

◆ AR_XmitRate3

#define AR_XmitRate3   0xff000000

Definition at line 155 of file ar5416desc.h.

◆ AR_XmitRate3_S

#define AR_XmitRate3_S   24

Definition at line 156 of file ar5416desc.h.

◆ ds_ctl10

#define ds_ctl10   u.tx.ctl10

Definition at line 88 of file ar5416desc.h.

◆ ds_ctl11

#define ds_ctl11   u.tx.ctl11

Definition at line 89 of file ar5416desc.h.

◆ ds_ctl2

#define ds_ctl2   u.tx.ctl2

Definition at line 80 of file ar5416desc.h.

◆ ds_ctl3

#define ds_ctl3   u.tx.ctl3

Definition at line 81 of file ar5416desc.h.

◆ ds_ctl4

#define ds_ctl4   u.tx.ctl4

Definition at line 82 of file ar5416desc.h.

◆ ds_ctl5

#define ds_ctl5   u.tx.ctl5

Definition at line 83 of file ar5416desc.h.

◆ ds_ctl6

#define ds_ctl6   u.tx.ctl6

Definition at line 84 of file ar5416desc.h.

◆ ds_ctl7

#define ds_ctl7   u.tx.ctl7

Definition at line 85 of file ar5416desc.h.

◆ ds_ctl8

#define ds_ctl8   u.tx.ctl8

Definition at line 86 of file ar5416desc.h.

◆ ds_ctl9

#define ds_ctl9   u.tx.ctl9

Definition at line 87 of file ar5416desc.h.

◆ ds_rxstatus0

#define ds_rxstatus0   u.rx.status0

Definition at line 91 of file ar5416desc.h.

◆ ds_rxstatus1

#define ds_rxstatus1   u.rx.status1

Definition at line 92 of file ar5416desc.h.

◆ ds_rxstatus2

#define ds_rxstatus2   u.rx.status2

Definition at line 93 of file ar5416desc.h.

◆ ds_rxstatus3

#define ds_rxstatus3   u.rx.status3

Definition at line 94 of file ar5416desc.h.

◆ ds_rxstatus4

#define ds_rxstatus4   u.rx.status4

Definition at line 95 of file ar5416desc.h.

◆ ds_rxstatus5

#define ds_rxstatus5   u.rx.status5

Definition at line 96 of file ar5416desc.h.

◆ ds_rxstatus6

#define ds_rxstatus6   u.rx.status6

Definition at line 97 of file ar5416desc.h.

◆ ds_rxstatus7

#define ds_rxstatus7   u.rx.status7

Definition at line 98 of file ar5416desc.h.

◆ ds_rxstatus8

#define ds_rxstatus8   u.rx.status8

Definition at line 99 of file ar5416desc.h.

◆ RXCTL_NUMWORDS

#define RXCTL_NUMWORDS (   ah)    1

Definition at line 412 of file ar5416desc.h.

◆ RXCTL_OFFSET

#define RXCTL_OFFSET (   ah)    3

Definition at line 411 of file ar5416desc.h.

◆ RXSTATUS_DUPLICATE

#define RXSTATUS_DUPLICATE (   ah,
  ads 
)
Value:
MS((ads)->ds_rxstatus3, AR_Parallel40) : \
((ads)->ds_rxstatus3 >> 10) & 0x1)
#define ds_rxstatus3
Definition: ar5416desc.h:94
#define AR_Parallel40
Definition: ar5416desc.h:357
#define AR_SREV_5416_V20_OR_LATER(_ah)
Definition: ar5416reg.h:653

Definition at line 419 of file ar5416desc.h.

◆ RXSTATUS_NUMWORDS

#define RXSTATUS_NUMWORDS (   ah)    9

Definition at line 414 of file ar5416desc.h.

◆ RXSTATUS_OFFSET

#define RXSTATUS_OFFSET (   ah)    4

Definition at line 413 of file ar5416desc.h.

◆ RXSTATUS_RATE

#define RXSTATUS_RATE (   ah,
  ads 
)
Value:
MS((ads)->ds_rxstatus0, AR_RxRate) : \
((ads)->ds_rxstatus3 >> 2) & 0xFF)
#define AR_RxRate
Definition: ar5416desc.h:337
#define ds_rxstatus0
Definition: ar5416desc.h:91

Definition at line 415 of file ar5416desc.h.

◆ TXCTL_NUMWORDS

#define TXCTL_NUMWORDS (   ah)    (AR_SREV_5416_V20_OR_LATER(ah) ? 12 : 8)

Definition at line 407 of file ar5416desc.h.

◆ TXCTL_OFFSET

#define TXCTL_OFFSET (   ah)    2

Definition at line 406 of file ar5416desc.h.

◆ TXSTATUS_NUMWORDS

#define TXSTATUS_NUMWORDS (   ah)    10

Definition at line 409 of file ar5416desc.h.

◆ TXSTATUS_OFFSET

#define TXSTATUS_OFFSET (   ah)    (AR_SREV_5416_V20_OR_LATER(ah) ? 14 : 10)

Definition at line 408 of file ar5416desc.h.

Variable Documentation

◆ __packed

struct ar5416_desc __packed