Lines Matching refs:adv_info

6573 	struct bt_hci_evt_le_advertising_info *adv_info;  local
6641 adv_info = (void *)(((uint8_t *)sep) + sizeof(*sep));
6643 adv_info->evt_type = c_adv_type[adv->type];
6648 ll_rl_id_addr_get(rl_idx, &adv_info->addr.type,
6649 &adv_info->addr.a.val[0]);
6651 MARK_AS_IDENTITY_ADDR(adv_info->addr.type);
6657 adv_info->addr.type = adv->tx_addr;
6658 memcpy(&adv_info->addr.a.val[0], &adv->adv_ind.addr[0],
6662 adv_info->length = data_len;
6663 memcpy(&adv_info->data[0], &adv->adv_ind.data[0], data_len);
6665 prssi = &adv_info->data[0] + data_len;
6697 struct bt_hci_evt_le_ext_advertising_info *adv_info; local
6746 adv_info = (void *)(((uint8_t *)sep) + sizeof(*sep));
6748 adv_info->evt_type = sys_cpu_to_le16((uint16_t)evt_type_lookup[adv->type]);
6753 ll_rl_id_addr_get(rl_idx, &adv_info->addr.type,
6754 &adv_info->addr.a.val[0]);
6756 MARK_AS_IDENTITY_ADDR(adv_info->addr.type);
6760 adv_info->addr.type = adv->tx_addr;
6761 memcpy(&adv_info->addr.a.val[0], &adv->adv_ind.addr[0],
6765 adv_info->prim_phy = BT_HCI_LE_EXT_SCAN_PHY_1M;
6766 adv_info->sec_phy = 0U;
6767 adv_info->sid = 0xff;
6768 adv_info->tx_power = BT_HCI_LE_ADV_TX_POWER_NO_PREF;
6769 adv_info->rssi = rssi;
6770 adv_info->interval = 0U;
6773 adv_info->direct_addr.type = adv->rx_addr;
6774 bt_addr_copy(&adv_info->direct_addr.a,
6777 adv_info->direct_addr.type = 0U;
6778 (void)memset(adv_info->direct_addr.a.val, 0U,
6779 sizeof(adv_info->direct_addr.a.val));
6782 adv_info->length = data_len;
6783 memcpy(&adv_info->data[0], &adv->adv_ind.data[0], data_len);
6927 struct bt_hci_evt_le_ext_advertising_info *adv_info; local
6937 adv_info = (void *)(((uint8_t *)sep) + sizeof(*sep));
6939 adv_info->evt_type = sys_cpu_to_le16((uint16_t)evt_type);
6945 ll_rl_id_addr_get(rl_idx, &adv_info->addr.type,
6946 adv_info->addr.a.val);
6948 MARK_AS_IDENTITY_ADDR(adv_info->addr.type);
6953 adv_info->addr.type = adv_addr_type;
6954 (void)memcpy(adv_info->addr.a.val, adv_addr, sizeof(bt_addr_t));
6956 adv_info->addr.type = 0U;
6957 (void)memset(adv_info->addr.a.val, 0, sizeof(bt_addr_t));
6960 adv_info->prim_phy = find_lsb_set(phy);
6961 adv_info->sec_phy = sec_phy;
6962 adv_info->sid = (adi) ? PDU_ADV_ADI_SID_GET(adi) : BT_HCI_LE_EXT_ADV_SID_INVALID;
6963 adv_info->tx_power = tx_pwr;
6964 adv_info->rssi = rssi;
6965 adv_info->interval = interval_le16;
6968 adv_info->direct_addr.type = direct_addr_type;
6969 (void)memcpy(adv_info->direct_addr.a.val, direct_addr,
6972 adv_info->direct_addr.type = 0U;
6973 (void)memset(adv_info->direct_addr.a.val, 0, sizeof(bt_addr_t));
6976 adv_info->length = data_len;
6977 (void)memcpy(adv_info->data, data, data_len);