From: Arne Fitzenreiter Date: Wed, 22 Apr 2009 07:49:24 +0000 (+0200) Subject: Add NL80211 driver config to wlanap.cgi X-Git-Tag: v2.5-beta1~6 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=7d30ef245f6e7ab1f9faa2938f77c52ca292eef1 Add NL80211 driver config to wlanap.cgi --- diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi old mode 100755 new mode 100644 index 123ca792c7..ca11d043e2 --- a/html/cgi-bin/wlanap.cgi +++ b/html/cgi-bin/wlanap.cgi @@ -64,6 +64,7 @@ $wlanapsettings{'HIDESSID'} = 'off'; $wlanapsettings{'ENC'} = 'wpa2'; # none / wpa1 /wpa2 $wlanapsettings{'TXPOWER'} = 'auto'; $wlanapsettings{'CHANNEL'} = '05'; +$wlanapsettings{'HW_MODE'} = 'g'; $wlanapsettings{'PWD'} = 'IPFire-2.x'; $wlanapsettings{'SYSLOGLEVEL'} = '0'; $wlanapsettings{'DEBUG'} = '4'; @@ -194,6 +195,7 @@ $checked_hidessid = "checked='checked'" if ( $wlanapsettings{'HIDESSID'} eq 'on' $selected{'ENC'}{$wlanapsettings{'ENC'}} = "selected='selected'"; $selected{'CHANNEL'}{$wlanapsettings{'CHANNEL'}} = "selected='selected'"; $selected{'TXPOWER'}{$wlanapsettings{'TXPOWER'}} = "selected='selected'"; +$selected{'HW_MODE'}{$wlanapsettings{'HW_MODE'}} = "selected='selected'"; $selected{'MACMODE'}{$wlanapsettings{'MACMODE'}} = "selected='selected'"; my @channellist_cmd = `iwlist $wlanapsettings{'INTERFACE'} channel`; @@ -265,6 +267,14 @@ print <WLAN Settings SSID:  Disable SSID broadcast:  +HW Mode:  + + + Encryption: