git: if_iwm - Improve reliability of iwm_release on disassociation a bit.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Thu Sep 22 02:19:06 PDT 2016


commit 5e4464425e963e25094fd31e2093de3955ad008f
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Sep 17 22:57:06 2016 +0200

    if_iwm - Improve reliability of iwm_release on disassociation a bit.
    
    * 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 to quickly after completing
       authentication/association).
    
    * Reassociating or roaming via wpa_supplicant is still broken.

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c | 40 +++++++++++++++++++++++++++++++---------
 1 file changed, 31 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5e4464425e963e25094fd31e2093de3955ad008f


-- 
DragonFly BSD source repository



More information about the Commits mailing list