OSDN Git Service

rt2x00: save survey for every channel visited
authorMarkov Mikhail <markov.mikhail@itmh.ru>
Wed, 4 Nov 2020 14:25:24 +0000 (15:25 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 7 Nov 2020 15:53:32 +0000 (17:53 +0200)
commit5447626910f5b8d964761ed4fa4feaf1a3ac47d0
treebb3d1304f43722758489e12f192ec86b88537d09
parent50c61ae15865ea008b38d25b5c0c88556a662547
rt2x00: save survey for every channel visited

rt2800 only gives you survey for current channel.

Survey-based ACS algorithms are failing to perform their job when working
with rt2800.

Make rt2800 save survey for every channel visited and be able to give away
that information.

There is a bug registered https://dev.archive.openwrt.org/ticket/19081 and
this patch solves the issue.

Signed-off-by: Markov Mikhail <markov.mikhail@itmh.ru>
sgruszka: remove unused variable
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201104142524.94375-1-stf_xl@wp.pl
drivers/net/wireless/ralink/rt2x00/rt2800lib.c
drivers/net/wireless/ralink/rt2x00/rt2x00.h