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)
Sep 27 2024, 6:42 AM
Unknown Object (File)
Sep 26 2024, 2:51 PM
Unknown Object (File)
Sep 26 2024, 4:17 AM
Unknown Object (File)
Sep 25 2024, 6:25 PM
Unknown Object (File)
Sep 25 2024, 1:23 AM
Unknown Object (File)
Sep 22 2024, 2:55 PM
Unknown Object (File)
Sep 22 2024, 10:38 AM
Unknown Object (File)
Sep 19 2024, 5:39 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 Not Applicable
Unit
Tests Not Applicable

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.