This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hi, I want to see detail PHY info which is given in structure mac_lte_info in packet-mac-lte.h.

But I came to know that in packet-mac-lte.c : In function it's by default disable. I want to use it, is it any other way?

gboolean dissect_mac_lte_context_fields(struct mac_lte_info  *p_mac_lte_info, tvbuff_t *tvb,
                                        gint *p_offset)
{
    gint    offset = *p_offset;
    guint8  tag = 0;

    /* Read fixed fields */
    p_mac_lte_info->radioType = tvb_get_guint8(tvb, offset++);
    p_mac_lte_info->direction = tvb_get_guint8(tvb, offset++);

    /* TODO: currently no support for detailed PHY info... */
    if (p_mac_lte_info->direction == DIRECTION_UPLINK) {
        p_mac_lte_info->detailed_phy_info.ul_info.present = FALSE;
    }
    else {
        p_mac_lte_info->detailed_phy_info.dl_info.present = FALSE;
    }

    p_mac_lte_info->rntiType = tvb_get_guint8(tvb, offset++);

    /* Initialize RNTI with a default val
    ...

asked 11 Feb '14, 03:21

Rajeev's gravatar image

Rajeev
16114
accept rate: 0%

edited 11 Feb '14, 03:22

grahamb's gravatar image

grahamb ♦
19.8k330206


Since 22nd December last year support was added for detailed PHY info. See https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9de6aa86197063a9e56f824217e727eb80b363cb

permanent link

answered 11 Feb '14, 03:31

MartinM's gravatar image

MartinM
16717
accept rate: 33%

Hi Martin, Thanks for reply. Yes carrier Id is working Fine. By your given reference i can still see same in packet-mac-lte.c
/ TODO: currently no support for detailed PHY info... / if (p_mac_lte_info->direction == DIRECTION_UPLINK) { p_mac_lte_info->detailed_phy_info.ul_info.present = FALSE; } else { p_mac_lte_info->detailed_phy_info.dl_info.present = FALSE; } Or, am i doing something wrong ?

(11 Feb '14, 03:46) Rajeev
1

Rajeev, that comment/TODO is no longer in that version of the code at that revision onwards. Do you maybe have a svn/git conflict to resolve?

(11 Feb '14, 04:50) MartinM
1

As can be seen around line 1817- of the current version of the file HERE.

(11 Feb '14, 05:20) grahamb ♦

Thank You Martin & Graham.

(11 Feb '14, 06:26) Rajeev

@Rajeev

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(11 Feb '14, 06:51) grahamb ♦

Hi Martin

I am using Wireshark Version 1.10.5, Released on 19-Dec-2013. And In released source code version wireshark-1.10.5 "\epan\dissectors\packet-mac-lte.c", code is not updated accordingly link given by Graham. Need to updated.

Please follow the link provided by Graham. Line 1896 : case MAC_LTE_PHY_TAG: -- is not included in wireshark-1.10.5.

Thank You

(11 Feb '14, 21:10) Rajeev
1

You need to take a 1.11.X development build as this code is not part of the stable 1.10.X branch. See http://www.wireshark.org/develop.html for the various options to get the development branch source code.

(12 Feb '14, 01:40) Pascal Quantin
showing 5 of 7 show 2 more comments
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×5

question asked: 11 Feb '14, 03:21

question was seen: 868 times

last updated: 12 Feb '14, 16:45

p​o​w​e​r​e​d by O​S​Q​A