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)
Apr 6 2024, 1:48 AM
Unknown Object (File)
Feb 12 2024, 2:51 AM
Unknown Object (File)
Feb 12 2024, 2:37 AM
Unknown Object (File)
Feb 8 2024, 8:54 PM
Unknown Object (File)
Dec 24 2023, 12:21 PM
Unknown Object (File)
Dec 20 2023, 1:15 AM
Unknown Object (File)
Oct 25 2023, 6:05 AM
Unknown Object (File)
Sep 30 2023, 5:15 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.