summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-03-07 15:59:23 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2010-03-07 16:13:54 -0700
commit5030b5eb9f5d6f261a4c291d7d0c5c7092590b70 (patch)
treec2e604f9900197f4fe51232d2a271b46bfa0274e /etc/inc/interfaces.inc
parentc39ca3e243c1f5b03d4784ef4ea7a0f53d59caea (diff)
downloadpfsense-5030b5eb9f5d6f261a4c291d7d0c5c7092590b70.zip
pfsense-5030b5eb9f5d6f261a4c291d7d0c5c7092590b70.tar.gz
Disable ampdu for now on mwl when running in 11n mode to prevent massive packet loss under certain conditions.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 2237193..598457f 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1502,6 +1502,11 @@ function interface_wireless_configure($if, &$wl, &$wlcfg) {
/* Set a/b/g standard */
$wlcmd[] = "mode " . escapeshellarg($wlcfg['standard']);
+ /* XXX: Disable ampdu for now on mwl when running in 11n mode
+ * to prevent massive packet loss under certain conditions. */
+ if(preg_match("/^mwl/i", $if) && ($wlcfg['standard'] == "11ng" || $wlcfg['standard'] == "11na"))
+ $wlcmd[] = "-ampdu";
+
/* Set ssid */
if($wlcfg['ssid'])
$wlcmd[] = "ssid " .escapeshellarg($wlcfg['ssid']);
OpenPOWER on IntegriCloud