ath9k_htc: Update to upstream's commit d19607454d656cb14d8c16dfbf161eebb542e8fe dated...
[linux-libre-firmware.git] / ath9k_htc / target_firmware / magpie_fw_dev / target / inc / magpie / vdesc_api.h
diff --git a/ath9k_htc/target_firmware/magpie_fw_dev/target/inc/magpie/vdesc_api.h b/ath9k_htc/target_firmware/magpie_fw_dev/target/inc/magpie/vdesc_api.h
deleted file mode 100755 (executable)
index 631f134..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * @File: VBUF_api.h
- * 
- * @Abstract: Host Interface api
- * 
- * @Notes:
- * 
- * Copyright (c) 2008 Atheros Communications Inc.
- * All rights reserved.
- *
- */
-
-#ifndef _VDESC_API_H
-#define _VDESC_API_H
-
-//#define VDESC_CONTROL_BUF_HDR          (1 << 6)  /* the buffer was manipulated and a header added */
-
-#define MAX_HW_DESC_SIZE 20
-
-typedef struct _VDESC
-{
-    struct _VDESC   *next_desc;
-    A_UINT8         *buf_addr;
-    A_UINT16        buf_size;
-    A_UINT16        data_offset;
-    A_UINT16        data_size;
-    A_UINT16        control;
-    A_UINT8         hw_desc_buf[MAX_HW_DESC_SIZE]; 
-} VDESC;
-
-//#define VDESC_HW_TO_VDESC(hwdesc)   ((VDESC *)(((A_UINT32 *)hwdesc - 4)))
-#define VDESC_HW_TO_VDESC(hwdesc)   ((VDESC *)(((A_UINT32 *)hwdesc - 4)))
-
-struct vdesc_api {
-    void        (*_init)(int nDesc);
-    VDESC*      (*_alloc_vdesc)();
-    A_UINT8*    (*_get_hw_desc)(VDESC *desc);
-    void        (*_swap_vdesc)(VDESC *dest, VDESC *src);
-    //void (*_free_vdesc)(void);
-        /* room to expand this table by another table */
-    void *pReserved;    
-};
-
-extern void vdesc_module_install(struct vdesc_api *apis);
-
-#endif