iwd/tools
Denis Kenzior b7f873bbbc hwsim: Optimize frame forwarding
Right now hwsim blindly tries to forward broadcast/multicast frames to
all interfaces it knows about and relies on the kernel to reject the
forwarding attempt if the frequency does not match.  This results in
multiple copies of the same message being added to the genl transmit
queue.

On slower systems this can cause a run-away memory consumption effect
where the queued messages are not processed in time prior to a new
message being received for forwarding.  The likelyhood of this effect
manifesting itself is directly related to the number of hostapd
instances that are created and are beaconing simultaneously.

Try to optimize frame forwarding by not sending beacon frames
to those interfaces that are in AP mode (i.e. pure hostapd instances)
since such interfaces are going to be operating on a different frequency
and would not be interested in processing beacon frames anyway.

This optimization cuts down peak memory use during certain tests by 30x
or more (~33mb to ~1mb) when profiled with 'valgrind --tool=massif'
2021-12-27 23:25:24 -06:00
..
hw.conf test-runner: Allow native hardware passthrough 2019-05-01 17:03:34 -05:00
hwsim-dbus.conf tools: Change net.connman.iwd.hwsim to net.connman.hwsim 2018-09-14 15:27:57 +02:00
hwsim.c hwsim: Optimize frame forwarding 2021-12-27 23:25:24 -06:00
hwsim.rst build: Add skeleton manual pages for all installed binaries 2019-09-22 21:57:47 +02:00
ios_convert.py tools: ios_convert: embed certs rather than using paths 2019-10-07 23:09:29 -05:00
probe-req.c tools: Add utility to tx Probe Requests 2020-03-20 10:18:04 -05:00
run-iwd.sh build: Add StateDirectoryMode=0700 option to systemd service 2019-09-09 06:55:22 +02:00
test-runner test-runner: catch exception on test file removal 2021-12-22 19:10:43 -06:00
test_runner_kernel_config tools: enable CONFIG_CRYPTO_ARC4 in kernel config 2019-09-11 11:40:39 -05:00