• Wey-Yi Guy's avatar
    mac80211: tear down all agg queues when restart/reconfig hw · 74e2bd1f
    Wey-Yi Guy authored
    When there is a need to restart/reconfig hw, tear down all the
    aggregation queues and let the mac80211 and driver get in-sync to have
    the opportunity to re-establish the aggregation queues again.
    Need to wait until driver re-establish all the station information before tear
    down the aggregation queues, driver(at least iwlwifi driver) will reject the
    stop aggregation queue request if station is not ready. But also need to make
    sure the aggregation queues are tear down before waking up the queues, so
    mac80211 will not sending frames with aggregation bit set.
    Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
util.c 34.3 KB