Search Linux Wireless

scanning a specific ssid

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

 



Hi,

I wrote a small C++ program using libdbus-c++ to scan for access
points via wpa_supplicant's dbus interface.  It works very well, and I
can retrieve the list just fine.

Now I want to cause it to scan for a specific SSID by issuing a probe,
but the dbus interface fi.epitest.hostap.WPASupplicant.Interface has
only one scan method, and it does not seem to take arguments.
(Looking at the source file ctrl_iface_dbus_handlers.c in function
wpas_dbus_iface_scan() you can see why - it doesn't handle or even
look at the arguments to the message).

Is there another way to accomplish this?  I notice that a number of
dbus messages trigger a scan.  I don't really want to try to associate
with it, but perhaps that's the only way.

(I guess I could try to trigger the scan via netlink and receive the
results via dbus..... messy).

--Chris
--
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 Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux