]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: simplify handling of beacon filter during join process
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Wed, 15 Apr 2020 16:11:31 +0000 (18:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Apr 2020 10:29:40 +0000 (12:29 +0200)
commita64e1cfa96eaf1f0cf81cd3637de8bb27b6ea110
treec7eedc6957372bce33dd36e691751559fc6b37bd
parentef59879729abaf9a5e5a3d148960ac73375e845f
staging: wfx: simplify handling of beacon filter during join process

When the device joins an AP, beacon are forwarded to the host. Once has
retrieved all necessary parameters, we can start to filter the beacon
(and only beacon with changed/new data will be forwarded).

Currently, the driver detect beacons in data Rx process. It is far more
easier to just wait for the BSS_CHANGED_BEACON_INFO event.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200415161147.69738-5-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/data_rx.c
drivers/staging/wfx/sta.c