Skip to content

VER-748: ath12k: fix corrupted RSSI values#73

Merged
adrian-nicolau merged 5 commits intotg-v6.18-ath12k-nextfrom
VER-748-RSSI-values-read-from-kernel-are-incorrect
Mar 3, 2026
Merged

VER-748: ath12k: fix corrupted RSSI values#73
adrian-nicolau merged 5 commits intotg-v6.18-ath12k-nextfrom
VER-748-RSSI-values-read-from-kernel-are-incorrect

Conversation

@adrian-nicolau
Copy link

@adrian-nicolau adrian-nicolau commented Mar 2, 2026

gregkh@0314ee8 enhanced the noise floor calculation based on individual temperature and conversion sub-TLVs, but a print inside ath12k_wmi_update_rssi_offsets revealed garbage for the latter:

ath12k_wifi7_pci 0002:01:00.0: temp_offset_present: 1 temp_offset: 1 nf_dbm_present: 192 min_nf_dbm: 89

This happens because, as the original commit mentions, the individual TLVs may not always be present in each event, and in this case WMI_TAG_RSSI_DBM_CONVERSION_TEMP_OFFSET_INFO is present, but WMI_TAG_RSSI_DBM_CONVERSION_PARAMS_INFO is not, therefore min_nf_dbm contains stack garbage after ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser.

@adrian-nicolau adrian-nicolau merged commit 9e46c59 into tg-v6.18-ath12k-next Mar 3, 2026
1 check passed
@adrian-nicolau adrian-nicolau deleted the VER-748-RSSI-values-read-from-kernel-are-incorrect branch March 3, 2026 08:17
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.

2 participants