From: Carlos Sobrinho 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://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=bbdcf29d78f1f6ba2a112d515284b47c1afde449 Reduce memory footprint of chillispot. Allocate 128 connections instead of 1024. SVN-Revision: 7859 --- 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 0000000000..b0a6c9c31c --- /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