gnrc/tcp : Move GNRC_TCP_MSS_MULTIPLICATOR to 'CONFIG_'

This commit is contained in:
Akshai M 2020-05-14 16:10:44 +05:30
parent 0b3e0de03e
commit d0145292aa

View File

@ -79,15 +79,15 @@ extern "C" {
/** /**
* @brief MSS Multiplicator = Number of MSS sized packets stored in receive buffer * @brief MSS Multiplicator = Number of MSS sized packets stored in receive buffer
*/ */
#ifndef GNRC_TCP_MSS_MULTIPLICATOR #ifndef CONFIG_GNRC_TCP_MSS_MULTIPLICATOR
#define GNRC_TCP_MSS_MULTIPLICATOR (1U) #define CONFIG_GNRC_TCP_MSS_MULTIPLICATOR (1U)
#endif #endif
/** /**
* @brief Default receive window size * @brief Default receive window size
*/ */
#ifndef GNRC_TCP_DEFAULT_WINDOW #ifndef GNRC_TCP_DEFAULT_WINDOW
#define GNRC_TCP_DEFAULT_WINDOW (GNRC_TCP_MSS * GNRC_TCP_MSS_MULTIPLICATOR) #define GNRC_TCP_DEFAULT_WINDOW (GNRC_TCP_MSS * CONFIG_GNRC_TCP_MSS_MULTIPLICATOR)
#endif #endif
/** /**