1
2
3
4
5
6
7
8
9
10
11
12
13 #include "drv_types.h"
14 #include <linux/types.h>
15
16 #ifndef __RTL92C__FW__H__
17 #define __RTL92C__FW__H__
18
19 #define FW_8192C_START_ADDRESS 0x1000
20 #define FW_8192C_PAGE_SIZE 4096
21 #define FW_8192C_POLLING_DELAY 5
22
23 struct rtl92c_firmware_header {
24 __le16 signature;
25 u8 category;
26 u8 function;
27 u16 version;
28 u8 subversion;
29 u8 rsvd1;
30 u8 month;
31 u8 date;
32 u8 hour;
33 u8 minute;
34 u16 ramcodesize;
35 u16 rsvd2;
36 u32 svnindex;
37 u32 rsvd3;
38 u32 rsvd4;
39 u32 rsvd5;
40 };
41
42 int rtl88eu_download_fw(struct adapter *adapt);
43
44 #endif