Project

General

Profile

« Previous | Next » 

Revision bfe7a893

Added by Scott Ullrich over 19 years ago

MFC 8163
Add 802.11g protection mode. ticket #715

View differences:

usr/local/www/interfaces_wlan.inc
36 36

  
37 37
	$pconfig['standard'] = $optcfg['wireless']['standard'];
38 38
	$pconfig['mode'] = $optcfg['wireless']['mode'];
39
	$pconfig['protmode'] = $optcfg['wireless']['protmode'];
39 40
	$pconfig['ssid'] = $optcfg['wireless']['ssid'];
40 41
	$pconfig['stationname'] = $optcfg['wireless']['stationname'];
41 42
	$pconfig['channel'] = $optcfg['wireless']['channel'];
......
136 137

  
137 138
		$optcfg['wireless']['standard'] = $_POST['standard'];
138 139
		$optcfg['wireless']['mode'] = $_POST['mode'];
140
		$optcfg['wireless']['protmode'] = $_POST['protmode'];
139 141
		$optcfg['wireless']['ssid'] = $_POST['ssid'];
140 142
		$optcfg['wireless']['stationname'] = $_POST['stationname'];
141 143
		$optcfg['wireless']['channel'] = $_POST['channel'];
......
264 266
			</select>
265 267
			</td>
266 268
		</tr>
269
		<tr>
270
			<td valign="top" class="vncellreq">802.11g OFDM Protection Mode</td>
271
			<td class="vtable">
272
			<select name="protmode" class="formfld" id="protmode">
273
				<option <? if ($pconfig['protmode'] == 'off') echo "selected";?> value="off">Protection mode off</option>
274
				<option <? if ($pconfig['protmode'] == 'cts') echo "selected";?> value="cts">Protection mode CTS to self</option>
275
				<option <? if ($pconfig['protmode'] == 'rtscts') echo "selected";?> value="rtscts">Protection mode RTS and CTS</option>
276
			</select>
277
			<br/>
278
			For IEEE 802.11g, use the specified technique for protecting OFDM frames in a mixed 11b/11g network.
279
			<br/>
280
			</td>
281
		</tr>
267 282
		<tr>
268 283
			<td valign="top" class="vncellreq">SSID</td>
269 284
			<td class="vtable"><?=$mandfldhtml;?><input name="ssid" type="text" class="formfld" id="ssid" size="20" value="<?=htmlspecialchars($pconfig['ssid']);?>">

Also available in: Unified diff