mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-22 08:52:58 +02:00
Added gui support for 802.11n interfaces.
This commit is contained in:
@@ -272,6 +272,7 @@ print <<END
|
||||
<option value='a' $selected{'HW_MODE'}{'a'}>a</option>
|
||||
<option value='b' $selected{'HW_MODE'}{'b'}>b</option>
|
||||
<option value='g' $selected{'HW_MODE'}{'g'}>g</option>
|
||||
<option value='n' $selected{'HW_MODE'}{'n'}>n</option>
|
||||
</select>
|
||||
</td></tr>
|
||||
|
||||
@@ -383,7 +384,23 @@ sub WriteConfig_hostapd{
|
||||
interface=$wlanapsettings{'INTERFACE'}
|
||||
driver=$wlanapsettings{'DRIVER_HOSTAPD'}
|
||||
channel=$wlanapsettings{'CHANNEL'}
|
||||
hw_mode=$wlanapsettings{'HW_MODE'}
|
||||
END
|
||||
;
|
||||
if ( $wlanapsettings{'HW_MODE'} eq 'n' ){
|
||||
print CONFIGFILE <<END
|
||||
hw_mode=g
|
||||
ieee80211n=1
|
||||
END
|
||||
;
|
||||
|
||||
}else{
|
||||
print CONFIGFILE <<END
|
||||
hw_mode=$wlanapsettings{'HW_MODE'}END
|
||||
;
|
||||
|
||||
}
|
||||
|
||||
|
||||
logger_syslog=-1
|
||||
logger_syslog_level=$wlanapsettings{'SYSLOGLEVEL'}
|
||||
logger_stdout=-1
|
||||
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = hostapd
|
||||
PAK_VER = 13
|
||||
PAK_VER = 14
|
||||
|
||||
DEPS = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user