diff options
| author | Baochen Qiang <baochen.qiang@oss.qualcomm.com> | 2025-10-09 14:16:55 -0700 |
|---|---|---|
| committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2025-10-15 16:37:54 -0700 |
| commit | 8c21b32c2cc82224c7fc1a9f67318f3b1199744b (patch) | |
| tree | 3557f20e6a700935e36cbcc4fffa5c4383f58776 /tools/perf/scripts/python/task-analyzer.py | |
| parent | b94f523cc5a19108ff4687a4bce9e5d484f0f9c5 (diff) | |
| download | linux-8c21b32c2cc82224c7fc1a9f67318f3b1199744b.tar.gz linux-8c21b32c2cc82224c7fc1a9f67318f3b1199744b.zip | |
wifi: ath12k: fix VHT MCS assignment
While associating, firmware needs the peer's receive capability
to calculate its own VHT transmit MCS. Currently, the host
sends this information via mcs->rx_mcs_set field, but firmware
actually reads it from mcs->tx_mcs_set field. This mismatch is
incorrect.
This issue has not caused failures so far because most peers
advertise identical TX and RX capabilities. Fix this by
assigning the value to tx_mcs_set as expected.
Additionally, the rate control mask is intended to limit our
transmit MCS, so it should also apply to the peer's receive
capability. Update the logic accordingly.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
Signed-off-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Signed-off-by: Pradeep Kumar Chitrapu <quic_pradeepc@quicinc.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Link: https://patch.msgid.link/20251009211656.2386085-2-quic_pradeepc@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
