110 lines
3.4 KiB
C
110 lines
3.4 KiB
C
#ifndef _HALMAC_RX_BD_CHIP_H_
|
|
#define _HALMAC_RX_BD_CHIP_H_
|
|
#if (HALMAC_8814A_SUPPORT)
|
|
|
|
/*TXBD_DW0*/
|
|
|
|
#define GET_RX_BD_RXFAIL_8814A(__pRxBd) GET_RX_BD_RXFAIL(__pRxBd)
|
|
#define GET_RX_BD_TOTALRXPKTSIZE_8814A(__pRxBd) GET_RX_BD_TOTALRXPKTSIZE(__pRxBd)
|
|
#define GET_RX_BD_RXTAG_8814A(__pRxBd) GET_RX_BD_RXTAG(__pRxBd)
|
|
#define GET_RX_BD_FS_8814A(__pRxBd) GET_RX_BD_FS(__pRxBd)
|
|
#define GET_RX_BD_LS_8814A(__pRxBd) GET_RX_BD_LS(__pRxBd)
|
|
#define GET_RX_BD_RXBUFFSIZE_8814A(__pRxBd) GET_RX_BD_RXBUFFSIZE(__pRxBd)
|
|
|
|
/*TXBD_DW1*/
|
|
|
|
#define GET_RX_BD_PHYSICAL_ADDR_LOW_8814A(__pRxBd) GET_RX_BD_PHYSICAL_ADDR_LOW(__pRxBd)
|
|
|
|
/*TXBD_DW2*/
|
|
|
|
#define GET_RX_BD_PHYSICAL_ADDR_HIGH_8814A(__pRxBd) GET_RX_BD_PHYSICAL_ADDR_HIGH(__pRxBd)
|
|
|
|
#endif
|
|
|
|
#if (HALMAC_8822B_SUPPORT)
|
|
|
|
/*TXBD_DW0*/
|
|
|
|
#define GET_RX_BD_RXFAIL_8822B(__pRxBd) GET_RX_BD_RXFAIL(__pRxBd)
|
|
#define GET_RX_BD_TOTALRXPKTSIZE_8822B(__pRxBd) GET_RX_BD_TOTALRXPKTSIZE(__pRxBd)
|
|
#define GET_RX_BD_RXTAG_8822B(__pRxBd) GET_RX_BD_RXTAG(__pRxBd)
|
|
#define GET_RX_BD_FS_8822B(__pRxBd) GET_RX_BD_FS(__pRxBd)
|
|
#define GET_RX_BD_LS_8822B(__pRxBd) GET_RX_BD_LS(__pRxBd)
|
|
#define GET_RX_BD_RXBUFFSIZE_8822B(__pRxBd) GET_RX_BD_RXBUFFSIZE(__pRxBd)
|
|
|
|
/*TXBD_DW1*/
|
|
|
|
#define GET_RX_BD_PHYSICAL_ADDR_LOW_8822B(__pRxBd) GET_RX_BD_PHYSICAL_ADDR_LOW(__pRxBd)
|
|
|
|
/*TXBD_DW2*/
|
|
|
|
#define GET_RX_BD_PHYSICAL_ADDR_HIGH_8822B(__pRxBd) GET_RX_BD_PHYSICAL_ADDR_HIGH(__pRxBd)
|
|
|
|
#endif
|
|
|
|
#if (HALMAC_8197F_SUPPORT)
|
|
|
|
/*TXBD_DW0*/
|
|
|
|
#define GET_RX_BD_RXFAIL_8197F(__pRxBd) GET_RX_BD_RXFAIL(__pRxBd)
|
|
#define GET_RX_BD_TOTALRXPKTSIZE_8197F(__pRxBd) GET_RX_BD_TOTALRXPKTSIZE(__pRxBd)
|
|
#define GET_RX_BD_RXTAG_8197F(__pRxBd) GET_RX_BD_RXTAG(__pRxBd)
|
|
#define GET_RX_BD_FS_8197F(__pRxBd) GET_RX_BD_FS(__pRxBd)
|
|
#define GET_RX_BD_LS_8197F(__pRxBd) GET_RX_BD_LS(__pRxBd)
|
|
#define GET_RX_BD_RXBUFFSIZE_8197F(__pRxBd) GET_RX_BD_RXBUFFSIZE(__pRxBd)
|
|
|
|
/*TXBD_DW1*/
|
|
|
|
#define GET_RX_BD_PHYSICAL_ADDR_LOW_8197F(__pRxBd) GET_RX_BD_PHYSICAL_ADDR_LOW(__pRxBd)
|
|
|
|
/*TXBD_DW2*/
|
|
|
|
#define GET_RX_BD_PHYSICAL_ADDR_HIGH_8197F(__pRxBd) GET_RX_BD_PHYSICAL_ADDR_HIGH(__pRxBd)
|
|
|
|
#endif
|
|
|
|
#if (HALMAC_8821C_SUPPORT)
|
|
|
|
/*TXBD_DW0*/
|
|
|
|
#define GET_RX_BD_RXFAIL_8821C(__pRxBd) GET_RX_BD_RXFAIL(__pRxBd)
|
|
#define GET_RX_BD_TOTALRXPKTSIZE_8821C(__pRxBd) GET_RX_BD_TOTALRXPKTSIZE(__pRxBd)
|
|
#define GET_RX_BD_RXTAG_8821C(__pRxBd) GET_RX_BD_RXTAG(__pRxBd)
|
|
#define GET_RX_BD_FS_8821C(__pRxBd) GET_RX_BD_FS(__pRxBd)
|
|
#define GET_RX_BD_LS_8821C(__pRxBd) GET_RX_BD_LS(__pRxBd)
|
|
#define GET_RX_BD_RXBUFFSIZE_8821C(__pRxBd) GET_RX_BD_RXBUFFSIZE(__pRxBd)
|
|
|
|
/*TXBD_DW1*/
|
|
|
|
#define GET_RX_BD_PHYSICAL_ADDR_LOW_8821C(__pRxBd) GET_RX_BD_PHYSICAL_ADDR_LOW(__pRxBd)
|
|
|
|
/*TXBD_DW2*/
|
|
|
|
#define GET_RX_BD_PHYSICAL_ADDR_HIGH_8821C(__pRxBd) GET_RX_BD_PHYSICAL_ADDR_HIGH(__pRxBd)
|
|
|
|
#endif
|
|
|
|
#if (HALMAC_8188F_SUPPORT)
|
|
|
|
/*TXBD_DW0*/
|
|
|
|
#define GET_RX_BD_RXFAIL_8188F(__pRxBd) GET_RX_BD_RXFAIL(__pRxBd)
|
|
#define GET_RX_BD_TOTALRXPKTSIZE_8188F(__pRxBd) GET_RX_BD_TOTALRXPKTSIZE(__pRxBd)
|
|
#define GET_RX_BD_RXTAG_8188F(__pRxBd) GET_RX_BD_RXTAG(__pRxBd)
|
|
#define GET_RX_BD_FS_8188F(__pRxBd) GET_RX_BD_FS(__pRxBd)
|
|
#define GET_RX_BD_LS_8188F(__pRxBd) GET_RX_BD_LS(__pRxBd)
|
|
#define GET_RX_BD_RXBUFFSIZE_8188F(__pRxBd) GET_RX_BD_RXBUFFSIZE(__pRxBd)
|
|
|
|
/*TXBD_DW1*/
|
|
|
|
#define GET_RX_BD_PHYSICAL_ADDR_LOW_8188F(__pRxBd) GET_RX_BD_PHYSICAL_ADDR_LOW(__pRxBd)
|
|
|
|
/*TXBD_DW2*/
|
|
|
|
#define GET_RX_BD_PHYSICAL_ADDR_HIGH_8188F(__pRxBd) GET_RX_BD_PHYSICAL_ADDR_HIGH(__pRxBd)
|
|
|
|
#endif
|
|
|
|
|
|
#endif
|