linux/drivers/staging/wfx
Jérôme Pouiller 10b72a7c59 staging: wfx: wait for SCAN_CMPL after a SCAN_STOP
When the device has finished a scan request, it send a scan complete
("SCAN_COMPL") indication. It is also possible to abort a scan request
with a "SCAN_STOP" message. A SCAN_COMPL is also send in this case.

The driver limits the delay to make a scan request. A timeout happens
almost never but is theoretically possible. Currently, if it happens
the driver does not wait for the SCAN_COMPL. Then, when the driver
starts the next scan request, the device may return -EBUSY (scan
requests often occur back-to-back).

This patch give a chance to the device to send a SCAN_COMPL after a scan
timeout.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20210913130203.1903622-5-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-14 09:16:31 +02:00
..
Documentation/devicetree/bindings/net/wireless MAINTAINERS: fix broken doc refs due to yaml conversion 2020-10-28 11:41:15 -06:00
bh.c Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
bh.h Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
bus_sdio.c Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
bus_spi.c Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
bus.h Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
data_rx.c Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
data_rx.h staging: wfx: update copyrights dates 2020-10-07 12:55:47 +02:00
data_tx.c Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
data_tx.h Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
debug.c Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
debug.h
fwio.c Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
fwio.h
hif_api_cmd.h Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
hif_api_general.h Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
hif_api_mib.h staging: wfx: update copyrights dates 2020-10-07 12:55:47 +02:00
hif_rx.c staging: wfx: logical continuations should be on the previous line 2021-03-10 09:25:24 +01:00
hif_rx.h
hif_tx_mib.c Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
hif_tx_mib.h staging: wfx: update copyrights dates 2020-10-07 12:55:47 +02:00
hif_tx.c Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
hif_tx.h staging: wfx: update copyrights dates 2020-10-07 12:55:47 +02:00
hwio.c Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
hwio.h Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
Kconfig
key.c Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
key.h Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
main.c of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
main.h Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
Makefile staging: wfx: place hif_tx_mib functions into a .c file 2020-04-13 14:32:38 +02:00
queue.c Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
queue.h Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
scan.c staging: wfx: wait for SCAN_CMPL after a SCAN_STOP 2021-09-14 09:16:31 +02:00
scan.h Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
sta.c staging: wfx: ignore PS when STA/AP share same channel 2021-09-14 09:16:31 +02:00
sta.h Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
TODO staging: wfx: update TODO list 2020-09-13 09:23:06 +02:00
traces.h Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00
wfx.h Revert "staging: wfx: remove unused included header files" 2021-03-10 09:23:30 +01:00