Skip to content

Commit 93634c6

Browse files
blogicKalle Valo
authored andcommitted
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. Signed-off-by: John Crispin <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent 3b45168 commit 93634c6

File tree

1 file changed

+2
-1
lines changed
  • drivers/net/wireless/ath/ath11k

1 file changed

+2
-1
lines changed

drivers/net/wireless/ath/ath11k/dp_rx.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2067,7 +2067,8 @@ static void ath11k_dp_rx_deliver_msdu(struct ath11k *ar, struct napi_struct *nap
20672067
struct sk_buff *msdu)
20682068
{
20692069
static const struct ieee80211_radiotap_he known = {
2070-
.data1 = cpu_to_le16(IEEE80211_RADIOTAP_HE_DATA1_DATA_MCS_KNOWN),
2070+
.data1 = cpu_to_le16(IEEE80211_RADIOTAP_HE_DATA1_DATA_MCS_KNOWN |
2071+
IEEE80211_RADIOTAP_HE_DATA1_BW_RU_ALLOC_KNOWN),
20712072
.data2 = cpu_to_le16(IEEE80211_RADIOTAP_HE_DATA2_GI_KNOWN),
20722073
};
20732074
struct ieee80211_rx_status *status;

0 commit comments

Comments
 (0)