[PATCH V6 2/2] ath11k: add more HE fields into radiotap header
Kalle Valo
kvalo at codeaurora.org
Wed Aug 19 12:14:58 EDT 2020
John Crispin <john at phrozen.org> writes:
> From: Miles Hu <milehu at codeaurora.org>
>
> This patch adds code to parse HE fields inside ppdu TLVs. Then it adds the
> populates the additional info into the ratiotap header. Also fix missing
> QoS tag in native wifi mode. Finally rssi and tsf are also added.
>
> Signed-off-by: Miles Hu <milehu at codeaurora.org>
> Signed-off-by: John Crispin <john at phrozen.org>
[...]
> @@ -4522,11 +4522,14 @@ ath11k_dp_rx_mon_merg_msdus(struct ath11k *ar,
> struct ieee80211_rx_status *rxs)
> {
> struct sk_buff *msdu, *mpdu_buf, *prev_buf;
> - u32 decap_format, wifi_hdr_len;
> + u32 decap_format;
> struct hal_rx_desc *rx_desc;
> char *hdr_desc;
> u8 *dest;
> struct ieee80211_hdr_3addr *wh;
> + static u32 pkt_type;
> +
> + pkt_type++;
We cannot use static non-const variables in ath11k, that would be racy.
As this seems to be an unused variable I have just removed it in the
pending branch.
--
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list