android_kernel_motorola_sm6225/drivers/net/wireless/orinoco
David Kilroy 0a54917c3f orinoco: fix TKIP countermeasure behaviour
Enable the port when disabling countermeasures, and disable it on
enabling countermeasures.

This bug causes the response of the system to certain attacks to be
ineffective.

It also prevents wpa_supplicant from getting scan results, as
wpa_supplicant disables countermeasures on startup - preventing the
hardware from scanning.

wpa_supplicant works with ap_mode=2 despite this bug because the commit
handler re-enables the port.

The log tends to look like:

State: DISCONNECTED -> SCANNING
Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 5 seconds
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized
Scan timeout - try to get results
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 1 sec 0 usec
Starting AP scan for wildcard SSID
Scan requested (ret=-1) - scan timeout 5 seconds
Failed to initiate AP scan.

Reported by: Giacomo Comes <comes@naic.edu>
Signed-off by: David Kilroy <kilroyd@googlemail.com>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-12-08 15:24:06 -05:00
..
airport.c
cfg.c drivers/net/wireless: Use wiphy_<level> 2010-07-27 15:14:13 -04:00
cfg.h
fw.c
fw.h
hermes.c
hermes.h
hermes_dld.c
hermes_dld.h
hermes_rid.h
hw.c orinoco: Fix walking past the end of the buffer 2010-08-25 14:33:17 -04:00
hw.h
Kconfig
main.c orinoco: clear countermeasure setting on commit 2010-12-08 15:23:52 -05:00
main.h
Makefile
mic.c
mic.h
orinoco.h
orinoco_cs.c orinoco: initialise priv->hw before assigning the interrupt 2010-12-08 15:23:31 -05:00
orinoco_nortel.c
orinoco_pci.c
orinoco_pci.h
orinoco_plx.c
orinoco_tmd.c
orinoco_usb.c
scan.c orinoco: abort scan on interface down 2010-11-30 13:23:05 -05:00
scan.h orinoco: abort scan on interface down 2010-11-30 13:23:05 -05:00
spectrum_cs.c orinoco: initialise priv->hw before assigning the interrupt 2010-12-08 15:23:31 -05:00
wext.c orinoco: fix TKIP countermeasure behaviour 2010-12-08 15:24:06 -05:00
wext.h