diff options
author | Naveen Singh <nsingh@atheros.com> | 2011-04-29 20:02:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-03 12:09:43 -0700 |
commit | 9ae62107fb9010e902e60259c6a461c68885d0c7 (patch) | |
tree | 86faf26b48d567bfc86d1c3648107eb44141d2b8 /drivers/staging/ath6kl/include | |
parent | 60c87f1453e8d53e14941c2d99861a21282942a5 (diff) | |
download | linux-9ae62107fb9010e902e60259c6a461c68885d0c7.tar.bz2 |
staging: ath6kl: open/shared auth implementation
If the wpa_supplicant conf file supplies both open and shared
algorithm, and AP is configured as shared then connection never
happens. Since it is a FMAC driver additional logic is added in
driver which first detects this, then tries open algorithm for the
first time and when it fails tries the shared algo.
kvalo: fix style issues
Signed-off-by: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Kalle Valo <kalle.valo@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl/include')
-rw-r--r-- | drivers/staging/ath6kl/include/common/wmi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/ath6kl/include/common/wmi.h b/drivers/staging/ath6kl/include/common/wmi.h index 24636e6b9643..65498395ea14 100644 --- a/drivers/staging/ath6kl/include/common/wmi.h +++ b/drivers/staging/ath6kl/include/common/wmi.h @@ -521,6 +521,11 @@ typedef enum { LEAP_AUTH = 0x04, /* different from IEEE_AUTH_MODE definitions */ } DOT11_AUTH_MODE; +enum { + AUTH_IDLE, + AUTH_OPEN_IN_PROGRESS, +}; + typedef enum { NONE_AUTH = 0x01, WPA_AUTH = 0x02, |