mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 00:04:29 +08:00
e453a336c4
We are sending data to controller at wrong average rate not equal to 1 packet / SDU interval, if Transport_Latency is not an integer multiple of SDU_Interval. The calculation currently may also give zero, so no data gets sent. We are sending data in bursts of num ~= Transport_Latency/SDU_Interval packets, in hopes that possibly larger timer interval makes things more efficient. Fix the data rate by sending num packets every num*SDU_Interval, so that the average data rate is correct. Also fix use of itimerspect.it_value with TFD_TIMER_ABSTIME. The value set previously is going to always be in the past in CLOCK_MONOTONIC so just set it to 1. |
||
---|---|---|
.. | ||
scripts | ||
admin.c | ||
admin.h | ||
adv_monitor.c | ||
adv_monitor.h | ||
advertising.c | ||
advertising.h | ||
agent.c | ||
agent.h | ||
bluetoothctl-admin.rst | ||
bluetoothctl-advertise.rst | ||
bluetoothctl-endpoint.rst | ||
bluetoothctl-gatt.rst | ||
bluetoothctl-mgmt.rst | ||
bluetoothctl-monitor.rst | ||
bluetoothctl-player.rst | ||
bluetoothctl-scan.rst | ||
bluetoothctl-transport.rst | ||
bluetoothctl.rst | ||
display.c | ||
display.h | ||
gatt.c | ||
gatt.h | ||
main.c | ||
mgmt.c | ||
mgmt.h | ||
player.c | ||
player.h | ||
print.c | ||
print.h |