Searched refs:buf_ad (Results 1 – 1 of 1) sorted by relevance
788 static uint8_t get_ad_flags(struct net_buf_simple *buf_ad) argument793 for (i = 0U; i < buf_ad->len; i += len - 1) {794 len = buf_ad->data[i++];800 if (len > (buf_ad->len - i) || (buf_ad->len - i) < 1) {804 switch (buf_ad->data[i++]) {806 return buf_ad->data[i];819 struct net_buf_simple *buf_ad) argument831 ev->eir_data_len = buf_ad->len;832 memcpy(net_buf_simple_add(adv_buf, buf_ad->len), buf_ad->data, buf_ad->len);836 struct net_buf_simple *buf_ad) argument[all …]