From: Johannes Berg Date: Sun, 09 Jan 2011 10:33:13 +0100 Subject: [ath9k-devel] [PATCH v2 3/3] ath9k: Keep track of stations for debugfs. In-Reply-To: <20110107201204.GG21588@tux> References: <1294375752-3946-1-git-send-email-greearb@candelatech.com> <20110107201204.GG21588@tux> Message-ID: <1294565593.3469.1.camel@jlt3.sipsolutions.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Fri, 2011-01-07 at 12:12 -0800, Luis R. Rodriguez wrote: > On Thu, Jan 06, 2011 at 08:49:12PM -0800, greearb at candelatech.com wrote: > > From: Ben Greear > > > > The stations hold the ath_node, which holds the tid > > and other xmit logic structures. In order to debug > > stuck xmit logic, we need a way to print out the tid > > state for the stations. > > > > Signed-off-by: Ben Greear > > --- > > > > v1 -> v2: Use linked list instead of array. Protect with spinlock. > > Again, see my comments about the # STAs limit. I think this can go in > as a cfg80211 driver limitation which can be exposed. There's a todo list item that is more generic -- exposing the possible interface combinations including their counts. So if anything, we should start working on that, although I agree that if the limit is just due to bugs, it shouldn't be advertised. johannes