From: epilog Date: Tue, 3 Jul 2007 00:53:27 +0000 (+0000) Subject: Reduce memory footprint of chillispot. Allocate 128 connections instead of 1024. X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=681d7e9e1205574341ce0cfa1ba8c3a80f31c377;p=packages.git Reduce memory footprint of chillispot. Allocate 128 connections instead of 1024. git-svn-id: svn://svn.openwrt.org/openwrt/packages@7859 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/chillispot/patches/102-less_memory-footprint.patch b/net/chillispot/patches/102-less_memory-footprint.patch new file mode 100644 index 000000000..b0a6c9c31 --- /dev/null +++ b/net/chillispot/patches/102-less_memory-footprint.patch @@ -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