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
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to