linux/drivers/net/wireless/ath/wil6210
Vladimir Kondratiev b516fcc554 wil6210: prevent double disconnect command issuing
Disconnect flow may be invoked either from upper layer request,
or from event reported by the firmware.

In case of firmware event, driver need to release resources for the station but
not send another disconnect WMI command.

In case of upper layer request, WMI_DISCONNECT_STA_CMDID command need to
be issued for the firmware to perform disconnect on the MAC layer. Eventually,
event is expected to confirm MAC disconnect, but it is better to not wait for
firmware event and release station resources immediately. FW may fail to
report disconnect for various reasons, so one could not rely on event always reported.

Introduce parameter to distinguish 2 cases above to prevent double WMI command
issuing.

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-10-30 15:26:50 -04:00
..
cfg80211.c wil6210: prevent double disconnect command issuing 2014-10-30 15:26:50 -04:00
debug.c ath: change logging functions to return void 2014-09-29 14:29:23 +03:00
debugfs.c wil6210: manual FW error recovery mode 2014-10-02 14:23:14 -04:00
ethtool.c wil6210: ethtool ops 2014-09-26 17:06:52 -04:00
fw_inc.c wil6210: firmware download 2014-09-11 15:27:36 -04:00
fw.c wil6210: firmware download 2014-09-11 15:27:36 -04:00
fw.h wil6210: firmware download 2014-09-11 15:27:36 -04:00
interrupt.c wil6210: ethtool ops 2014-09-26 17:06:52 -04:00
ioctl.c wil6210: atomic I/O for the card memory 2014-10-02 14:23:14 -04:00
Kconfig wil6210: platform specific module 2014-09-11 15:27:37 -04:00
main.c wil6210: prevent double disconnect command issuing 2014-10-30 15:26:50 -04:00
Makefile wil6210: atomic I/O for the card memory 2014-10-02 14:23:14 -04:00
netdev.c wil6210: atomic I/O for the card memory 2014-10-02 14:23:14 -04:00
pcie_bus.c wil6210: fix for oops while stopping interface 2014-09-11 15:27:39 -04:00
rx_reorder.c wil6210: fix race condition between BACK event and Rx data 2014-09-11 15:27:38 -04:00
trace.c wil6210: trace support 2013-05-22 15:08:27 -04:00
trace.h wil6210: Align WMI header with latest FW 2013-07-22 16:54:37 -04:00
txrx.c wil6210: enlarge TX/RX buffer length 2014-09-11 15:27:38 -04:00
txrx.h wil6210: enlarge TX/RX buffer length 2014-09-11 15:27:38 -04:00
wil6210.h wil6210: prevent double disconnect command issuing 2014-10-30 15:26:50 -04:00
wil_platform_msm.c wil6210: platform specific module 2014-09-11 15:27:37 -04:00
wil_platform_msm.h wil6210: platform specific module 2014-09-11 15:27:37 -04:00
wil_platform.c wil6210: platform specific module 2014-09-11 15:27:37 -04:00
wil_platform.h wil6210: platform specific module 2014-09-11 15:27:37 -04:00
wmi.c wil6210: prevent double disconnect command issuing 2014-10-30 15:26:50 -04:00
wmi.h wil6210: coding style fixes 2014-09-11 15:27:36 -04:00