Home
last modified time | relevance | path

Searched refs:ext_hdr_len (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_adv_sync.c348 (pdu->len == pdu->adv_ext_ind.ext_hdr_len + 1U) || in ll_adv_sync_ad_data_set()
1158 if (fields->cte_info && (hdr->ext_hdr_len == 0U || hdr->ext_hdr.cte_info == 0U)) {
1161 if (fields->adi && (hdr->ext_hdr_len == 0U || hdr->ext_hdr.adi == 0U)) {
1164 if (fields->aux_ptr && (hdr->ext_hdr_len == 0U || hdr->ext_hdr.aux_ptr == 0U)) {
1167 if (fields->tx_pwr && (hdr->ext_hdr_len == 0U || hdr->ext_hdr.tx_pwr == 0U)) {
1176 if (hdr->ext_hdr_len == 0) {
1182 if (pdu->len > hdr->ext_hdr_len + 1U) {
1194 dptr = pdu->payload + hdr->ext_hdr_len + 1U;
1196 dptr, pdu->len - hdr->ext_hdr_len - 1U);
1201 if (hdr->ext_hdr_len == 0U) {
[all …]
Dull_adv_aux.c489 if (com_hdr->ext_hdr_len) {
1135 if (com_hdr->ext_hdr_len) { in ll_adv_aux_sr_data_set()
1553 if (pri_com_hdr_prev->ext_hdr_len) { in ull_adv_aux_hdr_set_clear()
1917 if (!sec_com_hdr->ext_hdr_len) { in ull_adv_aux_hdr_set_clear()
2036 if (pri_com_hdr->ext_hdr_len != 0) { in ull_adv_aux_hdr_set_clear()
2043 if (sec_com_hdr->ext_hdr_len != 0) { in ull_adv_aux_hdr_set_clear()
2095 if (pdu_prev->len && com_hdr_prev->ext_hdr_len) { in ull_adv_aux_pdu_set_clear()
2098 com_hdr_prev->ext_hdr_len = 0U; in ull_adv_aux_pdu_set_clear()
2244 hdr_buf_len = com_hdr_prev->ext_hdr_len + in ull_adv_aux_pdu_set_clear()
2373 if (!com_hdr->ext_hdr_len) { in ull_adv_aux_pdu_set_clear()
[all …]
Dull_adv_internal.h201 com_hdr->ext_hdr_len = len - PDU_AC_EXT_HEADER_SIZE_MIN; in ull_adv_aux_hdr_len_fill()
Dpdu.h444 uint8_t ext_hdr_len:6; member
448 uint8_t ext_hdr_len:6;
Dull_scan_aux.c413 if (!pdu->len || !p->ext_hdr_len) { in ull_scan_aux_setup()
508 hdr_buf_len = PDU_AC_EXT_HEADER_SIZE_MIN + p->ext_hdr_len; in ull_scan_aux_setup()
1753 if (!pdu->len || !p->ext_hdr_len) { in ull_scan_aux_setup()
1842 hdr_buf_len = PDU_AC_EXT_HEADER_SIZE_MIN + p->ext_hdr_len; in ull_scan_aux_setup()
Dull_adv.c2140 if (com_hdr->ext_hdr_len) {
2960 if (pri_com_hdr->ext_hdr_len) {
2988 if (sec_com_hdr->ext_hdr_len) {
3042 if (com_hdr->ext_hdr_len) {
Dull_filter.c1197 if (pri_com_hdr->ext_hdr_len) { in rpa_adv_refresh()
1221 if (sec_com_hdr->ext_hdr_len) { in rpa_adv_refresh()
Dull_sync.c1905 if (!com_hdr->ext_hdr_len || (com_hdr->ext_hdr_len != 0 && !hdr->cte_info)) {
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c273 uint8_t ext_hdr_len; in common_validate_per_adv_pdu() local
286 if (com_hdr->ext_hdr_len > 0) { in common_validate_per_adv_pdu()
337 ext_hdr_len = ull_adv_aux_hdr_len_calc(com_hdr, &dptr); in common_validate_per_adv_pdu()
338 zassert_equal(com_hdr->ext_hdr_len, in common_validate_per_adv_pdu()
339 ext_hdr_len - PDU_AC_EXT_HEADER_SIZE_MIN, in common_validate_per_adv_pdu()
342 ext_hdr_len, com_hdr->ext_hdr_len); in common_validate_per_adv_pdu()
345 zassert_true((pdu->len - ext_hdr_len) > 0, in common_validate_per_adv_pdu()
348 zassert_equal(pdu->len - ext_hdr_len, 0, in common_validate_per_adv_pdu()
519 dptr = &com_hdr->ext_hdr_adv_data[com_hdr->ext_hdr_len]; in common_pdu_adv_data_set()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_sync.c188 if (pdu->adv_ext_ind.ext_hdr_len && pdu->adv_ext_ind.ext_hdr.aux_ptr) {
392 if (pdu->adv_ext_ind.ext_hdr_len && pdu->adv_ext_ind.ext_hdr.aux_ptr) {
450 if (com_hdr->ext_hdr_len == 0U) {
498 if (chain_pdu && chain_pdu->adv_ext_ind.ext_hdr_len &&
Dlll_adv_aux.c263 } else if (sec_pdu->adv_ext_ind.ext_hdr_len && in prepare_cb()
289 sec_pdu->adv_ext_ind.ext_hdr_len && in prepare_cb()
360 if (com_hdr->ext_hdr_len == 0U) { in aux_ptr_get()
478 if (pdu->adv_ext_ind.ext_hdr_len && pdu->adv_ext_ind.ext_hdr.aux_ptr) { in isr_tx_chain()
540 if (chain_pdu && chain_pdu->adv_ext_ind.ext_hdr_len && in chain_pdu_aux_ptr_chan_idx_set()
787 } else if (sr_pdu->adv_ext_ind.ext_hdr_len && in isr_rx_pdu()
970 cr_com_hdr->ext_hdr_len = cr_dptr - (uint8_t *)&cr_com_hdr->ext_hdr; in init_connect_rsp_pdu()
Dlll_df.c91 if (pdu->adv_ext_ind.ext_hdr_len) { in lll_df_cte_tx_enable()
Dlll_scan_aux.c139 if (unlikely(!pdu->len || !pri_com_hdr->ext_hdr_len)) { in lll_scan_aux_setup()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c6848 if (!p->ext_hdr_len) {
6887 hdr_buf_len = PDU_AC_EXT_HEADER_SIZE_MIN + p->ext_hdr_len;
7172 LOG_DBG(" Ext. adv mode= 0x%x, hdr len= %u", p->adv_mode, p->ext_hdr_len);
7176 if (!p->ext_hdr_len) {
7327 hdr_buf_len = PDU_AC_EXT_HEADER_SIZE_MIN + p->ext_hdr_len;
7329 LOG_WRN(" Header length %u/%u, INVALID.", hdr_len, p->ext_hdr_len);
7750 LOG_DBG(" Per. adv mode= 0x%x, hdr len= %u", p->adv_mode, p->ext_hdr_len);
7752 if (!p->ext_hdr_len) {
7817 hdr_buf_len = PDU_AC_EXT_HEADER_SIZE_MIN + p->ext_hdr_len;
7819 LOG_WRN(" Header length %u/%u, INVALID.", hdr_len, p->ext_hdr_len);