summaryrefslogtreecommitdiff
path: root/packages/zd1211/zd1211-4916/copy-break.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/zd1211/zd1211-4916/copy-break.patch')
-rw-r--r--packages/zd1211/zd1211-4916/copy-break.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/zd1211/zd1211-4916/copy-break.patch b/packages/zd1211/zd1211-4916/copy-break.patch
new file mode 100644
index 0000000000..a08c543550
--- /dev/null
+++ b/packages/zd1211/zd1211-4916/copy-break.patch
@@ -0,0 +1,11 @@
+--- zd1211-4916-r0/src/zd1205.c.cborig 2005-03-08 14:20:22.846179000 -0800
++++ zd1211-4916-r0/src/zd1205.c 2005-03-08 14:21:09.432096896 -0800
+@@ -267,7 +267,7 @@
+ zd1205_SwTcbQ_t free_txq_buf, active_txq_buf;
+ struct net_device *g_dev;
+ zd_80211Obj_t dot11Obj = {0};
+-#define RX_COPY_BREAK 0//1518 //we do bridge, don't care IP header alignment
++#define RX_COPY_BREAK MAX_WLAN_SIZE //It doesn't appear that unaligned frames work with TCP/UDP beyond a certain size
+ #define BEFORE_BEACON 5
+ /* Definition of Wireless Extension */
+