Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:34676 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750879AbcLPFY3 (ORCPT ); Fri, 16 Dec 2016 00:24:29 -0500 Date: Fri, 16 Dec 2016 10:54:18 +0530 From: Mohammed Shafi Shajakhan To: Christian Lamparter Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, Kalle Valo Subject: Re: [PATCH 1/2] ath10k: add accounting for the extended peer statistics Message-ID: <20161216052418.GA8936@atheros-ThinkPad-T61> (sfid-20161216_062433_543378_CDABD2F1) References: <992a4e2676037a06f482cdbe2d3d39e287530be5.1480974623.git.chunkeey@googlemail.com> <20161215162659.GA8030@atheros-ThinkPad-T61> <20161215164338.GB8030@atheros-ThinkPad-T61> <2970240.ih558OrmaK@debian64> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <2970240.ih558OrmaK@debian64> Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Christian, > On Thursday, December 15, 2016 10:13:39 PM CET Mohammed Shafi Shajakhan wrote: > > I am also thinking, as of now there is not much use in appending > > the extended peer stats (which gets periodically ) to the linked list > > '&ar->debug.fw_stats.peers_extd)' and should we get rid of the below > > (and the required cleanup as well) > > > > list_splice_tail_init(&stats.peers_extd, > > &ar->debug.fw_stats.peers_extd); > > > > > > since rx_duration is getting updated periodically to the per sta > > information. Kindly let me know your thoughts about this. > > Yes, of course. I see what your are trying to do and I think it's much better > to get rid of peers_extd and ath10k_fw_extd_stats_peers_free. > [shafi] Feel free to post the change and I can test the same for you(next week) ! Let me know if you are busy on something else, I can take this up. As discussed, the fix to free 'extd stats' when number of peers exceeds the range is definitely needed. Thank you for looking into this. thanks, shafi