[PATCH 00/16] staging: wfx: rework the handling of the connection loss

From: Jerome Pouiller
Date: Mon Apr 20 2020 - 12:03:32 EST


From: JÃrÃme Pouiller <jerome.pouiller@xxxxxxxxxx>

Until now, the driver handled itself the connection loss. This series
allows to use ieee80211_beacon_loss() instead (patch 2/16). This change
allow a bunch of simplifications in many parts of the driver (most of
the patches 3 to 16). In particular it allows to drop the infamous enum
wfx_state (patch 15/16).

JÃrÃme Pouiller (16):
staging: wfx: simplify the check if the the device is associated
staging: wfx: use ieee80211_beacon_loss() provided by mac80211
staging: wfx: drop useless attribute 'bss_params'
staging: wfx: handle firmware events synchronously
staging: wfx: also fix network parameters for IBSS networks
staging: wfx: dual CTS is never necessary
staging: wfx: field operational_rate_set is ignored by firmware
staging: wfx: simplify hif_set_bss_params()
staging: wfx: drop useless update of field basic_rate_set
staging: wfx: introduce wfx_set_default_unicast_key()
staging: wfx: keys are kept during whole firmware life
staging: wfx: drop protection for asynchronous join during scan
staging: wfx: drop useless checks in wfx_do_unjoin()
staging: wfx: simplify wfx_remove_interface()
staging: wfx: drop unused enum wfx_state
staging: wfx: drop unused attribute 'join_complete_status'

drivers/staging/wfx/data_tx.c | 7 -
drivers/staging/wfx/hif_api_mib.h | 6 -
drivers/staging/wfx/hif_rx.c | 39 +++--
drivers/staging/wfx/hif_tx.c | 12 +-
drivers/staging/wfx/hif_tx.h | 3 +-
drivers/staging/wfx/hif_tx_mib.c | 13 --
drivers/staging/wfx/hif_tx_mib.h | 1 -
drivers/staging/wfx/key.c | 68 +++-----
drivers/staging/wfx/key.h | 2 -
drivers/staging/wfx/main.c | 1 +
drivers/staging/wfx/queue.c | 44 ------
drivers/staging/wfx/scan.c | 3 -
drivers/staging/wfx/sta.c | 248 +++---------------------------
drivers/staging/wfx/sta.h | 17 +-
drivers/staging/wfx/wfx.h | 20 +--
15 files changed, 77 insertions(+), 407 deletions(-)

--
2.26.1