From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bwN7P-00083i-L3 for ath10k@lists.infradead.org; Tue, 18 Oct 2016 05:39:20 +0000 MIME-Version: 1.0 Date: Tue, 18 Oct 2016 11:08:58 +0530 From: akolli@codeaurora.org Subject: Re: [PATCH 1/2] ath10k: add per peer htt tx stats support for 10.4 In-Reply-To: <87vawygo2w.fsf@kamboji.qca.qualcomm.com> References: <1475852332-18217-1-git-send-email-akolli@qti.qualcomm.com> <1475852332-18217-2-git-send-email-akolli@qti.qualcomm.com> <87vawygo2w.fsf@kamboji.qca.qualcomm.com> Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: "Valo, Kalle" Cc: "Kolli, Anilkumar" , linux-wireless@vger.kernel.org, ath10k@lists.infradead.org On 2016-10-12 10:29, Valo, Kalle wrote: > writes: > >> From: Anilkumar Kolli >> >> Per peer tx stats are part of 'HTT_10_4_T2H_MSG_TYPE_PEER_STATS' >> event, Firmware sends one HTT event for every four PPDUs. >> HTT payload has success pkts/bytes, failed pkts/bytes, retry >> pkts/bytes and rate info per ppdu. >> Peer stats are enabled through 'WMI_SERVICE_PEER_STATS', >> which are nowadays enabled by default. >> >> Parse peer stats and update the tx rate information per STA. >> >> tx rate, Peer stats are tested on QCA4019 with Firmware version >> 10.4-3.2.1-00028. >> >> Signed-off-by: Anilkumar Kolli > > This and patch 2 add few new warnings: > > drivers/net/wireless/ath/ath10k/htt_rx.c: In function > 'ath10k_htt_fetch_peer_stats': > drivers/net/wireless/ath/ath10k/htt_rx.c:2279:3: warning: too many > arguments for format [-Wformat-extra-args] > drivers/net/wireless/ath/ath10k/htt_rx.c:2285:17: warning: incorrect > type in assignment (different base types) > drivers/net/wireless/ath/ath10k/htt_rx.c:2285:17: expected unsigned > int [unsigned] [usertype] peer_id > drivers/net/wireless/ath/ath10k/htt_rx.c:2285:17: got restricted > __le16 [usertype] peer_id > drivers/net/wireless/ath/ath10k/debugfs_sta.c:84: space required > before the open parenthesis '(' I will fix and send V2. Thanks, Anil. _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k