• Johannes Berg's avatar
    mac80211: unify and fix TX aggregation start · b1720231
    Johannes Berg authored
    When TX aggregation becomes operational, we do a number of steps:
     1) print a debug message
     2) wake the virtual queue
     3) notify the driver
    
    Unfortunately, 1) and 3) are only done if the driver is first to
    reply to the aggregation request, it is, however, possible that the
    remote station replies before the driver! Thus, unify the code for
    this and call the new function ieee80211_agg_tx_operational in both
    places where TX aggregation can become operational.
    
    Additionally, rename the driver notification from
    IEEE80211_AMPDU_TX_RESUME to IEEE80211_AMPDU_TX_OPERATIONAL.
    Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    b1720231
main.c 73.3 KB