wireshark not dissecting the entire context of mac-nr sent over udp
To get the mac-nr decoded buffer, the context part was filled and data was sent over udp port. Wanted to decode the sf-sfn in the context part , so sent the data as below over udp
UDP data -
6d 61 63 2d 6e 72 01 01 00 02 00 00 03 00 01 04
14 20 01 29 01 84
Decoded fields
- 6d 61 63 2d 6e 72 - mac-nr
- 01 01 00 - mandatory fields are decoded fine
- 02 00 00 - rnti, since it is 0 i dont see in the capture
- 03 00 01 - ueId - header , value is 2 bytes and gets decoded as 1
- 04 14 20 -subframe header tag, sf/sfn info IS NOT GETTING DECODED at wireshark
- 01 29 01 84 - payload also is decoded fine
UDP data is filled as below
/* MAC Packet Info fileds */
statBuffer[bufOffset++] = radioType;
statBuffer[bufOffset++] = direction;
statBuffer[bufOffset++] = rntiType;
/* RNTI */
statBuffer[bufOffset++] = MAC_NR_RNTI_TAG;
tmp16 = htons(rnti);
memcpy(statBuffer+bufOffset, &tmp16, 2);
bufOffset+= 2;
/* UEId */
statBuffer[bufOffset++] = MAC_NR_UEID_TAG;
tmp16 = htons(ueid);
memcpy(statBuffer+bufOffset, &tmp16, 2);
bufOffset+= 2;
U16 subFrameSfn = (sfn << 4)|subframe;
/* Subframe number */
statBuffer[bufOffset++] = MAC_NR_SUBFRAME_TAG;
tmp16 = htons(subFrameSfn);
memcpy(statBuffer+bufOffset, &tmp16, 2);
bufOffset+= 2;
/* Actual Payload */
statBuffer[bufOffset++] = MAC_NR_PAYLOAD_TAG;
SCpyMsgFix(mBuf, (MsgLen)0, (MsgLen)len,
(Data*) (statBuffer+bufOffset), (MsgLen*)&cLen);
bufOffset += len;
The wireshark version used here to decode is 3.00, i see only till ueid the context gets decoded and the payload as well The subframe header tag seems to be fine as per the findings. Could any one help as to why it is not getting decoded or anything missing from my end .???
Please provide a capture file of this data exchange and someone may be able to tell you what's going on. You'll have to post the file somewhere else unfortunately, so maybe try Google Drive, DropBox, etc.
Please find the capture here https://drive.google.com/open?id=1Dxi...