Lines Matching refs:lll
63 static void invalid_release(struct ull_hdr *hdr, struct lll_conn *lll,
71 struct lll_conn *lll) argument
97 conn = lll->hdr.parent;
133 invalid_release(&adv->ull, lll, link, rx);
152 memcpy(&lll->crc_init[0], &pdu_adv->connect_ind.crc_init[0], 3);
153 memcpy(&lll->access_addr[0], &pdu_adv->connect_ind.access_addr[0], 4);
154 memcpy(&lll->data_chan_map[0], &pdu_adv->connect_ind.chan_map[0],
155 sizeof(lll->data_chan_map));
156 lll->data_chan_count = util_ones_count_get(&lll->data_chan_map[0],
157 sizeof(lll->data_chan_map));
158 lll->data_chan_hop = pdu_adv->connect_ind.hop;
159 lll->interval = sys_le16_to_cpu(pdu_adv->connect_ind.interval);
160 if ((lll->data_chan_count < CHM_USED_COUNT_MIN) ||
161 (lll->data_chan_hop < CHM_HOP_COUNT_MIN) ||
162 (lll->data_chan_hop > CHM_HOP_COUNT_MAX) ||
163 !lll->interval) {
164 invalid_release(&adv->ull, lll, link, rx);
171 lll->latency = sys_le16_to_cpu(pdu_adv->connect_ind.latency);
174 conn_interval_us = lll->interval * CONN_INT_UNIT_US;
182 } else if (adv->lll.aux) {
183 if (adv->lll.phy_s & PHY_CODED) {
198 lll->periph.window_widening_periodic_us =
202 lll->periph.window_widening_max_us = (conn_interval_us >> 1) -
204 lll->periph.window_size_event_us = pdu_adv->connect_ind.win_size *
230 conn->appto_reload = (conn->apto_reload > (lll->latency + 6)) ?
231 (conn->apto_reload - (lll->latency + 6)) :
236 memcpy((void *)&conn->periph.force, &lll->access_addr[0],
242 } else if (adv->lll.aux) {
261 if (ull_filter_lll_lrpa_used(adv->lll.rl_idx)) {
279 cc->interval = lll->interval;
280 cc->latency = lll->latency;
284 lll->handle = ll_conn_handle_get(conn);
285 rx->hdr.handle = lll->handle;
288 lll->tx_pwr_lvl = RADIO_TXP_DEFAULT;
308 rx->hdr.handle = lll->handle;
314 lll->data_chan_sel = 1;
315 lll->data_chan_id = lll_chan_id(lll->access_addr);
333 rx = adv->lll.node_rx_adv_term;
342 rx->rx_ftr.param_adv_term.conn_handle = lll->handle;
352 max_tx_time = lll->dle.eff.max_tx_time;
353 max_rx_time = lll->dle.eff.max_rx_time;
366 PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, lll->phy_tx));
368 PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, lll->phy_rx));
374 max_tx_time = PDU_MAX_US(0U, 0U, lll->phy_tx);
375 max_rx_time = PDU_MAX_US(0U, 0U, lll->phy_rx);
384 ready_delay_us = lll_radio_rx_ready_delay_get(lll->phy_rx, PHY_FLAGS_S8);
389 lll->tifs_tx_us = EVENT_IFS_DEFAULT_US;
390 lll->tifs_rx_us = EVENT_IFS_DEFAULT_US;
391 lll->tifs_hcto_us = EVENT_IFS_DEFAULT_US;
392 lll->tifs_cis_us = EVENT_IFS_DEFAULT_US;
396 slot_us += lll->tifs_rx_us + (EVENT_CLOCK_JITTER_US << 1);
420 conn_interval_us -= lll->periph.window_widening_periodic_us;
437 struct lll_adv_aux *lll_aux = adv->lll.aux;
468 if (adv->lll.is_hdcd) {
505 if (conn->lll.latency_event && !conn->periph.latency_cancel) {
539 if (unlikely(conn->lll.handle == 0xFFFF)) {
582 p.param = &conn->lll;
620 static void invalid_release(struct ull_hdr *hdr, struct lll_conn *lll, argument
627 lll->periph.initiated = 0U;
690 if (!conn->lll.role) {