Lines Matching refs:params
1593 const struct coap_transmission_parameters *params) in coap_pending_init() argument
1601 if (params) { in coap_pending_init()
1602 pending->params = *params; in coap_pending_init()
1604 pending->params = coap_transmission_params; in coap_pending_init()
1610 pending->retries = pending->params.max_retransmission; in coap_pending_init()
1722 static uint32_t init_ack_timeout(const struct coap_transmission_parameters *params) in init_ack_timeout() argument
1725 const uint16_t random_percent = params->ack_random_percent ? params->ack_random_percent in init_ack_timeout()
1727 const uint32_t max_ack = params->ack_timeout * random_percent / 100U; in init_ack_timeout()
1728 const uint32_t min_ack = params->ack_timeout; in init_ack_timeout()
1736 return params->ack_timeout; in init_ack_timeout()
1744 pending->timeout = init_ack_timeout(&pending->params); in coap_pending_cycle()
1753 pending->timeout = pending->timeout * pending->params.coap_backoff_percent / 100; in coap_pending_cycle()
2090 void coap_set_transmission_parameters(const struct coap_transmission_parameters *params) in coap_set_transmission_parameters() argument
2092 coap_transmission_params = *params; in coap_set_transmission_parameters()