diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 16112a22a5..e66055e0f4 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -215,6 +215,11 @@ if (isset($wancfg['wireless'])) { /* Get wireless modes */ $wlanif = get_real_interface($if); interface_wireless_clone($wlanif, $wancfg); + if(!stristr($wancfg['if'], "_wlan")) { + $wlanbaseif = $wancfg['if']; + } else { + $wlanbaseif = substr($wancfg['if'], 0, stripos($wancfg['if'], "_wlan")); + } $wl_modes = get_wireless_modes($if); $pconfig['standard'] = $wancfg['wireless']['standard']; $pconfig['mode'] = $wancfg['wireless']['mode']; @@ -1236,7 +1241,10 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe" - Wireless configuration + Common wireless configuration + + + These settings apply to all wireless networks on . Standard @@ -1253,16 +1261,6 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe" - - Mode - - - - 802.11g OFDM Protection Mode @@ -1275,6 +1273,61 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe" For IEEE 802.11g, use the specified technique for protecting OFDM frames in a mixed 11b/11g network.
+ + + Transmit power + +
+ Note: Typically only a few discreet power settings are available and the driver will use the setting closest to the specified value. Not all adaptors support changing the transmit power setting. + + + + Channel + + +
+ Note: Not all channels may be supported by your card + + + + + + + Wireless configuration + + + Mode + + + SSID @@ -1315,45 +1368,6 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe"
(this might create problems for some clients). - - Transmit power - -
- Note: Typically only a few discreet power settings are available and the driver will use the setting closest to the specified value. Not all adaptors support changing the transmit power setting. - - - - Channel - - -
- Note: Not all channels may be supported by your card - - Distance setting