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

           Summary: we need to limit the number of WLAN scan requests that
                    can be made
    Classification: Development
           Product: nwam
           Version: RC3
          Platform: ANY/Generic
        OS/Version: All
            Status: ACCEPTED
          Severity: minor
          Priority: P4
         Component: ON daemon
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: alan.maguire at sun.com
         QAContact: nwam-dev at opensolaris.org


--- Comment #0 from amaguire <alan.maguire at sun.com> 2009-10-20 16:48:36 UTC 
---
each scan request made via nwam_wlan_scan() in libnwam results in a detached
thread being created in nwamd that gets the object lock for the relevant ncu,
processes the scan request and releases the lock. We should probably limit scan
requests on the basis of the time of the last scan (stored in
link->nwamd_link_wifi_last_scan_time). If the interval between now and that
value is greater than WIRELESS_SCAN_REQUESTED_INTERVAL_MIN (10s say), no
additional scan is done.

We use detached threads to process connect requests also, but we can't drop
connect requests as they could in theory refer to different WLANs.

-- 
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.
You are the assignee for the bug.

Reply via email to