Searched refs:com_hdr (Results 1 – 7 of 7) sorted by relevance
265 struct pdu_adv_com_ext_adv *com_hdr; in common_validate_per_adv_pdu() local271 com_hdr = &pdu->adv_ext_ind; in common_validate_per_adv_pdu()273 zassert_equal(com_hdr->adv_mode, 0U, in common_validate_per_adv_pdu()275 com_hdr->adv_mode); in common_validate_per_adv_pdu()277 ext_hdr = &com_hdr->ext_hdr; in common_validate_per_adv_pdu()280 if (com_hdr->ext_hdr_len > 0) { in common_validate_per_adv_pdu()331 ext_hdr_len = ull_adv_aux_hdr_len_calc(com_hdr, &dptr); in common_validate_per_adv_pdu()332 zassert_equal(com_hdr->ext_hdr_len, in common_validate_per_adv_pdu()336 ext_hdr_len, com_hdr->ext_hdr_len); in common_validate_per_adv_pdu()507 struct pdu_adv_com_ext_adv *com_hdr; in common_pdu_adv_data_set() local[all …]
183 ull_adv_aux_hdr_len_calc(struct pdu_adv_com_ext_adv *com_hdr, uint8_t **dptr) in ull_adv_aux_hdr_len_calc() argument187 len = *dptr - (uint8_t *)com_hdr; in ull_adv_aux_hdr_len_calc()191 *dptr = (uint8_t *)com_hdr + len; in ull_adv_aux_hdr_len_calc()199 ull_adv_aux_hdr_len_fill(struct pdu_adv_com_ext_adv *com_hdr, uint8_t len) in ull_adv_aux_hdr_len_fill() argument201 com_hdr->ext_hdr_len = len - PDU_AC_EXT_HEADER_SIZE_MIN; in ull_adv_aux_hdr_len_fill()
417 struct pdu_adv_com_ext_adv *com_hdr; local429 com_hdr = &pdu->adv_ext_ind;430 if (com_hdr->ext_hdr_len) {431 hdr = com_hdr->ext_hdr;435 dptr = com_hdr->ext_hdr.data;1055 struct pdu_adv_com_ext_adv *com_hdr; in ll_adv_aux_sr_data_set() local1068 com_hdr = &sr_pdu->adv_ext_ind; in ll_adv_aux_sr_data_set()1069 if (com_hdr->ext_hdr_len) { in ll_adv_aux_sr_data_set()1070 hdr = com_hdr->ext_hdr; in ll_adv_aux_sr_data_set()1074 dptr = com_hdr->ext_hdr.data; in ll_adv_aux_sr_data_set()[all …]
528 struct pdu_adv_com_ext_adv *com_hdr; in ll_adv_sync_ad_data_set() local540 com_hdr = &pdu->adv_ext_ind; in ll_adv_sync_ad_data_set()541 if (com_hdr->ext_hdr_len) { in ll_adv_sync_ad_data_set()542 hdr = com_hdr->ext_hdr; in ll_adv_sync_ad_data_set()546 dptr = com_hdr->ext_hdr.data; in ll_adv_sync_ad_data_set()1386 struct pdu_adv_com_ext_adv *com_hdr; in ull_adv_sync_pdu_init() local1400 com_hdr = &pdu->adv_ext_ind; in ull_adv_sync_pdu_init()1402 com_hdr->adv_mode = 0U; in ull_adv_sync_pdu_init()1404 ext_hdr = &com_hdr->ext_hdr; in ull_adv_sync_pdu_init()1436 len = ull_adv_aux_hdr_len_calc(com_hdr, &dptr); in ull_adv_sync_pdu_init()[all …]
1471 struct pdu_adv_com_ext_adv *com_hdr; local1475 com_hdr = &pdu->adv_ext_ind;1476 hdr = &com_hdr->ext_hdr;1478 if (!com_hdr->ext_hdr_len || (com_hdr->ext_hdr_len != 0 && !hdr->cte_info)) {
2096 struct pdu_adv_com_ext_adv *com_hdr = (void *)&pdu->adv_ext_ind; local2097 struct pdu_adv_ext_hdr *hdr = (void *)com_hdr->ext_hdr_adv_data;2100 if (com_hdr->ext_hdr_len) {2940 struct pdu_adv_com_ext_adv *com_hdr = (void *)&pdu->adv_ext_ind; local2941 struct pdu_adv_ext_hdr *hdr = (void *)com_hdr->ext_hdr_adv_data;2944 if (com_hdr->ext_hdr_len) {2954 return &com_hdr->ext_hdr_adv_data[1];
114 struct pdu_adv_com_ext_adv *com_hdr; in prepare_cb() local140 com_hdr = (void *)&sec_pdu->adv_ext_ind; in prepare_cb()158 com_hdr = (void *)&pri_pdu->adv_ext_ind; in prepare_cb()159 pri_hdr = (void *)com_hdr->ext_hdr_adv_data; in prepare_cb()167 LL_ASSERT(com_hdr->ext_hdr_len); in prepare_cb()231 if (com_hdr->adv_mode & (BT_HCI_LE_ADV_PROP_CONN | in prepare_cb()