• Arik Nemtsov's avatar
    wl12xx: AP-mode - management of links in PS-mode · b622d992
    Arik Nemtsov authored
    Update the PS mode of each link according to a bitmap polled from
    fw_status. Manually notify mac80211 about PS mode changes in connected
    stations.
    
    mac80211 will only be notified about PS start when the station is in PS
    and there is a small number of TX blocks from this link ready in HW.
    This is required for waking up the remote station since the TIM is
    updated entirely by FW.
    
    When a station enters mac80211-PS-mode, we drop all the skbs in the
    low-level TX queues belonging to this sta with STAT_TX_FILTERED
    to keep our queues clean.
    Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
    Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
    b622d992
tx.c 18.7 KB