4 * @Abstract: Host Interface api
8 * Copyright (c) 2008 Atheros Communications Inc.
16 #define MAX_HW_DESC_SIZE 20
20 struct _VDESC *next_desc;
26 A_UINT8 hw_desc_buf[MAX_HW_DESC_SIZE];
29 #define VDESC_HW_TO_VDESC(hwdesc) ((VDESC *)(((A_UINT32 *)hwdesc - 4)))
32 void (*_init)(int nDesc);
33 VDESC* (*_alloc_vdesc)();
34 A_UINT8* (*_get_hw_desc)(VDESC *desc);
35 void (*_swap_vdesc)(VDESC *dest, VDESC *src);
37 /* room to expand this table by another table */
41 extern void vdesc_module_install(struct vdesc_api *apis);