All of lore.kernel.org
 help / color / mirror / Atom feed
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 12:52:36 +0200	[thread overview]
Message-ID: <5576C574.6050905@broadcom.com> (raw)
In-Reply-To: <1433842889.1892.9.camel@sipsolutions.net>

On 06/09/15 11:41, Johannes Berg wrote:
> On Tue, 2015-06-09 at 11:19 +0200, Arend van Spriel wrote:
>
>> I am looking in get_station() and consequently dump_station() callback
>> for our brcmfmac driver. The latter is called with index. Can I expect
>> this to be starting at 0 and iterate through or can it be requested in
>> any order.
>
> You can expect that, yes.

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.

> 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?

Regards,
Arend

  reply	other threads:[~2015-06-09 10:54 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 [this message]
2015-06-09 11:01     ` Johannes Berg
2015-06-09 15:21       ` Arend van Spriel

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=5576C574.6050905@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.