]> 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)
commitc8b12065d16a3410e0848808928f53aa536d2be9
treec7eedc6957372bce33dd36e691751559fc6b37bd
parent387cfca7b8a54e536bc8e623a61b0bc3d1f13e15
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