-
Notifications
You must be signed in to change notification settings - Fork 651
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
[nrf fromtree] Bluetooth: Add support for Path Loss Monitoring feature #1768
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 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
…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 <eduardo.montoya@nordicsemi.no> (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 <haavard.reierstad@nordicsemi.no> Upstream PR: zephyrproject-rtos/zephyr#73318 (cherry picked from commit 96fa153)
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 <ravi.dondaputi@nordicsemi.no> (cherry picked from commit 9e38bcc) (cherry picked from commit ccd3d27)
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 <Torsten.Rasmussen@nordicsemi.no> (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 <Torsten.Rasmussen@nordicsemi.no> (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 <adam.kondraciuk@nordicsemi.no>
… 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 <adam.kondraciuk@nordicsemi.no>
Fix typo in `PM_S2RAM_CUSTOM_MARKING` description. Upstream PR: zephyrproject-rtos/zephyr#73095 Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
…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 <karol.lasonczyk@nordicsemi.no> (cherry picked from commit 5f1fdc4)
…vice Expands driver to cover nRF54H20 features like 8bit sample width. Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no> (cherry picked from commit 13196ec)
Adds full description of the adc node and support for memory regions. Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no> (cherry picked from commit 15fa37d)
Adds configuration to play with nRF54H20 PDK board. Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no> (cherry picked from commit 3c4ea76)
Adds configuration for making tests work. Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no> (cherry picked from commit ba30517)
Enables adc node to make it usable in tests/examples. Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no> (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 <karol.lasonczyk@nordicsemi.no>
…rted peripherals ADC driver was aligned to nrf54h20 target. Enable ADC Twister tests on that platform. Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no> (cherry picked from commit a3e1e39)
…m_allow Enable test execution on nrf54h20dk. Overlay file already exists. Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no> (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 <sebastian.glab@nordicsemi.no> (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 <frode.vandermeeren@nordicsemi.no>
…on Subrating Add Kconfigs to enable experimental subrating HCI commands. Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no> (cherry picked from commit 570c86d) Signed-off-by: Timothy Keys <timothy.keys@nordicsemi.no>
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 <piotr.kosycarz@nordicsemi.no>
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 <sean.madigan@nordicsemi.no> (cherry picked from commit 0b327db) Signed-off-by: Sean Madigan <sean.madigan@nordicsemi.no>
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 sean.madigan@nordicsemi.no
(cherry picked from commit 0b327db)
Signed-off-by: Sean Madigan sean.madigan@nordicsemi.no