timeouts of WR states not coherent with WR Specification
it turns out that most of the states have individually set timeouts
while in the WR specification, there is a global
value (the same for all states): wrStateTimeout. we need to decide
whether to fix it or change it in the Spec and
Veryx tests (this is in many WSMG_* tests)
#define WR_DEFAULT_STATE_TIMEOUT_MS 300 /* [ms] */
#define WR_WRS_PRESENT_TIMEOUT_MS 1000
#define WR_M_LOCK_TIMEOUT_MS 15000
#define WR_S_LOCK_TIMEOUT_MS 15000
#define WR_STATE_RETRY 3 /* if WR handhsake fails */
calibrated : __pp_timeout_set(ppi, PP_TO_EXT_0,
wrp->wrStateTimeout); | retry no
calibration: __pp_timeout_set(ppi, PP_TO_EXT_0, wrp->calPeriod);
| retry yes
wr_locked : __pp_timeout_set(ppi, PP_TO_EXT_0,
wrp->wrStateTimeout); | retry yes
m_lock : __pp_timeout_set(ppi, PP_TO_EXT_0,
WR_M_LOCK_TIMEOUT_MS); | retry yes
wr_present : __pp_timeout_set(ppi, PP_TO_EXT_0,
WR_WRS_PRESENT_TIMEOUT_MS); | retry yes
wr_resp-cal: __pp_timeout_set(ppi, PP_TO_EXT_0,
wrp->otherNodeCalPeriod / 1000); | retry yes