|
#define | FW_8192D_START_ADDRESS 0x1000 |
|
#define | FW_8192D_PAGE_SIZE 4096 |
|
#define | FW_8192D_POLLING_TIMEOUT_COUNT 1000 |
|
#define | IS_FW_HEADER_EXIST(_pfwhdr) |
|
#define | SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) |
|
#define | GET_FIRMWARE_HDR_SIGNATURE(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr, 0, 16) |
|
#define | GET_FIRMWARE_HDR_CATEGORY(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr, 16, 8) |
|
#define | GET_FIRMWARE_HDR_FUNCTION(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr, 24, 8) |
|
#define | GET_FIRMWARE_HDR_VERSION(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr + 4, 0, 16) |
|
#define | GET_FIRMWARE_HDR_SUB_VER(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr + 4, 16, 8) |
|
#define | GET_FIRMWARE_HDR_RSVD1(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr + 4, 24, 8) |
|
#define | GET_FIRMWARE_HDR_MONTH(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr + 8, 0, 8) |
|
#define | GET_FIRMWARE_HDR_DATE(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr + 8, 8, 8) |
|
#define | GET_FIRMWARE_HDR_HOUR(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr + 8, 16, 8) |
|
#define | GET_FIRMWARE_HDR_MINUTE(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr + 8, 24, 8) |
|
#define | GET_FIRMWARE_HDR_ROMCODE_SIZE(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr + 12, 0, 16) |
|
#define | GET_FIRMWARE_HDR_RSVD2(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr + 12, 16, 16) |
|
#define | GET_FIRMWARE_HDR_SVN_IDX(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr + 16, 0, 32) |
|
#define | GET_FIRMWARE_HDR_RSVD3(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr + 20, 0, 32) |
|
#define | GET_FIRMWARE_HDR_RSVD4(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr + 24, 0, 32) |
|
#define | GET_FIRMWARE_HDR_RSVD5(__fwhdr) SHIFT_AND_MASK_LE(__fwhdr + 28, 0, 32) |
|
#define | pagenum_128(_len) (u32)(((_len) >> 7) + ((_len) & 0x7F ? 1 : 0)) |
|
#define | SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) |
|
#define | SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 1, 0, 8, __val) |
|
#define | SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 2, 0, 8, __val) |
|
#define | SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) |
|
#define | SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) |
|
#define | SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 1, 0, 8, __val) |
|
#define | SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 2, 0, 8, __val) |
|