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_wifi: Provide PCB loss information from RF params #1351

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

kspraveeen
Copy link
Contributor

@kspraveeen kspraveeen commented Jun 1, 2024

SHEL-2800: Support for considering band dependent PCB loss in PHY firmware.
adding manifest-pr-skip

Copy link

@srkanordic srkanordic left a comment

Choose a reason for hiding this comment

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

Update Firmware design document with these changes.

@@ -39,7 +39,8 @@ enum nrf_wifi_status umac_cmd_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
unsigned int phy_calib,
enum op_band op_band,
bool beamforming,
struct nrf_wifi_tx_pwr_ctrl_params *tx_pwr_ctrl_params);
struct nrf_wifi_tx_pwr_ctrl_params *tx_pwr_ctrl_params,
struct nrf_wifi_board_params *pcb_loss_info);
Copy link
Contributor

Choose a reason for hiding this comment

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

use either pcb or board a consistent term.

PCB_LOSS_BYTE_5G_BAND1_OFST,
PCB_LOSS_BYTE_5G_BAND2_OFST,
PCB_LOSS_BYTE_5G_BAND3_OFST,
NUM_PCB_LOSS_OFFSET = 4
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks odd, is it really an offset? if yes, please add a comment, if not please move out of the enum

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are offsets(185,186,187,188) indexed to access RF parameters, except the last one.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, my query was for the last one. So, it should be moved out of Enum.

FYI, even when you select a line and comment against that line, GH shows other lines for context, but the comment is applicable only for the last line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved the last parameter out of the enum.

@kspraveeen kspraveeen force-pushed the shel_2800 branch 3 times, most recently from 701332b to 4f034e3 Compare June 3, 2024 13:12
[SHEL-2800]: Support for considering band dependent PCB loss in PHY
firmware.

Signed-off-by: Praveen Kankipati <[email protected]>
Signed-off-by: Mahammadyunus Patil <[email protected]>
@rlubos rlubos merged commit d91f3de into nrfconnect:main Jun 5, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants