summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLoïc Kassel <loic.kassel@gmail.com>2026-10-23 19:21:54 +0200
committerJohannes Berg <johannes.berg@intel.com>2026-11-10 10:02:49 +0100
commit0da2be70425b21acf6e11bcf02f8a10fd55e85b0 (patch)
tree33ab97b204c688386bb7bfb3b69d8dd961147119 /tools/perf/scripts/python
parentf66469d9905b39d2c260a15d7d6db450f4db67c1 (diff)
wifi: mac80211_hwsim: use CLOCK_BOOTTIME for the beacon timer
The simulated TSF is based on boottime, and the beacon timer is re-armed with an absolute expiry derived from the TSF through mac80211_hwsim_tsf_to_boottime(). The timer itself is however still set up with CLOCK_MONOTONIC. Boottime keeps running while the system is suspended, monotonic does not. After the host has been suspended once, every beacon is therefore scheduled too late by the total time spent in suspend, and APs practically stop sending beacons. Set the beacon timer up with CLOCK_BOOTTIME so that it is consistent with the TSF. Fixes: 933f5bec98a1 ("wifi: mac80211_hwsim: register beacon timer by calculating TBTT") Closes: https://lore.kernel.org/linux-wireless/CAAzpgGdksHZjx4jc20zqnAG_PQ2e1ggANQjt2eiycUiWc+vPHg@mail.gmail.com/ Signed-off-by: Loïc Kassel <loic.kassel@gmail.com> Link: https://patch.msgid.link/20261023-hwsim-beacon-clock-v1-1-9b3f3ffc099b@gmail.com [remove useless commit message fluff] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions