First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

What is the formula to calculate the values of my I and Q in IQ packets?

Hi all, I need to know how we calculate the IQ values of our captured packets. In my case, 5g nr packets with no compression is used.

pavetran's avatar
1
pavetran
asked 2023-05-25 05:15:12 +0000
edit flag offensive 0 remove flag close merge delete

Comments

You are talking about ORAN FH-CUS?

MartinM's avatar MartinM (2023-05-27 09:42:32 +0000) edit
add a comment see more comments

1 Answer

0

Assuming that it is, here is the relevant function from epan/dissectors/packet-oran.c

/* Special case for uncompressed/16-bit value */

static float uncompressed_to_float(guint32 h)

{

gint16 i16 = h & 0x0000ffff;

return ((float)i16) / 0x7fff;

}

MartinM's avatar
197
MartinM
answered 2023-05-27 21:27:15 +0000, updated 2023-05-27 21:28:05 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer