Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nimble/phy/nrfx: Add support for extending T_IFS #1610

Merged
merged 1 commit into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions nimble/drivers/nrf5x/src/ble_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,8 @@ ble_phy_wfr_enable(int txrx, uint8_t tx_phy_mode, uint32_t wfr_usecs)
* by waiting 1 usec more.
*/
end_time += 1;

end_time += MYNEWT_VAL(BLE_PHY_EXTENDED_TIFS);
} else {
/*
* RX shall start no later than wfr_usecs after RX enabled.
Expand Down
10 changes: 10 additions & 0 deletions nimble/drivers/nrf5x/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ syscfg.defs:
experimental: 1
value: 0

BLE_PHY_EXTENDED_TIFS:
description: >
This allows to extend T_ifs (inter-frame spacing) by additional
microseconds to improve interoperability with peripherals that
send packets too late (eg 153us). This prolongs reception time by
additional microseconds. Defaults to 2us to improve operations with
devices already on the market.
range: 0..4
value: 2

BLE_PHY_SYSVIEW:
description: >
Enable SystemView tracing module for radio driver.
Expand Down
Loading