- In case, when we are doing <smth> -> INIT (FEXT_REINIT) -> <smth2> state transition, cancel_scan() may be called in the first transition. Reenqueue second state transition, so things will be executed in order.
- Discard any AUTH+ state transition request when INIT -> SCAN transition is not done.
- Allow to track discarded state transitions via 'state' debugging category.
Details
Details
- Reviewers
adrian - Commits
- rS296237: net80211: fix scanning after D5145 (PR 197498 related)
Tested with:
- RTL8188EU, HOSTAP mode.
- RTL8188CUS, STA mode.
- Intel 3945BG, IBSS and STA modes.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
This is not really reliable solution (i.e., scenario, described in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197498#c6 is still possible - however, now it will require specially crafted delays to reproduce).
Comment Actions
we can do it later with wtap and extending it to support controllable sleep/wake points. :)
Comment Actions
- Fix an added comment in ieee80211_newstate_cb() (IEEE80211_FEXT_STATEWAIT flag will be dropped before ieee80211_new_state_locked(), so this warning is not possible here).
- Discard any AUTH+ state transition request when INIT -> SCAN transition is not done.
(now it will work without D5145)