http://defect.opensolaris.org/bz/show_bug.cgi?id=8802

           Summary: need to provide a way for GUI to determine intial state
                    of links/interfaces
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: ACCEPTED
 Status Whiteboard: nwam1-build:2009-04-20
          Severity: minor
          Priority: P1
         Component: ON library
        AssignedTo: alan.maguire at sun.com
        ReportedBy: alan.maguire at sun.com
         QAContact: nwam-dev at opensolaris.org


the GUI needs to be able to determine what state (from an nwamd perspective)
links and interfaces are in on startup. This means we'd need to know if a WLAN
selection is needed, if a key is needed, or in the case of interfaces, if a
DHCP request is in progress etc.

Having a way to synchronously determine these things saves having the daemon
repeatedly send messages.

One way to do this would be to add a parameter to nwam_*_get_state() -
specifically an auxiliary state that can specify WLAN_NEED_KEY or
WLAN_NEED_SELECTION etc.

It may also make sense to provde an API to retrieve the specific WLAN selected
by the daemon (or by the user via the nwam_wlan_select() API function), i.e.

nwam_error_t nwam_wlan_get_selection(const char *linkname, char **essidp, char
**bssidp);

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Reply via email to