Reduce memory footprint of chillispot. Allocate 128 connections instead of 1024.
authorCarlos Sobrinho <epilog@netvisao.pt>
Tue, 3 Jul 2007 00:53:27 +0000 (00:53 +0000)
committerCarlos Sobrinho <epilog@netvisao.pt>
Tue, 3 Jul 2007 00:53:27 +0000 (00:53 +0000)
SVN-Revision: 7859

net/chillispot/patches/102-less_memory-footprint.patch [new file with mode: 0644]

diff --git a/net/chillispot/patches/102-less_memory-footprint.patch b/net/chillispot/patches/102-less_memory-footprint.patch
new file mode 100644 (file)
index 0000000..b0a6c9c
--- /dev/null
@@ -0,0 +1,12 @@
+diff -baurN --exclude='*~' --exclude='.#*' --exclude='.svn*' --exclude='.conf*' --exclude=dl --exclude=bin --exclude=build_mipsel --exclude=staging_dir_mipsel --exclude=toolchain_build_mipsel --exclude=package/config --exclude=autom4te.cache --exclude='*.tgz' --exclude='*.zip' --exclude='*.tar' --exclude='*.gz' --exclude='.tmp*' chillispot-1.1.0.orig/src/chilli.h chillispot-1.1.0/src/chilli.h
+--- chillispot-1.1.0.orig/src/chilli.h 2006-10-19 00:01:55.000000000 +0100
++++ chillispot-1.1.0/src/chilli.h      2006-12-19 00:02:16.000000000 +0100
+@@ -53,7 +53,7 @@
+ /* #define COUNT_DOWNLINK_DROP 1 */
+ /* #define COUNT_UPLINK_DROP 1 */
+-#define APP_NUM_CONN 1024
++#define APP_NUM_CONN 128
+ #define EAP_LEN 2048            /* TODO: Rather large */
+ #define MACOK_MAX 16