summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-03-06 23:40:32 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2010-03-06 23:40:32 -0700
commit39c1349ce1f61d66093692394919378029aa5cfa (patch)
treeaa994f9d90d7a6e9c70cd626762b1e79609042fa /etc
parent017d381c0ad97bb60b5ea127c4301ae873dee0c1 (diff)
downloadpfsense-39c1349ce1f61d66093692394919378029aa5cfa.zip
pfsense-39c1349ce1f61d66093692394919378029aa5cfa.tar.gz
Add support for 802.11n in get_wireless_modes and the channels list.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 54808a6..b15567b 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2967,6 +2967,13 @@ function get_wireless_modes($interface) {
/* if we only have 11g also set 11b channels */
if($wireless_mode == "11g") {
$wireless_modes["11b"] = array();
+ } else if($wireless_mode == "11g ht") {
+ $wireless_modes["11b"] = array();
+ $wireless_modes["11g"] = array();
+ $wireless_mode = "11ng";
+ } else if($wireless_mode == "11a ht") {
+ $wireless_modes["11a"] = array();
+ $wireless_mode = "11na";
}
$wireless_modes["$wireless_mode"]["$c"] = $wireless_channel;
}
OpenPOWER on IntegriCloud