Changeset 20396 for trunk


Ignore:
Timestamp:
2010-03-24T01:22:19+01:00 (7 years ago)
Author:
thepeople
Message:

Enable management frame protection in hostapd, and make it configurable
in /etc/config/wireless. Since ath9k is currently the only driver that
supports MFP, it will only be enabled when ath9k is enabled.

Signed-off-by: Stijn Tintel <stijn@…>

Location:
trunk/package/hostapd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/hostapd/Makefile

    r20117 r20396  
    5555        CONFIG_DRIVER_MADWIFI=$(CONFIG_PACKAGE_kmod-madwifi) \ 
    5656        CONFIG_DRIVER_HOSTAP=$(CONFIG_PACKAGE_kmod-hostap) \ 
    57         CONFIG_IEEE80211N=$(CONFIG_PACKAGE_kmod-ath9k) 
     57        CONFIG_IEEE80211N=$(CONFIG_PACKAGE_kmod-ath9k) \ 
     58        CONFIG_IEEE80211W=$(CONFIG_PACKAGE_kmod-ath9k) 
    5859 
    5960ifeq ($(LOCAL_TYPE),supplicant) 
  • trunk/package/hostapd/files/hostapd.sh

    r20363 r20396  
    107107        [ -n "$bridge" ] && append "$var" "bridge=$bridge" "$N" 
    108108        [ -n "$ieee80211d" ] && append "$var" "ieee80211d=$ieee80211d" "$N" 
     109 
     110        [ "$wpa" -ge "2" ] && config_get ieee80211w "$vif" ieee80211w 
     111        case "$ieee80211w" in 
     112                [012]) 
     113                        append "$var" "ieee80211w=$ieee80211w" "$N" 
     114                ;; 
     115        esac 
    109116} 
    110117 
Note: See TracChangeset for help on using the changeset viewer.