Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4919376ybv; Tue, 11 Feb 2020 05:56:39 -0800 (PST) X-Google-Smtp-Source: APXvYqwQQD84SVizPHYnhseC1DtmEz+1qoHVg/6hWYF1a1xW4VpaEodpmDyNMlUk/ZWfghj7c7+G X-Received: by 2002:a05:6830:15a:: with SMTP id j26mr5051824otp.137.1581429398841; Tue, 11 Feb 2020 05:56:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581429398; cv=none; d=google.com; s=arc-20160816; b=Mim/FUVtUCzjRUavZ/R8riMk8HArz23B887cszvxKCCFPDJ4boGcULjjwakzzZq34p yt1ZB9PeKv0y0eYj0ZMti/Ktw0GjSqbmBlSYC4nuVm3jJZVWte/ppMczfaQpkjzBIgUO sy3SoFdUYGb6b17lvI3YHGXnXfJBEhAlMAQwOc3+rol76i6cAxAcs0hvX0WLM9j2J/sj ELH1EIqRfK5hPewQJrY/txcXtu+RG8YlDhGTcaDB+WWmh2+maa91QEWnk4DXMCWQsa8W OFFSeibmZ1AWbChicjVNwEEnEnS4ResEOeb+8vX1PPtyj/8yrn/zE8rDuXECy7nzAPWy nfIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature; bh=W89ehAwtPst1gi2qiqCq+6oCSobA/otg3wxwTS2uUys=; b=Rr1re0r/e39bqJr40QEByI+S8mcD65S3amcstwcXuaXR+zvbRqSXMke3NwcFXxpVxM NTa1EE+AmfmESk+F9s6wX4w4Z6MK/F/IAzheQwZgcLglmcwLToTjR582OTu+Lbd70ZvY eE3AwyUmHjxReY5pC5ttJ7PjUKPdrXoANGugfyzs9Aba1tSt7UT23SGoPHZadSUr0Ih3 +97xkoiZZUIZqIo1ywZz2oqTmAMNa3yV3ELWPA/M2QP4N+st10rdkk/mbbtAJKiiQ9Ae HY9UvvdTMOCywewCtT7ycEGu338ZyQZqD0uI6lxrdbNUNT7rWHl8fdpWwAASwUljS4fV lE2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=Jwx2XQ55; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2si2028916ote.9.2020.02.11.05.56.17; Tue, 11 Feb 2020 05:56:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=Jwx2XQ55; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727962AbgBKN2D (ORCPT + 99 others); Tue, 11 Feb 2020 08:28:03 -0500 Received: from mail25.static.mailgun.info ([104.130.122.25]:44466 "EHLO mail25.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727928AbgBKN2D (ORCPT ); Tue, 11 Feb 2020 08:28:03 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1581427682; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=W89ehAwtPst1gi2qiqCq+6oCSobA/otg3wxwTS2uUys=; b=Jwx2XQ55x0TlfL64B+G8wMHikXcsO6kY5avxCCH8//HQ3QywY8Mrjf3sFtHxunUhei/EVU8I oa/j3z7y1HDCOlmquZhwQDQdVzVkgevJztfUki9J9BWD5XaJEpd2X043JPx1EzqH3EHRtF4H VaTpjC5Zjt1iMLKFnP0pl0rRC+g= X-Mailgun-Sending-Ip: 104.130.122.25 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e42abe2.7f29181d3688-smtp-out-n03; Tue, 11 Feb 2020 13:28:02 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 0E1D1C4479F; Tue, 11 Feb 2020 13:28:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 09FB0C43383; Tue, 11 Feb 2020 13:27:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 09FB0C43383 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: John Crispin Cc: Miles Hu , linux-wireless@vger.kernel.org, ath11k@lists.infradead.org Subject: Re: [PATCH 4/4] ath11k: add more HE fields into radiotap header References: <20200204151135.25302-1-john@phrozen.org> <20200204151135.25302-4-john@phrozen.org> Date: Tue, 11 Feb 2020 15:27:56 +0200 In-Reply-To: <20200204151135.25302-4-john@phrozen.org> (John Crispin's message of "Tue, 4 Feb 2020 16:11:35 +0100") Message-ID: <878sl9xnhf.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org John Crispin writes: > From: Miles Hu > > 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 > Tested-by: John Crispin John's s-o-b missing and loads of warnings: drivers/net/wireless/ath/ath11k/hal_rx.c: In function 'ath11k_hal_rx_parse_mon_status_tlv': drivers/net/wireless/ath/ath11k/hal_rx.c:1074:13: warning: variable 'cp_ltf' set but not used [-Wunused-but-set-variable] drivers/net/wireless/ath/ath11k/hal_rx.c:822:48: warning: incorrect type in assignment (different base types) drivers/net/wireless/ath/ath11k/hal_rx.c:822:48: expected unsigned int [usertype] ul_ofdma_user_v0_word0 drivers/net/wireless/ath/ath11k/hal_rx.c:822:48: got restricted __le32 [usertype] info6 drivers/net/wireless/ath/ath11k/hal_rx.c:824:48: warning: incorrect type in assignment (different base types) drivers/net/wireless/ath/ath11k/hal_rx.c:824:48: expected unsigned int [usertype] ul_ofdma_user_v0_word1 drivers/net/wireless/ath/ath11k/hal_rx.c:824:48: got restricted __le32 drivers/net/wireless/ath/ath11k/hal_rx.c:835:17: warning: cast to restricted __le32 drivers/net/wireless/ath/ath11k/hal_rx.c:835:17: warning: restricted __le32 degrades to integer drivers/net/wireless/ath/ath11k/hal_rx.c:835:17: warning: restricted __le32 degrades to integer drivers/net/wireless/ath/ath11k/hal_rx.c:838:17: warning: cast to restricted __le32 drivers/net/wireless/ath/ath11k/hal_rx.c:838:17: warning: restricted __le32 degrades to integer drivers/net/wireless/ath/ath11k/hal_rx.c:838:17: warning: restricted __le32 degrades to integer drivers/net/wireless/ath/ath11k/hal_rx.c:951:60: warning: incorrect type in assignment (different base types) drivers/net/wireless/ath/ath11k/hal_rx.c:951:60: expected unsigned int drivers/net/wireless/ath/ath11k/hal_rx.c:951:60: got restricted __le32 drivers/net/wireless/ath/ath11k/hal_rx.c:952:60: warning: incorrect type in assignment (different base types) drivers/net/wireless/ath/ath11k/hal_rx.c:952:60: expected unsigned int drivers/net/wireless/ath/ath11k/hal_rx.c:952:60: got restricted __le32 drivers/net/wireless/ath/ath11k/hal_rx.c:1469:33: warning: incorrect type in assignment (different base types) drivers/net/wireless/ath/ath11k/hal_rx.c:1469:33: expected unsigned long long [usertype] tsft drivers/net/wireless/ath/ath11k/hal_rx.c:1469:33: got restricted __le32 drivers/net/wireless/ath/ath11k/hal_rx.c:1470:84: warning: restricted __le32 degrades to integer drivers/net/wireless/ath/ath11k/dp_rx.c:3894: braces {} are not necessary for single statement blocks -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches