Page MenuHomeFreeBSD

[iwm] Improve reliability of iwm_release on disassociation a bit.
ClosedPublic

Authored by ivadasz on Sep 18 2016, 3:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 23, 5:11 PM
Unknown Object (File)
Fri, Nov 21, 2:42 AM
Unknown Object (File)
Fri, Nov 21, 12:01 AM
Unknown Object (File)
Fri, Nov 21, 12:00 AM
Unknown Object (File)
Fri, Nov 21, 12:00 AM
Unknown Object (File)
Thu, Nov 20, 11:55 PM
Unknown Object (File)
Thu, Nov 13, 10:30 PM
Unknown Object (File)
Wed, Nov 12, 1:44 AM
Subscribers

Details

Summary
  • We need to first call ivp->iv_newstate(), to enqueue the deauth/deassoc mgmt frame, then flush the tx queue, before actually calling iwm_release().
  • cycling a wlan connection via wpa_cli frontend to wpa_supplicant, by issuing disconnect and reconnect commandos works quite well. (There is still an issue when disconnecting/reconnecting to quickly)
  • Reassociating or roaming via wpa_supplicant is still broken.
Test Plan

Intel 7260, STA mode

iwm0: <Intel Dual Band Wireless AC 7260> mem 0xf0500000-0xf0501fff irq 17 at device 0.0 on pci2
iwm0: hw rev 0x140, fw ver 16.242414.0, address xx:xx:xx:xx:xx:xx

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 5212
Build 5350: arc lint + arc unit

Event Timeline

ivadasz retitled this revision from to [iwm] Improve reliability of iwm_release on disassociation a bit..
ivadasz updated this object.
ivadasz edited the test plan for this revision. (Show Details)
ivadasz added reviewers: adrian, cognet.
adrian edited edge metadata.
This revision is now accepted and ready to land.Sep 19 2016, 9:38 PM
This revision was automatically updated to reflect the committed changes.