[PATCH] wifi: ath12k: add display tx and rx bitrate for 11be
Kalle Valo
kvalo at kernel.org
Tue Apr 9 06:11:56 PDT 2024
Lingbo Kong <quic_lingbok at quicinc.com> wrote:
> When AP is in 11be state, STA's tx/rx bitrate display error value using iw
> dev wlan command.
>
> In ath12k_dp_tx_update_txcompl() function, not handle the case when
> pkt_type is equal to HAL_TX_RATE_STATS_PKT_TYPE_11BE, so add a else if
> statement to handle this situation.
>
> In ath12k_dp_rx_h_rate function, not handle the case when pkt_type is equal
> to RX_MSDU_START_PKT_TYPE_11BE, so add a case statement to handle this
> situation.
>
> After that, "iw dev xxx station dump" show the correct tx bitrate such as:
> tx bitrate: 1441.1 MBit/s 80MHz EHT-MCS 13 EHT-NSS 2 EHT-GI 0
> rx bitrate: 1441.1 MBit/s 80MHz EHT-MCS 9 EHT-NSS 3 EHT-GI 0
>
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
>
> Signed-off-by: Lingbo Kong <quic_lingbok at quicinc.com>
> Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>
> Tested-by: Owen Mesh <owen.mesh at gmail.com>
Lingbo asked me to drop this patch.
Patch set to Superseded.
--
https://patchwork.kernel.org/project/linux-wireless/patch/20240104032202.19472-1-quic_lingbok@quicinc.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath12k
mailing list