summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/targaddrs.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@codeaurora.org>2017-05-19 11:47:44 +0300
committerKalle Valo <kvalo@codeaurora.org>2017-05-19 11:47:44 +0300
commitfb53905cf2c3db6eb1ce37a37c5002456fa7ee20 (patch)
tree52c6f0bc2987803a10732a2acb772882d4189eb6 /drivers/net/wireless/ath/ath10k/targaddrs.h
parenta1ad7198202ff9a2436bd24437730e78d90c5271 (diff)
parentb01c9e327249e4995e5b5b6cebec14166db9c1e7 (diff)
downloadlinux-fb53905cf2c3db6eb1ce37a37c5002456fa7ee20.tar.xz
Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
ath.git patches for 4.13. Major changes: ath10k * add initial SDIO support (still work in progress)
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/targaddrs.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/targaddrs.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/targaddrs.h b/drivers/net/wireless/ath/ath10k/targaddrs.h
index cbac9e4252d6..8bded5da9d0d 100644
--- a/drivers/net/wireless/ath/ath10k/targaddrs.h
+++ b/drivers/net/wireless/ath/ath10k/targaddrs.h
@@ -205,6 +205,24 @@ struct host_interest {
*/
/* Bit 1 - unused */
u32 hi_fw_swap; /* 0x104 */
+
+ /* global arenas pointer address, used by host driver debug */
+ u32 hi_dynamic_mem_arenas_addr; /* 0x108 */
+
+ /* allocated bytes of DRAM use by allocated */
+ u32 hi_dynamic_mem_allocated; /* 0x10C */
+
+ /* remaining bytes of DRAM */
+ u32 hi_dynamic_mem_remaining; /* 0x110 */
+
+ /* memory track count, configured by host */
+ u32 hi_dynamic_mem_track_max; /* 0x114 */
+
+ /* minidump buffer */
+ u32 hi_minidump; /* 0x118 */
+
+ /* bdata's sig and key addr */
+ u32 hi_bd_sig_key; /* 0x11c */
} __packed;
#define HI_ITEM(item) offsetof(struct host_interest, item)
@@ -319,6 +337,12 @@ struct host_interest {
#define HI_ACS_FLAGS_USE_WWAN (1 << 1)
/* Use test VAP */
#define HI_ACS_FLAGS_TEST_VAP (1 << 2)
+/* SDIO/mailbox ACS flag definitions */
+#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)
/*
* CONSOLE FLAGS