massively decrease the wlcompat entropy polling frequency - hurts performance and...
authorFelix Fietkau <nbd@openwrt.org>
Mon, 13 Nov 2006 18:52:03 +0000 (18:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 13 Nov 2006 18:52:03 +0000 (18:52 +0000)
SVN-Revision: 5522

openwrt/target/linux/package/wlcompat/wlcompat.c

index b9062ecdc9efef5eba50314daf596e42ef54238b..6946a7a3b9edd2fa06877aef9821a1a3e88d94a7 100644 (file)
@@ -52,7 +52,7 @@ const long channel_frequency[] = {
 #define NUM_CHANNELS ( sizeof(channel_frequency) / sizeof(channel_frequency[0]) )
 
 #define SCAN_RETRY_MAX 5
-#define RNG_POLL_FREQ  20
+#define RNG_POLL_FREQ  2
 
 typedef struct internal_wsec_key {
        uint8 index;            // 0x00