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

nrf_wi: Fix TX power issue #1238

Merged
merged 1 commit into from
Mar 6, 2024
Merged

nrf_wi: Fix TX power issue #1238

merged 1 commit into from
Mar 6, 2024

Conversation

imapa
Copy link
Contributor

@imapa imapa commented Mar 1, 2024

SHEL-2533: The problem of TX output power disparity has been resolved, which occurs when the default power is set without utilizing the TX power command, and the power is explicitly set using the TX power command through the Radio test application.

prf->temp_volt_backoff.hb_vbt_lt_vlow = 0;
prf->temp_volt_backoff.lb_vbt_lt_low = 0;
prf->temp_volt_backoff.hb_vbt_lt_low = 0;
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#endif
#endif /* CONFIG_NRF700X_RADIO_TEST */

prf->temp_volt_backoff.lb_vbt_lt_vlow = 0;
prf->temp_volt_backoff.hb_vbt_lt_vlow = 0;
prf->temp_volt_backoff.lb_vbt_lt_low = 0;
prf->temp_volt_backoff.hb_vbt_lt_low = 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it needed to set some values to 0 specifically. Why can't prf be initialized to all 0 at the beginning of the function and only the specific values updated later in the function?

Copy link
Contributor

@sachinthegreen sachinthegreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please raise manifest PRs too.

@@ -1041,6 +1049,7 @@ int nrf_wifi_phy_rf_params_init(struct nrf_wifi_osal_priv *opriv,
prf->temp_volt_backoff.hb_vbt_lt_vlow = QFN_HB_VBT_LT_VLOW;
prf->temp_volt_backoff.lb_vbt_lt_low = QFN_LB_VBT_LT_LOW;
prf->temp_volt_backoff.hb_vbt_lt_low = QFN_HB_VBT_LT_LOW;
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#endif
#endif
Suggested change
#endif
#endif /* ~CONFIG_NRF700X_RADIO_TEST */

@@ -1009,6 +1015,7 @@ int nrf_wifi_phy_rf_params_init(struct nrf_wifi_osal_priv *opriv,
prf->temp_volt_backoff.hb_vbt_lt_vlow = CSP_HB_VBT_LT_VLOW;
prf->temp_volt_backoff.lb_vbt_lt_low = CSP_LB_VBT_LT_LOW;
prf->temp_volt_backoff.hb_vbt_lt_low = CSP_HB_VBT_LT_LOW;
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#endif
#endif /* !CONFIG_NRF700X_RADIO_TEST */

@imapa imapa force-pushed the shel-2533 branch 2 times, most recently from 5721a6b to 68dc1b6 Compare March 1, 2024 11:42
@imapa imapa added this to the 2.6.0 milestone Mar 4, 2024
Copy link

@jfischer-no jfischer-no left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is there a merge commit?

[SHEL-2533]: The problem of TX output power disparity has been
resolved, which occurs when the default power is set without
utilizing the TX power command, and the power is explicitly set
using the TX power command through the Radio test application.

Signed-off-by: Mahammadyunus Patil <[email protected]>
@imapa
Copy link
Contributor Author

imapa commented Mar 6, 2024

Why is there a merge commit?

It happened accidentally. Code is now rebased.

@imapa imapa requested a review from jfischer-no March 6, 2024 06:13
@jfischer-no jfischer-no dismissed their stale review March 6, 2024 12:12

addressed

@jfischer-no jfischer-no merged commit adfddac into nrfconnect:main Mar 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants