rtl8723ae: Re-introduce the adaptive rate control
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 8 Jan 2019 22:49:52 +0000 (22:49 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 1 Feb 2019 12:07:30 +0000 (14:07 +0200)
commit28484b6b37ba4a500a2913e5b64456a5717259cf
treeeeea5bacb5f800570e72899db9839014adf1edf2
parent5bb5385fbf3e31e72ee81e05c14f958dab2d53b6
rtl8723ae: Re-introduce the adaptive rate control

This re-introduces the function rtl8723e_dm_refresh_rate_adaptive_mask.

This function was present in a previous version of the code base,
it works just fine for me -- as long as it is not using stale data.

Unlike the original version of this function it avoids using
dm.undec_sm_pwdb when no beacon was received.

Fixed a style nit in rtl8723e_dm_init_rate_adaptive_mask.

Signed-off-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c