mbox series

[v3,0/3] wifi: ath12k: Refactor the hardware recovery procedures

Message ID 20240425090307.3233434-1-quic_periyasa@quicinc.com
Headers show
Series wifi: ath12k: Refactor the hardware recovery procedures | expand

Message

Karthikeyan Periyasamy April 25, 2024, 9:03 a.m. UTC
Currently, hardware recovery procedure supports multi wiphy model. However,
to support single wiphy model, we need to refactor the hardware recovery
procedure. This patchset allows the logic to work both multi wiphy models
and future single wiphy models.

v3:
 wifi: ath12k: Refactor the hardware recovery procedure
	* Removed unnecessary conditional check
 wifi: ath12k: Add lock to protect the hardware state
	* Introduce auto guard mutex 
v2:
 - Rebased to ToT
 - Renamed the lock name as per the kalle comments

Karthikeyan Periyasamy (3):
  wifi: ath12k: Refactor the hardware recovery procedure
  wifi: ath12k: Refactor the hardware state
  wifi: ath12k: Add lock to protect the hardware state

 drivers/net/wireless/ath/ath12k/core.c | 98 ++++++++++++++------------
 drivers/net/wireless/ath/ath12k/core.h | 28 +++++---
 drivers/net/wireless/ath/ath12k/mac.c  | 88 +++++++++++++++--------
 drivers/net/wireless/ath/ath12k/reg.c  | 19 ++---
 4 files changed, 141 insertions(+), 92 deletions(-)


base-commit: 326f8f68f28b0b831233acfabffb486a5b0f4717