Skip to content
  • Kees Cook's avatar
    mac80211: aggregation: Convert timers to use timer_setup() · 7cca2acd
    Kees Cook authored
    
    
    In preparation for unconditionally passing the struct timer_list pointer to
    all timer callbacks, switch to using the new timer_setup() and from_timer()
    to pass the timer pointer explicitly.
    
    This removes the tid mapping array and expands the tid structures to
    add a pointer back to the station, along with the tid index itself.
    
    Cc: Johannes Berg <johannes@sipsolutions.net>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: linux-wireless@vger.kernel.org
    Cc: netdev@vger.kernel.org
    Signed-off-by: default avatarKees Cook <keescook@chromium.org>
    [switch tid variables to u8, the valid range is 0-15 at most,
     initialize tid_tx->sta/tid properly]
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    7cca2acd