-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
bluetooth: controller: Fix unexpected low TX power with FEM connected #10143
Conversation
Test specificationCI/Jenkins/NRF
CI/Jenkins/integration
Detailed information of selected test modules Note: This message is automatically posted and updated by the CI |
I'd suggest to rephrase the commit message to better reflect the issue being fixed.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably need to mention the issue in known issues and the fix in release notes changelog.
3e94653
to
3ee2aaf
Compare
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
doc/nrf/known_issues.rst
Outdated
@@ -2212,6 +2212,11 @@ SoftDevice Controller | |||
|
|||
In addition to the known issues listed here, see also :ref:`softdevice_controller_limitations` for permanent limitations. | |||
|
|||
.. rst-class:: v2-2-0 v2-1-3 v2-1-2 v2-1-1 v2-1-0 | |||
|
|||
DRGN-18568: Lower radio output power when :kconfig:option:`BT_CTLR_TX_PWR_ANTENNA` and :kconfig:option:`MPSL_FEM` is used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also applies to CONFIG_BT_CTLR_TX_PWR so maybe this statement should be generalized a bit. Something like "when setting a default TX power and :kconfig:option:MPSL_FEM
is used.". Or both kconfigs could be mentioned.
b943db9
to
000efd2
Compare
Previously the initial default output power would be selected as if there was no FEM connected. For example, suppose that the application requested 20dBm power at the antenna. Even though such power could be achievable using the configured front-end module, that power would first be converted to the maximum output power supported by the SoC, which usually is much lower. Then, when the device transmitted frames, this decreased power would be treated as the requested power and divided between the radio and the external PA. This commit fixes that by setting the default radio output power when enabling Bluetooth, when the FEM driver is already initialized. This way the controller takes FEM into account in its initial output power calculation. Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
000efd2
to
79f9922
Compare
DRGN-18568 causes the wrong output power to be selected. Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
79f9922
to
7fa731e
Compare
Solved by setting the default radio output power when enabling Bluetooth. That is, after the FEM is initialized.
Previously the initial default radio output power would be selected as if there was no FEM connected. For example 6 dBm.
Then, when packets are to be transmitted, we would recalculate how much power we would need on the outputting device. That is, 6 dBm minus the FEM gain.
Signed-off-by: Rubin Gerritsen rubin.gerritsen@nordicsemi.no