mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-06 04:54:38 +00:00
Allow shorter UIP_CONF_WAIT_TIMEOUT for more aggressive power saving modes.
This commit is contained in:
parent
8b5577eca2
commit
3c3cd868cd
@ -58,7 +58,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the uIP TCP/IP stack.
|
* This file is part of the uIP TCP/IP stack.
|
||||||
*
|
*
|
||||||
* $Id: uipopt.h,v 1.13 2010/12/07 23:33:17 adamdunkels Exp $
|
* $Id: uipopt.h,v 1.14 2010/12/24 00:39:04 dak664 Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -407,11 +407,13 @@
|
|||||||
/**
|
/**
|
||||||
* How long a connection should stay in the TIME_WAIT state.
|
* How long a connection should stay in the TIME_WAIT state.
|
||||||
*
|
*
|
||||||
* This configuration option has no real implication, and it should be
|
* This can be reduced for faster entry into power saving modes.
|
||||||
* left untouched.
|
|
||||||
*/
|
*/
|
||||||
|
#ifndef UIP_CONF_WAIT_TIMEOUT
|
||||||
#define UIP_TIME_WAIT_TIMEOUT 120
|
#define UIP_TIME_WAIT_TIMEOUT 120
|
||||||
|
#else
|
||||||
|
#define UIP_TIME_WAIT_TIMEOUT UIP_CONF_WAIT_TIMEOUT
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
/*------------------------------------------------------------------------------*/
|
/*------------------------------------------------------------------------------*/
|
||||||
|
Loading…
Reference in New Issue
Block a user