mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Merge "qcacld-3.0: Add host changes for latest fw common changes" into wlan-cld3.driver.lnx.1.1-dev
This commit is contained in:
commit
f6bcb1de8d
5 changed files with 57 additions and 0 deletions
|
|
@ -38,6 +38,12 @@
|
|||
#define AR6320_REV2_VERSION AR6320_REV1_1_VERSION
|
||||
#define AR6320_REV4_VERSION AR6320_REV2_1_VERSION
|
||||
#define SIGN_HEADER_MAGIC 0x454D4F52
|
||||
#define HI_ACS_FLAGS_SDIO_SWAP_MAILBOX_SET (1 << 0)
|
||||
#define HI_ACS_FLAGS_SDIO_REDUCE_TX_COMPL_SET (1 << 1)
|
||||
#define HI_ACS_FLAGS_ALT_DATA_CREDIT_SIZE (1 << 2)
|
||||
|
||||
#define HI_ACS_FLAGS_SDIO_SWAP_MAILBOX_FW_ACK (1 << 16)
|
||||
#define HI_ACS_FLAGS_SDIO_REDUCE_TX_COMPL_FW_ACK (1 << 17)
|
||||
|
||||
void ol_target_failure(void *instance, QDF_STATUS status);
|
||||
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@
|
|||
#include <qdf_types.h>
|
||||
#include <csr_api.h>
|
||||
#include <sap_api.h>
|
||||
#include "osapi_linux.h"
|
||||
#include <wmi_unified.h>
|
||||
|
||||
#define FW_MODULE_LOG_LEVEL_STRING_LENGTH (255)
|
||||
|
|
|
|||
|
|
@ -35,6 +35,49 @@ extern "C" {
|
|||
#include "dbglog_common.h"
|
||||
#include "ol_defines.h"
|
||||
|
||||
#define DIAG_FWID_OFFSET 24
|
||||
#define DIAG_FWID_MASK 0xFF000000 /* Bit 24-31 */
|
||||
|
||||
#define DIAG_TIMESTAMP_OFFSET 0
|
||||
#define DIAG_TIMESTAMP_MASK 0x00FFFFFF /* Bit 0-23 */
|
||||
|
||||
#define DIAG_ID_OFFSET 16
|
||||
#define DIAG_ID_MASK 0xFFFF0000 /* Bit 16-31 */
|
||||
|
||||
#define DIAG_VDEVID_OFFSET 11
|
||||
#define DIAG_VDEVID_MASK 0x0000F800 /* Bit 11-15 */
|
||||
#define DIAG_VDEVID_NUM_MAX 16
|
||||
|
||||
#define DIAG_VDEVLEVEL_OFFSET 8
|
||||
#define DIAG_VDEVLEVEL_MASK 0x00000700 /* Bit 8-10 */
|
||||
|
||||
#define DIAG_PAYLEN_OFFSET 0
|
||||
#define DIAG_PAYLEN_MASK 0x000000FF /* Bit 0-7 */
|
||||
|
||||
#define DIAG_PAYLEN_OFFSET16 0
|
||||
#define DIAG_PAYLEN_MASK16 0x0000FFFF /* Bit 0-16 */
|
||||
|
||||
#define DIAG_GET_TYPE(arg) \
|
||||
((arg & DIAG_FWID_MASK) >> DIAG_FWID_OFFSET)
|
||||
|
||||
#define DIAG_GET_TIME_STAMP(arg) \
|
||||
((arg & DIAG_TIMESTAMP_MASK) >> DIAG_TIMESTAMP_OFFSET)
|
||||
|
||||
#define DIAG_GET_ID(arg) \
|
||||
((arg & DIAG_ID_MASK) >> DIAG_ID_OFFSET)
|
||||
|
||||
#define DIAG_GET_VDEVID(arg) \
|
||||
((arg & DIAG_VDEVID_MASK) >> DIAG_VDEVID_OFFSET)
|
||||
|
||||
#define DIAG_GET_VDEVLEVEL(arg) \
|
||||
((arg & DIAG_VDEVLEVEL_MASK) >> DIAG_VDEVLEVEL_OFFSET)
|
||||
|
||||
#define DIAG_GET_PAYLEN(arg) \
|
||||
((arg & DIAG_PAYLEN_MASK) >> DIAG_PAYLEN_OFFSET)
|
||||
|
||||
#define DIAG_GET_PAYLEN16(arg) \
|
||||
((arg & DIAG_PAYLEN_MASK16) >> DIAG_PAYLEN_OFFSET16)
|
||||
|
||||
/*
|
||||
* set the dbglog parser type
|
||||
*/int
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
#include "cds_mq.h"
|
||||
#include "ani_global.h"
|
||||
#include "a_types.h"
|
||||
#include "osapi_linux.h"
|
||||
#include "wmi_unified.h"
|
||||
#ifdef NOT_YET
|
||||
#include "htc_api.h"
|
||||
|
|
|
|||
|
|
@ -57,10 +57,16 @@
|
|||
#define __ATTRIB_PACK __attribute__ ((packed))
|
||||
#define __ATTRIB_PRINTF __attribute__ ((format (printf, 1, 2)))
|
||||
#define __ATTRIB_NORETURN __attribute__ ((noreturn))
|
||||
#ifndef INLINE
|
||||
#define INLINE __inline__
|
||||
#endif
|
||||
#else /* Not GCC */
|
||||
#define __ATTRIB_PACK
|
||||
#define __ATTRIB_PRINTF
|
||||
#define __ATTRIB_NORETURN
|
||||
#ifndef INLINE
|
||||
#define INLINE __inline
|
||||
#endif
|
||||
#endif /* End __GNUC__ */
|
||||
|
||||
#define PREPACK
|
||||
|
|
|
|||
Loading…
Reference in a new issue