wlcore: Pass win_size taken from ieee80211_sta to FW
authorMaxim Altshul <maxim.altshul@ti.com>
Sun, 21 Aug 2016 11:24:24 +0000 (14:24 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 17 Nov 2016 06:38:04 +0000 (08:38 +0200)
commit42c7372a111630dab200c2f959424f5ec3bf79a4
tree5ff8e2d1982ef507455bb24058e912c9bac62100
parent9afdd6128c39f42398041bb2e017d8df0dcebcd1
wlcore: Pass win_size taken from ieee80211_sta to FW

When starting a new BA session, we must pass the win_size to the FW.

To do this we take max_rx_aggregation_subframes (BA RX win size)
which is stored in ieee80211_sta structure (e.g per link and not per HW)

We will use the value stored per link when passing the win_size to
firmware through the ACX_BA_SESSION_RX_SETUP command.

Signed-off-by: Maxim Altshul <maxim.altshul@ti.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ti/wlcore/acx.c
drivers/net/wireless/ti/wlcore/acx.h
drivers/net/wireless/ti/wlcore/main.c