New DBus API proposal - supplemental.

Dan Williams dcbw at redhat.com
Tue Jul 14 08:43:54 EDT 2009


On Sun, 2009-07-12 at 00:38 +0200, Witold Sowa wrote:
> Hi,
> I received an email from supplicant user, asking how he could obtain which
> network and which BSSID supplicant is currently connected with. I realized that
> we cannot achieve it with old API or with the new one, but I think it would
> quite useful to have access to that information.
> I propose, that we could add two additional properties to the new API:
> 
> I: fi.w1.wpa_supplicant1.Interface
> 
> P: CurrentNetwork (read-only) -> o
> P: CurrentBSS (read-only) -> o

Yeah, probably a good thing to do.

Dan

> or alternatively we could add a boolean property like "CurrentlyAssociated" to
> fi.w1.wpa_supplicant1.Interface.BSS and fi.w1.wpa_supplicant1.Interface.Network
> interfaces.
> 
> wpa_supplicant structure already contains appropriate information (current_ssid
> and bssid fields), so implementation would be quite easy.
> 
> What do you think about it?
> 
> Witek.
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



More information about the HostAP mailing list