mbox series

[v2,0/3] wifi: ath11k: fix CAC running state

Message ID 20230912051857.2284-1-quic_adisi@quicinc.com (mailing list archive)
Headers show
Series wifi: ath11k: fix CAC running state | expand

Message

Aditya Kumar Singh Sept. 12, 2023, 5:18 a.m. UTC
Currently CAC running flag in ath11k is not set if DFS radar is required in
secondary channel. This is due to the fact that only primary channel's DFS
state and CAC time is being checked before setting the flag.

Fix this issue by checking the DFS state of all the sub-channels inside a
channel definition and not just the primary channel.

Also, make minor change in debug prints to show the CAC time

Aditya Kumar Singh (3):
  wifi: cfg80211: export DFS CAC time and usable state helper functions
  wifi: ath11k: fix CAC running state during virtual interface start
  wifi: ath11k: fix Tx power value during active CAC
---
v2: rebased on ToT

---
 drivers/net/wireless/ath/ath11k/mac.c | 27 +++++++++++++++++++--------
 include/net/cfg80211.h                | 24 ++++++++++++++++++++++++
 net/wireless/chan.c                   |  2 ++
 net/wireless/core.h                   | 17 -----------------
 4 files changed, 45 insertions(+), 25 deletions(-)


base-commit: 0263687f4441d5a5eab8074d56b4693c8f0acf85