mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: Fix compilation for r96 headers
Add HW verision check to access proper macros for host common interrupts. Change-Id: I6cba4a17913c23f48c62b7917166b7c0db77c06b CRs-Fixed: 1090092
This commit is contained in:
parent
40c69d9fec
commit
e516b08079
1 changed files with 8 additions and 0 deletions
|
|
@ -22,6 +22,9 @@
|
|||
#define WLAN_HEADERS 1
|
||||
|
||||
#include <lithium_top_reg.h>
|
||||
#ifdef CONFIG_WIN
|
||||
#include "wcss_version.h"
|
||||
#endif
|
||||
|
||||
#define MISSING 0
|
||||
|
||||
|
|
@ -150,8 +153,13 @@
|
|||
#define CE_WRAPPER_INTERRUPT_SUMMARY_ADDRESS MISSING
|
||||
#define CE_DDR_ADDRESS_FOR_RRI_LOW MISSING
|
||||
#define CE_DDR_ADDRESS_FOR_RRI_HIGH MISSING
|
||||
#if defined(WCSS_VERSION) && (WCSS_VERSION > 68)
|
||||
#define HOST_IE_ADDRESS UMAC_CE_COMMON_WFSS_CE_COMMON_R0_CE_HOST_IE_0
|
||||
#define HOST_IE_ADDRESS_2 UMAC_CE_COMMON_WFSS_CE_COMMON_R0_CE_HOST_IE_1
|
||||
#else
|
||||
#define HOST_IE_ADDRESS UMAC_CE_COMMON_CE_HOST_IE_0
|
||||
#define HOST_IE_ADDRESS_2 UMAC_CE_COMMON_CE_HOST_IE_1
|
||||
#endif
|
||||
#define HOST_IE_COPY_COMPLETE_MASK MISSING
|
||||
#define SR_BA_ADDRESS MISSING
|
||||
#define SR_BA_ADDRESS_HIGH MISSING
|
||||
|
|
|
|||
Loading…
Reference in a new issue