4 * @Abstract: mailbox hardware definitions
8 * Copyright (c) 2008 Atheros Communications Inc.
17 #include <vdesc_api.h>
19 #include <dma_engine_api.h>
21 #define HIF_USB_PIPE_TX 1
22 #define HIF_USB_PIPE_RX 2
23 #define HIF_USB_PIPE_INTERRUPT 3
24 #define HIF_USB_PIPE_COMMAND 4
25 #define HIF_USB_PIPE_HP_TX 5
26 #define HIF_USB_PIPE_MP_TX 6
34 /* the mailbox hardware layer context */
35 typedef struct _HIF_USB_CONTEXT {
37 struct zsDmaQueue dnQ;
38 struct zsTxDmaQueue upQ;
39 #if SYSTEM_MODULE_HP_EP5
40 struct zsDmaQueue hpdnQ; // high priority
42 #if SYSTEM_MODULE_HP_EP6
43 struct zsDmaQueue mpdnQ; // medium priority
45 //struct VBUF_QUEUE upVbufQ;
47 struct VBUF_QUEUE eventBufQ;
49 // Left a door for extension the structure