wl12xx: AP-mode - management of links in PS-mode
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:Arik Nemtsov <arik@wizery.com> Signed-off-by:
Luciano Coelho <coelho@ti.com>
Showing
- drivers/net/wireless/wl12xx/main.c 62 additions, 11 deletionsdrivers/net/wireless/wl12xx/main.c
- drivers/net/wireless/wl12xx/ps.c 80 additions, 0 deletionsdrivers/net/wireless/wl12xx/ps.c
- drivers/net/wireless/wl12xx/ps.h 2 additions, 0 deletionsdrivers/net/wireless/wl12xx/ps.h
- drivers/net/wireless/wl12xx/tx.c 23 additions, 1 deletiondrivers/net/wireless/wl12xx/tx.c
- drivers/net/wireless/wl12xx/wl12xx.h 19 additions, 0 deletionsdrivers/net/wireless/wl12xx/wl12xx.h
Loading
Please register or sign in to comment