ath11k: make sure to also report the RX bandwidth inside radiotap
PATCH RESEND 1/1 ath11k: make sure to also report the RX bandwidth inside radiotap
Add IEEE80211_RADIOTAP_HE_DATA1_BW_RU_ALLOC_KNOWN to the list of known fields. Not doing so will result in wireshark not calculating the bitrate correctly.
--- drivers/net/wireless/ath/ath11k/dp_rx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/dp_rx.c +2 -1
@@ -2348,7 +2348,8 @@ static void ath11k_dp_rx_deliver_msdu(struct ath11k *ar, struct napi_struct *nap struct sk_buff *msdu) {static const struct ieee80211_radiotap_he known = { - .data1 =cpu_to_le16 (IEEE80211_RADIOTAP_HE_DATA1_DATA_MCS_KNOWN ), + .data1 =cpu_to_le16 (IEEE80211_RADIOTAP_HE_DATA1_DATA_MCS_KNOWN | +IEEE80211_RADIOTAP_HE_DATA1_BW_RU_ALLOC_KNOWN ), .data2 =cpu_to_le16 (IEEE80211_RADIOTAP_HE_DATA2_GI_KNOWN ), };struct ieee80211_rx_status *status;
Signature · 1 line
2.20.1
Quoted 6 lines · John Crispin
Add
IEEE80211_RADIOTAP_HE_DATA1_BW_RU_ALLOC_KNOWNto the list of known fields. Not doing so will result in wireshark not calculating the bitrate correctly.Signed-off-by John Crispin <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
93634c61056e ath11k: make sure to also report the RX bandwidth inside radiotap
Signature · 8 lines
https://patchwork.kernel.org/patch/11298569/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 6 lines · John Crispin
Add
IEEE80211_RADIOTAP_HE_DATA1_BW_RU_ALLOC_KNOWNto the list of known fields. Not doing so will result in wireshark not calculating the bitrate correctly.Signed-off-by John Crispin <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
93634c61056e ath11k: make sure to also report the RX bandwidth inside radiotap
Signature · 3 lines
https://patchwork.kernel.org/patch/11298569/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches