linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mohammed Shafi <mshajakhan@atheros.com>
To: Lito Kriara <L.Kriara@sms.ed.ac.uk>
Cc: Mohammed Shajakhan <Mohammed.Shajakhan@Atheros.com>,
	Johannes Berg <johannes@sipsolutions.net>,
	"linville@tuxdriver.com" <linville@tuxdriver.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] mac80211: Add num_stations connected in debugfs
Date: Tue, 26 Apr 2011 17:33:25 +0530	[thread overview]
Message-ID: <4DB6B48D.6080508@atheros.com> (raw)
In-Reply-To: <20110426125801.q89ma5n6cgkwog80@www.sms.ed.ac.uk>

On Tuesday 26 April 2011 05:28 PM, Lito Kriara wrote:
> Hello,
> I was away the last couple of days and just saw these e-mails. It
> seems really interesting and helpful, but what if we need to know at
> runtime the number of stations connected to the AP?
> Is the first patch sent good to use? Should I do some modification to it?
>    
Yes this will be fine.
> Thank you all very much,
> Lito
>
>
> Quoting Mohammed Shafi<mshajakhan@Atheros.com>  on Mon, 25 Apr 2011
> 10:00:13 +0530:
>
>    
>> On Sunday 24 April 2011 09:02 PM, Johannes Berg wrote:
>>      
>>> On Sun, 2011-04-24 at 20:57 +0530, Mohammed Shafi wrote:
>>>
>>>        
>>>> On Sunday 24 April 2011 08:29 PM, Johannes Berg wrote:
>>>>
>>>>          
>>>>> iw wlan0 station dump | grep ... | wc -l
>>>>>
>>>>>            
>>>> thanks, that  works! I need to divide by 11 :)
>>>>
>>>>          
>>> Heh, yes, but that might change and/or be HW dependent, hence grep. So
>>> if you do
>>>
>>> iw wlan0 station dump | grep '^Station ' | wc -l
>>>
>>> you won't need to divide and won't be HW dependent.
>>>
>>>        
>> Oh ok, thanks!
>> regards,
>> shafi
>>
>>      
>>> johannes
>>>
>>>
>>>        
>
>
>    

  reply	other threads:[~2011-04-26 12:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-24 11:55 [PATCH] mac80211: Add num_stations connected in debugfs Mohammed Shafi Shajakhan
2011-04-24 13:36 ` Johannes Berg
2011-04-24 14:19   ` Mohammed Shafi
2011-04-24 14:59     ` Johannes Berg
2011-04-24 15:27       ` Mohammed Shafi
2011-04-24 15:32         ` Johannes Berg
2011-04-25  4:30           ` Mohammed Shafi
2011-04-26 11:58             ` Lito Kriara
2011-04-26 12:03               ` Mohammed Shafi [this message]
2011-04-26 12:07                 ` Johannes Berg
2011-04-26 12:10                   ` Lito Kriara
2011-04-26 12:14                   ` Mohammed Shafi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DB6B48D.6080508@atheros.com \
    --to=mshajakhan@atheros.com \
    --cc=L.Kriara@sms.ed.ac.uk \
    --cc=Mohammed.Shajakhan@Atheros.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).