summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@intel.com>2026-05-06 06:44:20 +0300
committerJohannes Berg <johannes.berg@intel.com>2026-05-06 12:41:49 +0300
commitf9aeb3a234ebc1205fcb9eafc792a1049193d709 (patch)
tree6c6619dd60b584f51d03c7439d17886c7f7c4ca1 /include/linux
parent7b9b2dd69b568172479ee6c9b680edd7b1b8f012 (diff)
downloadlinux-f9aeb3a234ebc1205fcb9eafc792a1049193d709.tar.xz
wifi: mac80211_hwsim: limit TX of frames to the NAN DW
Frames submitted on the NAN device interface should only be transmitted during one of the discovery windows (DWs). It is assumed that software submits frames from the DW end notifications for the next DW period. Simulate this behaviour by checking that we are currently in a DW before transmitting from ieee80211_hwsim_wake_tx_queue. As frames will be queued up at the start of a DW, wake the management TX queue every time a DW is started. Do so with a randomized offset just to avoid every client transmitting at the same time. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20260506064301.f3456f159655.Id6780e2f7f7cab03264299b7d696ba5b1269e451@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions