diff options
| author | 2026-09-30 12:19:41 +0300 | |
|---|---|---|
| committer | 2026-10-14 11:56:38 +0300 | |
| commit | 594c359b00422f1cb1afc3713595fc7e56828869 (patch) | |
| tree | c950c47cfb81c5f32cc0b0262e438b631ddcabf3 /scripts/Makefile.thinlto | |
| parent | wifi: iwlwifi: mld: fake a valid NSS field when needed (diff) | |
wifi: iwlwifi: mld: add gp2 timestamps to TX commands
TX command v12 adds a driver timestamp in the gp2 clock domain.
Firmware uses it to age out frames deferred by CCA for more than
four seconds. Without it, a blocked queue can stall until the
datapath monitor fires LMAC assert 0x4433.
Reading the gp2 register per frame is too expensive for the TX path.
Instead, use a worker to measure its offset from host boottime and
publish the offset and validity deadline using atomic stores. TX
then estimates gp2 without allocation or locking for timestamp reads.
TX requests a refresh after five seconds, while the estimate remains
valid for ten seconds to tolerate worker delays and bound clock drift.
Successful refreshes require no periodic work while traffic is idle.
A failed read invalidates the estimate and schedules a retry after
roughly one second, rounded for timer coalescing, even without traffic.
Invalidate the estimate before D3 entry and firmware shutdown, and
refresh it on resume or reload because gp2 restarts with firmware.
Frames without a valid estimate carry a zero timestamp, which firmware
ignores.
Signed-off-by: Daniel Gabay <daniel.gabay@intel.com>
Assisted-by: LLM
Link: https://patch.msgid.link/20260930121740.a5016741a467.Ie4d4af8d7100a656a8469edc0c38ec81b0b58860@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
