ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-users: Re: [Wireshark-users] Help on MAC-LTE Decoder

From: Madhur Raj N <madhurrajn@xxxxxxxxx>
Date: Tue, 29 Jun 2010 21:30:51 +0530
Yes, I was using older version of packet-mac-lte.h. I had redefined as it was not defined there. The old version had ID.
$Id: packet-mac-lte.h 28342 2009-05-13 09:36:42Z martinm $

With the new .h file it is working. Thanks a lot for your quick help.

Madhur

On 29 June 2010 20:40, Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx> wrote:
I see in your file that the PDUs logged don't have the "mac-lte" prefix.

You redefined MAC_LTE_START_STRING to be "" in the logger program...  Isn't it supposed to #include "pack
et-mac-lte.h"?
The definitions used in that program need to match wireshark, otherwise the header inside the UDP frame won't be dissected correctly...

Martin


On Tue, Jun 29, 2010 at 2:44 PM, Madhur Raj N <madhurrajn@xxxxxxxxx> wrote:
Attach mac-lte-logger.c. Missed in last email.


On 29 June 2010 19:08, Madhur Raj N <madhurrajn@xxxxxxxxx> wrote:
Hi Martin,

        Thanks for the quick response. I have enabled heuristic MAC-LTE over UDP framing, as you have already mentioned in one of the previous list emails. under edit->preference->protocol->mac-lte.  I am hereby attaching the pcap file, which I am trying to decode. Please let me know, if anything is missing.

I am using wireshark version 1.3.5.

Regards,
Madhur


On 29 June 2010 18:46, Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx> wrote:


On Tue, Jun 29, 2010 at 1:57 PM, Madhur Raj N <madhurrajn@xxxxxxxxx> wrote:
Hi,

      I am trying to use  MAC-LTE packet dissector on the eNodeB side. Currently I am finding difficulty in using it. I have gone through many of your support site but things are not looking good at my side.

This is what I have tried.
1. I do not have any catapult DCT2000. Hence I can not capture files in .out format.
2. I am using UDP packets to carry MAC-LTE frames.

OK, did you check the MAC-LTE protocol preference 'Try Heuristic MAC-LTE over UDP framing"?
 
3. As I can not decode the packets, I have added handler to get the option for " Decode As" inside proto_reg_handoff_mac_lte() function. With this I am able to find the "Decode As" option for MAC-LTE. But whence i try to decode, I am thrownwith following error:
        "Can't dissect LTE MAC frame because no per-frame info was attached!"


The heuristic dissector parses the header, populates a struct with the given info and attaches it to the frame (for mac-lte).
If the heuristic dissector didn't match the frame, p_get_proto_data won't contain a filled-in struct.
 
Can you please help me, as why "p_get_proto_data" is throwing error.
4. Currently to bring up the setup, I am using the sample program "mac_lte_logger.c" file given at wireshark site to generate the packets.

Can you please also let me know any list where I can paste, it might be helpful for others too.

If you've tried the preference setting I mentioned above and its still not working, could you send me the captured file and I'll see what is going wrong with it?

Regards,
Martin
 

Regards,
Madhur

___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
            mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe


___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
            mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe



___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
            mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe


___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
            mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe