aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/recursion.c
diff options
context:
space:
mode:
authorDaniel J. Ogorchock <djogorchock@gmail.com>2021-09-11 13:36:38 -0400
committerJiri Kosina <jkosina@suse.cz>2021-10-27 10:05:52 +0200
commite93363f716a23e61b46adfefbc3d01e99c240b5d (patch)
tree11d5161ec55310bef6770b168f96187a9dc5966c /tools/testing/selftests/bpf/prog_tests/recursion.c
parent4c048f6b2c25ff0fc0a7bdedc285ab8fe97df2fc (diff)
HID: nintendo: ratelimit subcommands and rumble
It has been found that sending subcommands and rumble data packets at too great a rate can result in controller disconnects. This patch limits the rate of subcommands/rumble to once every 25 milliseconds. Similar to sending subcommands, it is more reliable to send the rumble data packets immediately after we've received an input report from the controller. This results in far fewer bluetooth disconnects for the controller. Signed-off-by: Daniel J. Ogorchock <djogorchock@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions