2009-11-03 09:17:11 +00:00
|
|
|
#ifndef __INC_FIRMWARE_H
|
|
|
|
#define __INC_FIRMWARE_H
|
|
|
|
|
|
|
|
#define RTL8190_CPU_START_OFFSET 0x80
|
2015-06-01 13:05:07 +00:00
|
|
|
#define GET_COMMAND_PACKET_FRAG_THRESHOLD(v) \
|
|
|
|
(4*(v/4) - 8 - USB_HWDESC_HEADER_LEN)
|
2009-11-03 09:17:11 +00:00
|
|
|
|
2014-10-07 12:16:17 +00:00
|
|
|
typedef enum _firmware_init_step {
|
2009-11-03 09:17:11 +00:00
|
|
|
FW_INIT_STEP0_BOOT = 0,
|
|
|
|
FW_INIT_STEP1_MAIN = 1,
|
|
|
|
FW_INIT_STEP2_DATA = 2,
|
2014-10-07 12:16:17 +00:00
|
|
|
} firmware_init_step_e;
|
2009-11-03 09:17:11 +00:00
|
|
|
|
2014-10-07 12:16:17 +00:00
|
|
|
typedef enum _opt_rst_type {
|
2009-11-03 09:17:11 +00:00
|
|
|
OPT_SYSTEM_RESET = 0,
|
|
|
|
OPT_FIRMWARE_RESET = 1,
|
2014-10-07 12:16:17 +00:00
|
|
|
} opt_rst_type_e;
|
2009-11-03 09:17:11 +00:00
|
|
|
|
|
|
|
#endif
|