mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 01:38:25 +02:00
Added a better 802.11n support, wmm and htcaps are not available.
This fixes bug #0000710.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# #
|
# #
|
||||||
# IPFire.org - A linux based firewall #
|
# IPFire.org - A linux based firewall #
|
||||||
# Copyright (C) 2009 Michael Tremer & Christian Schmidt #
|
# Copyright (C) 2005-2010 IPTifre Team #
|
||||||
# #
|
# #
|
||||||
# This program is free software: you can redistribute it and/or modify #
|
# This program is free software: you can redistribute it and/or modify #
|
||||||
# it under the terms of the GNU General Public License as published by #
|
# it under the terms of the GNU General Public License as published by #
|
||||||
@@ -69,6 +69,7 @@ $wlanapsettings{'PWD'} = 'IPFire-2.x';
|
|||||||
$wlanapsettings{'SYSLOGLEVEL'} = '0';
|
$wlanapsettings{'SYSLOGLEVEL'} = '0';
|
||||||
$wlanapsettings{'DEBUG'} = '4';
|
$wlanapsettings{'DEBUG'} = '4';
|
||||||
$wlanapsettings{'DRIVER'} = 'MADWIFI';
|
$wlanapsettings{'DRIVER'} = 'MADWIFI';
|
||||||
|
$wlanapsettings{'HTCAPS'} = '';
|
||||||
|
|
||||||
&General::readhash("/var/ipfire/wlanap/settings", \%wlanapsettings);
|
&General::readhash("/var/ipfire/wlanap/settings", \%wlanapsettings);
|
||||||
&Header::getcgihash(\%wlanapsettings);
|
&Header::getcgihash(\%wlanapsettings);
|
||||||
@@ -379,6 +380,7 @@ foreach $txpower (@txpower){
|
|||||||
print <<END
|
print <<END
|
||||||
</select></td></tr>
|
</select></td></tr>
|
||||||
<tr><td width='25%' class='base'>Passphrase: </td><td class='base' colspan='3'><input type='text' name='PWD' size='63' value='$wlanapsettings{'PWD'}' /></td></tr>
|
<tr><td width='25%' class='base'>Passphrase: </td><td class='base' colspan='3'><input type='text' name='PWD' size='63' value='$wlanapsettings{'PWD'}' /></td></tr>
|
||||||
|
<tr><td width='25%' class='base'>HT Caps: </td><td class='base' colspan='3'><input type='text' name='HTCAPS' size='63' value='$wlanapsettings{'HTCAPS'}' /></td></tr>
|
||||||
<tr><td width='25%' class='base'>Loglevel (hostapd): </td><td class='base' width='25%'>
|
<tr><td width='25%' class='base'>Loglevel (hostapd): </td><td class='base' width='25%'>
|
||||||
<select name='SYSLOGLEVEL'>
|
<select name='SYSLOGLEVEL'>
|
||||||
<option value='0' $selected{'SYSLOGLEVEL'}{'0'}>0 ($Lang::tr{'wlanap verbose'})</option>
|
<option value='0' $selected{'SYSLOGLEVEL'}{'0'}>0 ($Lang::tr{'wlanap verbose'})</option>
|
||||||
@@ -474,6 +476,8 @@ END
|
|||||||
print CONFIGFILE <<END
|
print CONFIGFILE <<END
|
||||||
hw_mode=g
|
hw_mode=g
|
||||||
ieee80211n=1
|
ieee80211n=1
|
||||||
|
wmm_enabled=1
|
||||||
|
ht_capab=$wlanapsettings{'HTCAPS'}
|
||||||
END
|
END
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
|||||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||||
PROG = hostapd
|
PROG = hostapd
|
||||||
PAK_VER = 18
|
PAK_VER = 19
|
||||||
|
|
||||||
DEPS = ""
|
DEPS = ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user