Go to the documentation of this file.
26 #ifndef __RTL871X_CMD_H_
27 #define __RTL871X_CMD_H_
31 #define C2H_MEM_SZ (16*1024)
36 #define FREE_CMDOBJ_SZ 128
39 #define MAX_EVTSZ 1024
40 #define CMDBUFF_ALIGN_SZ 512
84 #define init_h2fwcmd_w_parm_no_rsp(pcmd, pparm, code) \
86 _init_listhead(&pcmd->list);\
87 pcmd->cmdcode = code;\
88 pcmd->parmbuf = (u8 *)(pparm);\
89 pcmd->cmdsz = sizeof(*pparm);\
717 #define GEN_CMD_CODE(cmd) cmd ## _CMD_
728 #define H2C_RSP_OFFSET 512
729 #define H2C_SUCCESS 0x00
730 #define H2C_SUCCESS_RSP 0x01
731 #define H2C_DUPLICATED 0x02
732 #define H2C_DROPPED 0x03
733 #define H2C_PARAMETERS_ERROR 0x04
734 #define H2C_REJECTED 0x05
735 #define H2C_CMD_OVERFLOW 0x06
736 #define H2C_RESERVED 0x07
780 u32 tryPktCnt,
u32 tryPktInterval,
u32 firstStageTO);