Search Linux Wireless

Re: [PATCH V6 2/2] ath11k: add more HE fields into radiotap header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Crispin <john@xxxxxxxxxxx> writes:

> From: Miles Hu <milehu@xxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxx>
> Signed-off-by: John Crispin <john@xxxxxxxxxxx>

[...]

> @@ -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



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux