diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-29 06:53:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-29 06:53:02 +0000 |
commit | bfe7a8937dfb3b36c418dc7a6204d156bbe51350 (patch) | |
tree | 8587b5bcd77297ad1f9352091a586fb618d7226c /usr/local/www/interfaces_wlan.inc | |
parent | 672a863c87b96763f9442dc92d3345bb24387a95 (diff) | |
download | pfsense-bfe7a8937dfb3b36c418dc7a6204d156bbe51350.zip pfsense-bfe7a8937dfb3b36c418dc7a6204d156bbe51350.tar.gz |
MFC 8163
Add 802.11g protection mode. ticket #715
Diffstat (limited to 'usr/local/www/interfaces_wlan.inc')
-rwxr-xr-x | usr/local/www/interfaces_wlan.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_wlan.inc b/usr/local/www/interfaces_wlan.inc index a731f4b..45a90dd 100755 --- a/usr/local/www/interfaces_wlan.inc +++ b/usr/local/www/interfaces_wlan.inc @@ -36,6 +36,7 @@ function wireless_config_init() { $pconfig['standard'] = $optcfg['wireless']['standard']; $pconfig['mode'] = $optcfg['wireless']['mode']; + $pconfig['protmode'] = $optcfg['wireless']['protmode']; $pconfig['ssid'] = $optcfg['wireless']['ssid']; $pconfig['stationname'] = $optcfg['wireless']['stationname']; $pconfig['channel'] = $optcfg['wireless']['channel']; @@ -136,6 +137,7 @@ function wireless_config_post() { $optcfg['wireless']['standard'] = $_POST['standard']; $optcfg['wireless']['mode'] = $_POST['mode']; + $optcfg['wireless']['protmode'] = $_POST['protmode']; $optcfg['wireless']['ssid'] = $_POST['ssid']; $optcfg['wireless']['stationname'] = $_POST['stationname']; $optcfg['wireless']['channel'] = $_POST['channel']; @@ -265,6 +267,19 @@ function wireless_config_print() { </td> </tr> <tr> + <td valign="top" class="vncellreq">802.11g OFDM Protection Mode</td> + <td class="vtable"> + <select name="protmode" class="formfld" id="protmode"> + <option <? if ($pconfig['protmode'] == 'off') echo "selected";?> value="off">Protection mode off</option> + <option <? if ($pconfig['protmode'] == 'cts') echo "selected";?> value="cts">Protection mode CTS to self</option> + <option <? if ($pconfig['protmode'] == 'rtscts') echo "selected";?> value="rtscts">Protection mode RTS and CTS</option> + </select> + <br/> + For IEEE 802.11g, use the specified technique for protecting OFDM frames in a mixed 11b/11g network. + <br/> + </td> + </tr> + <tr> <td valign="top" class="vncellreq">SSID</td> <td class="vtable"><?=$mandfldhtml;?><input name="ssid" type="text" class="formfld" id="ssid" size="20" value="<?=htmlspecialchars($pconfig['ssid']);?>"> </td> |