-
Notifications
You must be signed in to change notification settings - Fork 666
[nrf fromtree] Bluetooth: Add support for Path Loss Monitoring feature #1768
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
Open
sean-madigan
wants to merge
290
commits into
nrfconnect:main
Choose a base branch
from
sean-madigan:add_plm_support_host
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alwa-nordic
approved these changes
Jun 5, 2024
cvinayak
approved these changes
Jun 7, 2024
98862f2
to
5aa389b
Compare
Typo: "RTS threashold" changed to "RTS threshold". Signed-off-by: Ajay Parida <[email protected]> (cherry picked from commit e493d8c) (cherry picked from commit f740d18)
…t case For default case it should print the option character provided by user. Extra shell_help removed as it's being called in the caller function. Signed-off-by: Ajay Parida <[email protected]> (cherry picked from commit 91054be) (cherry picked from commit b7b96e7)
…Idle=0 When RxOnWhenIdle is set to False, turn the radio off if no operation is ongoing in order to save power. Upstream PR: zephyrproject-rtos/zephyr#73471 Signed-off-by: Eduardo Montoya <[email protected]> (cherry picked from commit 6c602a1)
Changes twister tests and nrf samples from using legacy adv to ext adv since this is the default for Mesh. Legacy adv is still tested in bsim. Removes redundant test configuration testing ext adv. Removes redundant config for ext_adv in `multi_ext_adv.conf`. Signed-off-by: Håvard Reierstad <[email protected]> Upstream PR: zephyrproject-rtos/zephyr#73318 (cherry picked from commit 96fa153)
…ution on nrf54h20 Add overlay file for nrf54h20. Align code and DTS between spi_error_cases and spi_controller_peripheral. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 74378f3) (cherry picked from commit c7a01cf)
Add possibility to test all four SPI modes (CPOL, CPHA). Add possibility to test different bitrates. Add tests that checks handling of zero length buffers on master. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit b82946f) (cherry picked from commit 730be85)
…I test Rename SPI test to spi_controller_peripheral. Remove iclusive language from that test. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 98d0fe4) (cherry picked from commit d0f6309)
When channel range is configured in scan params, get the channel count from `chan_idx` instead of taking a difference of start and end of the channel range. The `difference` method fails in case of 5GHz band since channels may not be consecutive numbers. Signed-off-by: Ravi Dondaputi <[email protected]> (cherry picked from commit 9e38bcc) (cherry picked from commit ccd3d27)
…nrf54h20 Add nrf54h20dk to platform allow list. Overlay for tht target was already added. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 89489d6) (cherry picked from commit 76587a4)
…args README for this sample had references to the initial sample name/target. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit 598ab6b) (cherry picked from commit baf552c)
Clock control for MAX32690 Co-authored-by: Okan Sahin <[email protected]> Signed-off-by: Sadik Ozer <[email protected]> (cherry picked from commit 45df896) (cherry picked from commit 3bb917d)
Adds 8bit support in SAADC hal. Signed-off-by: Karol Lasończyk <[email protected]> (cherry picked from commit 64de50f) (cherry picked from commit d28f5a6)
Define HFXO (High Frequency Crystal Oscillator). This clock is managed by system controller, from an application point of view it is a fixed clock. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit b88a1f7) (cherry picked from commit f3b3230)
Since the introduction of zephyr_file() then the minimum required CMake version has become 3.20. Update zephyr_file() to use cmake_path insteasd of set(). This allows us to normalize the path and thereby also remove duplicates in the list as paths are normalized. Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit 8b3d4c6)
Fixes: #73066 Introduce sysbuild_root CMake module similar to the Zephyr root CMake module. The sysbuild_root CMake module works similar to existing root module, but with the difference that root paths are adjusted relative to APP_DIR which is the main image, instead of relative to sysbuild. Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit 24acc7d)
5aa389b
to
f9493c5
Compare
Add functions for local domain suspend to RAM. Add matching resume procedure. Add pm_s2ram function for determining source of reset. Add preserving NVIC and MPU state in retained RAM when CPU is powered off during S2RAM procedure. Upstream PR: zephyrproject-rtos/zephyr#73095 Signed-off-by: Adam Kondraciuk <[email protected]>
… cores Currently function `z_nrf_grtc_wakeup_prepare()` should be available only for the GRTC manager (`CONFIG_NRF_GRTC_START_SYSCOUNTER` is active). Upstream PR: zephyrproject-rtos/zephyr#73095 Signed-off-by: Adam Kondraciuk <[email protected]>
Fix typo in `PM_S2RAM_CUSTOM_MARKING` description. Upstream PR: zephyrproject-rtos/zephyr#73095 Signed-off-by: Adam Kondraciuk <[email protected]>
…vice Expands driver to cover nRF54L15 features like AIN as GPIO configuration, new reference voltage, different set of supported gain options. Signed-off-by: Karol Lasończyk <[email protected]> (cherry picked from commit 5f1fdc4)
…vice Expands driver to cover nRF54H20 features like 8bit sample width. Signed-off-by: Karol Lasończyk <[email protected]> (cherry picked from commit 13196ec)
Adds full description of the adc node and support for memory regions. Signed-off-by: Karol Lasończyk <[email protected]> (cherry picked from commit 15fa37d)
Adds configuration to play with nRF54H20 PDK board. Signed-off-by: Karol Lasończyk <[email protected]> (cherry picked from commit 3c4ea76)
Adds configuration for making tests work. Signed-off-by: Karol Lasończyk <[email protected]> (cherry picked from commit ba30517)
Enables adc node to make it usable in tests/examples. Signed-off-by: Karol Lasończyk <[email protected]> (cherry picked from commit a04b2ad)
Add support for gains: 1/2, 1/3, 2/5, 1/4. Upstream PR: zephyrproject-rtos/zephyr#74929 Signed-off-by: Karol Lasończyk <[email protected]>
…rted peripherals ADC driver was aligned to nrf54h20 target. Enable ADC Twister tests on that platform. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit a3e1e39)
…m_allow Enable test execution on nrf54h20dk. Overlay file already exists. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit cc9bd6d)
…tion on nrf54h20 Add overlay file for nrf54h20 cpuapp target. Add nrf54h20 target to platform_allow. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 48fc687)
f9493c5
to
f54d5f4
Compare
This change removes the BT_LE_PER_ADV_OPT_USE_TX_POWER option for extended advertisement in BLE Audio PTS tests. The Broadcaster setup options was hardcoded to include the BT_LE_PER_ADV_OPT_USE_TX_POWER option. This causes incompabilities for any controller not support it, and since the option is not required for the audio tests it should not be used here. Upstream PR: zephyrproject-rtos/zephyr#73361 signed-off-by: Frode van der Meeren <[email protected]>
…on Subrating Add Kconfigs to enable experimental subrating HCI commands. Signed-off-by: Timothy Keys <[email protected]> (cherry picked from commit 570c86d) Signed-off-by: Timothy Keys <[email protected]>
Expand testing for QDEC at nrf platforms. It uses general sensor API, however there are also nrf driver specific assumptions. Upstream PR: zephyrproject-rtos/zephyr#74677 Signed-off-by: Piotr Kosycarz <[email protected]>
This commit adds host support for the Path Loss Monitoring feature see Bluetooth Core specification, Version 5.4, Vol 6, Part B, Section 4.6.32. Limited logic is required, just adding a wrapper around the HCI command and callback for HCI event. Add new zone - BT_CONN_LE_PATH_LOSS_ZONE_UNAVAILABLE, to convert 0xFF path loss to a useful zone. Add new Kconfigs and functionality to the bt shell. Signed-off-by: Sean Madigan <[email protected]> (cherry picked from commit 0b327db) Signed-off-by: Sean Madigan <[email protected]>
f54d5f4
to
418745e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit adds host support for the Path Loss Monitoring
feature see Bluetooth Core specification, Version 5.4,
Vol 6, Part B, Section 4.6.32.
Limited logic is required, just adding a wrapper around the
HCI command and callback for HCI event.
Add new zone - BT_CONN_LE_PATH_LOSS_ZONE_UNAVAILABLE, to
convert 0xFF path loss to a useful zone.
Add new Kconfigs and functionality to the bt shell.
Signed-off-by: Sean Madigan [email protected]
(cherry picked from commit 0b327db)
Signed-off-by: Sean Madigan [email protected]