git: if_iwm - Properly implement iwm_wme_update callback function.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Oct 23 13:28:19 PDT 2016


commit b8bd6cd746d1f45e616ccfcbeed06dfe452a1108
Author: Imre Vadász <imre at vdsz.com>
Date:   Sun Oct 23 21:34:08 2016 +0200

    if_iwm - Properly implement iwm_wme_update callback function.
    
    * Inspired by iwn(4) and Linux iwlwifi.
    
    * Read wme parameters into a buffer within struct iwm_vap in
      iwm_wme_update().
    
    * If we aren't associated yet, the new settings will soon be sent
      by iwm_mvm_mac_ctxt_changed() during association.
    
    * If we are already associated, explicitly call iwm_mvm_mac_ctxt_changed()
      from iwm_wme_update() to send the new settings to the firmware.
    
    * Change iwm_mvm_ac_to_tx_fifo mapping, to fit the freebsd net80211
      WME stream class numbering, instead of Linux's enum ieee80211_ac_numbers.

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c          | 56 ++++++++++++++++++++++++++++---------
 sys/dev/netif/iwm/if_iwm_mac_ctxt.c | 24 +++++++++++-----
 sys/dev/netif/iwm/if_iwm_mac_ctxt.h |  2 ++
 sys/dev/netif/iwm/if_iwmvar.h       | 13 +++++++++
 4 files changed, 75 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b8bd6cd746d1f45e616ccfcbeed06dfe452a1108


-- 
DragonFly BSD source repository


More information about the Commits mailing list