On 07/10/2012 12:08 PM, Johannes Berg wrote:
On Tue, 2012-07-10 at 12:02 -0700, Ben Greear wrote:
Is there a way to open a netlink socket and have it receive
all scan results (even those requested by other applications)?
What do you mean by scan results? The results themselves? No, they are a
dump and unicast to one application. The fact that a scan finished? Yes,
of course.
I'd like the results themselves..for instance, just piggyback on whatever
supplicant is already doing to get periodic updates, and of course I'd
end up requesting some scans myself from time to time if a user wanted
an immediate update.
I was hoping it could be something like just listening for network-device
and route updates like netlink already supports.
Since scanning is relatively slow and expensive, it seems like a good
idea to allow re-using the results...
Thanks,
Ben
--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com
--
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