Ask Your Question
0

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

asked 2023-05-25 05:15:12 +0000

pavetran gravatar image

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.

edit retag flag offensive close merge delete

Comments

You are talking about ORAN FH-CUS?

MartinM gravatar imageMartinM ( 2023-05-27 09:42:32 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-27 21:27:15 +0000

MartinM gravatar image

updated 2023-05-27 21:28:05 +0000

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;

}

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2023-05-25 05:15:12 +0000

Seen: 1,367 times

Last updated: May 27 '23