summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@intel.com>2026-05-04 10:20:53 +0300
committerJohannes Berg <johannes.berg@intel.com>2026-05-05 13:10:16 +0300
commit933f5bec98a123be286825e27e1186f829883519 (patch)
treec5f365fe24af65fcf9b3fdb2baef8f6a25a9f30b /include/linux/debugobjects.h
parente75129031f1ca727b029bf33afdc544f0e81d5ac (diff)
downloadlinux-933f5bec98a123be286825e27e1186f829883519.tar.xz
wifi: mac80211_hwsim: register beacon timer by calculating TBTT
It is easy to calculate the next target beacon transmission time (TBTT) based on the current TSF and the beacon interval. Use this method to calculate the time to the next beacon. With this, the bcn_delta variable can be removed and drift over time due to the timer firing late is fully avoided. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20260504101829.cc6f099ae2ac.Iccf6164f3feeb5350fcfe0df666248c686b226ae@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions