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





--- Comment #1 from amaguire <alan.maguire at sun.com>  2009-07-08 08:31:44 ---
further investigation appears to validate the approach of monitoring the
ipackets kstat for the link, diagnosing failed WLAN connections as those for
which the ipackets value does not increase within a set time period.
Experimentation suggests that the kstat value of ipackets is updated every
minute or so, so a safe period of time would be 120s. The best approach
therefore would probably be prior to dladm_connect_wifi() success, record the
ipackets value. Then when dladm_connect_wifi() succeeds, set a timed event for
120s on the link. This needs to be separate from the ncu timeout, since it is
adjustable. When the timed event elapses, if the ipackets value has not
changed, move the link object to aux state
NWAM_AUX_STATE_LINK_WIFI_KEY_INVALID. This aux state will delete the invalid
key for the link and move the object back to the NEED_KEY aux state. Need to
investigate how this interacts with the ncu_timeout since if this elapses it
makes the link offline, which may prevent the state machine from running for
aux state changes.

-- 
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