diff options
author | Yan-Hsuan Chuang <yhchuang@realtek.com> | 2019-10-02 09:35:21 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-10-04 16:44:56 +0300 |
commit | 46ebb1743f339eae14daaa3afe094957f6b67d1d (patch) | |
tree | b12411c21eb411a838586da234285dcb1acd24b1 /.get_maintainer.ignore | |
parent | 3745d3e550d1e6c4301596ac05a5fe82c11301ce (diff) | |
download | linux-46ebb1743f339eae14daaa3afe094957f6b67d1d.tar.xz |
rtw88: take over rate control from mac80211
We can indicate IEEE80211_HW_HAS_RATE_CONTROL to mac80211 because
the hardware has its own rate control algorithm. And what driver needs
to do is to choose an RA mask according the peer's capabilities.
But the hardware is not able to setup BA session by itself. So driver
requires to initiate tx BA session for hardware, and tells it if it is
possible to transmit AMPDU. The hardware can then aggregate MPDUs.
And the size of AMPDU is controlled by the TX descriptor and the
register value. Since the TX descriptor will reference the max AMPDU
size from ieee80211_sta::ht_cap::ampdu_factor, just set the register
value to 0x3f, and let it be controlled by TX descriptor.
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions