Bluetooth: controller: Added Force MD bit automatic feature
Added automatic runtime calculation of Forced MD bit count based on incoming Tx buffer throughput. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
3bbe2c0a07
commit
e4fe7435d7
4 changed files with 93 additions and 3 deletions
|
@ -391,8 +391,9 @@ config BT_CTLR_THROUGHPUT
|
|||
Measure incoming Tx throughput and log the results.
|
||||
|
||||
config BT_CTLR_FORCE_MD_COUNT
|
||||
int "Forced MD bit count"
|
||||
int "Forced MD bit count" if !BT_CTLR_FORCE_MD_AUTO
|
||||
range 0 255
|
||||
default 1 if BT_CTLR_FORCE_MD_AUTO
|
||||
default 0
|
||||
help
|
||||
No. of times to force MD bit to be set in Tx PDU after a successful
|
||||
|
@ -402,6 +403,14 @@ config BT_CTLR_FORCE_MD_COUNT
|
|||
where applications want to send data in same connection event but are
|
||||
slow in providing new Tx data.
|
||||
|
||||
config BT_CTLR_FORCE_MD_AUTO
|
||||
bool "Forced MD bit automatic calculation"
|
||||
select BT_CTLR_THROUGHPUT
|
||||
default y if BT_HCI_RAW
|
||||
help
|
||||
Force MD bit in transmitted PDU based on runtime incoming transmit
|
||||
data throughput.
|
||||
|
||||
config BT_CTLR_CONN_RSSI_EVENT
|
||||
bool "Connection RSSI event"
|
||||
depends on BT_CTLR_CONN_RSSI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue