git: if_iwm - Adjust if_iwm_sta.h prototypes, don't pass iwm_node to rm_sta().

Imre Vadasz ivadasz at crater.dragonflybsd.org
Thu Oct 27 13:50:09 PDT 2016


commit 81b3c1fe9122fa22f33d97103039cc375f656231
Author: Imre Vadász <imre at vdsz.com>
Date:   Thu Oct 27 22:09:38 2016 +0200

    if_iwm - Adjust if_iwm_sta.h prototypes, don't pass iwm_node to rm_sta().
    
    * Since a RUN -> INIT/SCAN transition seems to immediately destroy the
      ieee80211_node for the AP, we can't read the in_assoc value from there.
      Instead just directly pass that information via a boolean_t argument.
    
    * Adds iwm_mvm_rm_sta_id() function, which just unconditionally removes
      the station from the firmware.
    
    * The iwm_mvm_rm_sta() function shouldn't actually remove the station from
      firmware when we are still associated (i.e. during a RUN -> INIT/SCAN
      transition).
    
    * So when disassociating we will first call iwm_mvm_rm_sta() to drain the
      queues/fifos. Later during disassociation we will then use
      iwm_mvm_rm_sta_id() to actually remove the station.
    
    Inspired-By: Linux iwlwifi

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c     |  3 +--
 sys/dev/netif/iwm/if_iwm_sta.c | 22 ++++++++++++++--------
 sys/dev/netif/iwm/if_iwm_sta.h |  5 +++--
 3 files changed, 18 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/81b3c1fe9122fa22f33d97103039cc375f656231


-- 
DragonFly BSD source repository


More information about the Commits mailing list