Search Linux Wireless

Re: about .dump_station() callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux