wifi: ath9k_htc: start ANI for an AP interface at the right time
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | wifi: ath9k_htc: do not start ANI before the first channel is setdrivers/ | +1 | 1 reply | |
| 2/2 | wifi: ath9k_htc: start ANI when an AP interface begins to beacondrivers/ | +3 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Toke Høiland-Jørgensen |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH ath-current 0/2] wifi: ath9k_htc: start ANI for an AP interface at the right time
From: Mehmet Fide <[email protected]>
ath9k_htc starts ANI for an AP interface in add_interface, before a channel and the calibration data exist. When the bring-up stalls between add_interface and the first channel configuration, the first ANI tick dereferences a NULL ah->caldata and the device does not recover. Patch 1 removes that start. Patch 2 starts ANI once the interface beacons, which is where ath9k_htc_vif_reconfig() already re-arms it after a channel change; without it ANI and the periodic calibration never ran during a normal AP start.
Tested with AR9271 on 6.18.48 and on a 6.12 product kernel: the oops reproduces on every start with a 500 ms delay after add_interface and is gone with the series; an hour as an AP, station mode, a channel switch, hostapd disable/enable and a restart are clean.
Mehmet Fide (2):
wifi: ath9k_htc: do not start ANI before the first channel is set
wifi: ath9k_htc: start ANI when an AP interface begins to beacon
drivers/net/wireless/ath/ath9k/htc_drv_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.55.0