Bugzilla – Attachment #312202: Proposed ifup-wireless patch adding WIRELESS_WPA_DRIVER and new drivers for bug #477833
# mulitle network sections (see wpa_supplicant documentation).
WIRELESS_WPA_CONF=''
## Type: string
## Default: ""
#
# This variable allows to override the wpa driver name that should be used
# by the wpa_supplicant. In most cases "wext" can be used, but there are
# few exceptions.
WIRELESS_WPA_DRIVER=''
## Type: yesno
## Default: yes
case $ACTION in
up)
test -n "$WIRELESS_WPA_DRIVER" && \
WPA_DRIVER="$WIRELESS_WPA_DRIVER" || \
case "${DRIVER}" in
ath_pci)
WPA_DRIVER=wext
;;
at76c5*)
WPA_DRIVER=atmel
PREFER_WPA_SUPPLICANT=no
prism54)
WPA_DRIVER=prism54
ipw2200|ipw3945|hostap_*)
ipw2200|ipw2100|ipw3945|hostap_*)
ipw2100)
ndiswrapper|*.sys)
rt2500usb|rt2500pci)
rt2500*)
rt61pci|rt73usb|rt2400pci)
iwlagn|iwl3945|iwl4965)
zd1211rw)
ath5k|ath9k|ath_pci)
b43|b43legacy|ssb)
p54pci|p54usb)
at76*)
*)
WPA_DRIVER=unsupported