mbox series

[0/8] ath11k: enable shadow register for QCA6390

Message ID 1601544890-13450-1-git-send-email-kvalo@codeaurora.org
Headers show
Series ath11k: enable shadow register for QCA6390 | expand

Message

Kalle Valo Oct. 1, 2020, 9:34 a.m. UTC
Enable the shadow register feature for QCA6390, so that it can enter idle power
save mode. Shadow registers can be accessed regardless target's power state,
and hardware will forward the value to target register automatically.

Also implement a workaround to fix a shadow register deficit.

This depends on patchset: ath11k: qca6390: packet log support and fixes for crashes

Kalle

Carl Huang (7):
  ath11k: read and write registers below unwindowed address
  ath11k: enable shadow register configuration and access
  ath11k: set WMI pipe credit to 1 for QCA6390
  ath11k: start a timer to update TCL HP
  ath11k: start a timer to update REO cmd ring
  ath11k: start a timer to update HP for CE pipe 4
  ath11k: enable idle power save mode

Kalle Valo (1):
  ath11k: remove unnecessary casts to u32

 drivers/net/wireless/ath/ath11k/ce.c     |  80 ++++++++++++++++++
 drivers/net/wireless/ath/ath11k/ce.h     |   3 +
 drivers/net/wireless/ath/ath11k/core.c   |   7 ++
 drivers/net/wireless/ath/ath11k/dp.c     |  97 ++++++++++++++++++++++
 drivers/net/wireless/ath/ath11k/dp.h     |  24 ++++++
 drivers/net/wireless/ath/ath11k/dp_tx.c  |   2 +
 drivers/net/wireless/ath/ath11k/hal.c    | 135 +++++++++++++++++++++++++++++--
 drivers/net/wireless/ath/ath11k/hal.h    |  19 ++++-
 drivers/net/wireless/ath/ath11k/hal_rx.c |   2 +
 drivers/net/wireless/ath/ath11k/htc.c    |   6 ++
 drivers/net/wireless/ath/ath11k/hw.h     |   2 +
 drivers/net/wireless/ath/ath11k/mac.c    |   9 +++
 drivers/net/wireless/ath/ath11k/pci.c    |  38 +++++++++
 drivers/net/wireless/ath/ath11k/pci.h    |   7 ++
 drivers/net/wireless/ath/ath11k/qmi.c    |  13 ++-
 drivers/net/wireless/ath/ath11k/qmi.h    |   2 +-
 16 files changed, 434 insertions(+), 12 deletions(-)