From: Arend van Spriel <arend@broadcom.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: about .dump_station() callback
Date: Tue, 9 Jun 2015 17:21:25 +0200 [thread overview]
Message-ID: <55770475.7050705@broadcom.com> (raw)
In-Reply-To: <1433847693.1892.10.camel@sipsolutions.net>
On 06/09/15 13:01, Johannes Berg wrote:
> On Tue, 2015-06-09 at 12:52 +0200, Arend van Spriel wrote:
>
>> Thanks. Guess it is nl80211.c assuring that. I should have checked that
>> first. See that I have to return -ENOENT when iteration is done.
>
> Right.
>
>>> If it would help, we could instead give the driver one or two pointers
>>> to unsigned long values that start out as 0 and can be controlled
>>> entirely by the driver?
>>
>> Not sure if I understand this. What would those pointers represent?
>
> Well, you could put in there whatever you like :)
>
> Though realistically I wouldn't expect you to put anything other than
> the sta_idx that you currently get.
Well, I obtain (in ap mode) a list of associated clients and keep that
list until iteration is done (or .dump_station() is called with sta_idx
== 0). So I am fine with current api.
Regards,
Arend
prev parent reply other threads:[~2015-06-09 15:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-09 9:19 about .dump_station() callback Arend van Spriel
2015-06-09 9:41 ` Johannes Berg
2015-06-09 10:52 ` Arend van Spriel
2015-06-09 11:01 ` Johannes Berg
2015-06-09 15:21 ` Arend van Spriel [this message]
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=55770475.7050705@broadcom.com \
--to=arend@broadcom.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
/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).