Lines Matching refs:iq_report
2968 struct node_rx_iq_report *iq_report; in le_df_connectionless_iq_report() local
2978 iq_report = (struct node_rx_iq_report *)node_rx; in le_df_connectionless_iq_report()
2985 lll = iq_report->rx.rx_ftr.param; in le_df_connectionless_iq_report()
3019 per_evt_counter = iq_report->event_counter; in le_df_connectionless_iq_report()
3027 if (iq_report->packet_status == BT_HCI_LE_CTE_INSUFFICIENT_RESOURCES) { in le_df_connectionless_iq_report()
3030 samples_cnt = MAX(1, iq_report->sample_count); in le_df_connectionless_iq_report()
3037 rssi = RSSI_DBM_TO_DECI_DBM(iq_report->rx.rx_ftr.rssi); in le_df_connectionless_iq_report()
3042 sep->rssi_ant_id = iq_report->rssi_ant_id; in le_df_connectionless_iq_report()
3043 sep->cte_type = iq_report->cte_info.type; in le_df_connectionless_iq_report()
3045 sep->chan_idx = iq_report->chan_idx; in le_df_connectionless_iq_report()
3049 sep->slot_durations = iq_report->local_slot_durations; in le_df_connectionless_iq_report()
3056 sep->packet_status = iq_report->packet_status; in le_df_connectionless_iq_report()
3058 if (iq_report->packet_status != BT_HCI_LE_CTE_INSUFFICIENT_RESOURCES) { in le_df_connectionless_iq_report()
3059 if (iq_report->sample_count == 0U) { in le_df_connectionless_iq_report()
3065 iq_convert_12_to_8_bits(iq_report->sample[idx].i); in le_df_connectionless_iq_report()
3067 iq_convert_12_to_8_bits(iq_report->sample[idx].q); in le_df_connectionless_iq_report()
3122 struct node_rx_iq_report *iq_report; in le_df_connection_iq_report() local
3128 iq_report = (struct node_rx_iq_report *)node_rx; in le_df_connection_iq_report()
3135 lll = iq_report->rx.rx_ftr.param; in le_df_connection_iq_report()
3159 if (iq_report->packet_status == BT_HCI_LE_CTE_INSUFFICIENT_RESOURCES) { in le_df_connection_iq_report()
3162 samples_cnt = MAX(1, iq_report->sample_count); in le_df_connection_iq_report()
3168 rssi = RSSI_DBM_TO_DECI_DBM(iq_report->rx.rx_ftr.rssi); in le_df_connection_iq_report()
3170 sep->conn_handle = sys_cpu_to_le16(iq_report->rx.hdr.handle); in le_df_connection_iq_report()
3173 sep->rssi_ant_id = iq_report->rssi_ant_id; in le_df_connection_iq_report()
3174 sep->cte_type = iq_report->cte_info.type; in le_df_connection_iq_report()
3176 sep->data_chan_idx = iq_report->chan_idx; in le_df_connection_iq_report()
3177 sep->conn_evt_counter = sys_cpu_to_le16(iq_report->event_counter); in le_df_connection_iq_report()
3180 sep->slot_durations = iq_report->local_slot_durations; in le_df_connection_iq_report()
3187 sep->packet_status = iq_report->packet_status; in le_df_connection_iq_report()
3189 if (iq_report->packet_status != BT_HCI_LE_CTE_INSUFFICIENT_RESOURCES) { in le_df_connection_iq_report()
3190 if (iq_report->sample_count == 0U) { in le_df_connection_iq_report()
3196 iq_convert_12_to_8_bits(iq_report->sample[idx].i); in le_df_connection_iq_report()
3198 iq_convert_12_to_8_bits(iq_report->sample[idx].q); in le_df_connection_iq_report()
5330 struct node_rx_iq_report *iq_report; local
5338 iq_report = (struct node_rx_iq_report *)node_rx;
5344 lll = iq_report->rx.rx_ftr.param;
5362 per_evt_counter = iq_report->event_counter;
5369 if (iq_report->packet_status == BT_HCI_LE_CTE_INSUFFICIENT_RESOURCES) {
5372 samples_cnt = MAX(1, iq_report->sample_count);
5378 rssi = RSSI_DBM_TO_DECI_DBM(iq_report->rx.rx_ftr.rssi);
5382 sep->rssi_ant_id = iq_report->rssi_ant_id;
5383 sep->cte_type = iq_report->cte_info.type;
5385 sep->chan_idx = iq_report->chan_idx;
5389 sep->slot_durations = iq_report->local_slot_durations;
5396 sep->packet_status = iq_report->packet_status;
5398 if (iq_report->packet_status != BT_HCI_LE_CTE_INSUFFICIENT_RESOURCES) {
5399 if (iq_report->sample_count == 0U) {
5404 sep->sample[idx].i = sys_cpu_to_le16(iq_report->sample[idx].i);
5405 sep->sample[idx].q = sys_cpu_to_le16(iq_report->sample[idx].q);
5418 struct node_rx_iq_report *iq_report; local
5424 iq_report = (struct node_rx_iq_report *)node_rx;
5430 lll = iq_report->rx.rx_ftr.param;
5454 if (iq_report->packet_status == BT_HCI_LE_CTE_INSUFFICIENT_RESOURCES) {
5457 samples_cnt = MAX(1, iq_report->sample_count);
5463 rssi = RSSI_DBM_TO_DECI_DBM(iq_report->rx.rx_ftr.rssi);
5465 sep->conn_handle = sys_cpu_to_le16(iq_report->rx.hdr.handle);
5468 sep->rssi_ant_id = iq_report->rssi_ant_id;
5469 sep->cte_type = iq_report->cte_info.type;
5471 sep->data_chan_idx = iq_report->chan_idx;
5472 sep->conn_evt_counter = sys_cpu_to_le16(iq_report->event_counter);
5475 sep->slot_durations = iq_report->local_slot_durations;
5482 sep->packet_status = iq_report->packet_status;
5484 if (iq_report->packet_status != BT_HCI_LE_CTE_INSUFFICIENT_RESOURCES) {
5485 if (iq_report->sample_count == 0U) {
5490 sep->sample[idx].i = sys_cpu_to_le16(iq_report->sample[idx].i);
5491 sep->sample[idx].q = sys_cpu_to_le16(iq_report->sample[idx].q);