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

Support for detailed PHY info(DL/UL)

0

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
...</code></pre></div><div id="question-tags" class="tags-container tags"><span class="post-tag tag-link-mac-lte" rel="tag" title="see questions tagged &#39;mac-lte&#39;">mac-lte</span></div><div id="question-controls" class="post-controls"></div><div class="post-update-info-container"><div class="post-update-info post-update-info-user"><p>asked <strong>11 Feb '14, 03:21</strong></p><img src="https://secure.gravatar.com/avatar/4091871c463c530445ea51fd3886f2e2?s=32&amp;d=identicon&amp;r=g" class="gravatar" width="32" height="32" alt="Rajeev&#39;s gravatar image" /><p><span>Rajeev</span><br />

16114
accept rate: 0%

edited 11 Feb ‘14, 03:22

grahamb's gravatar image

grahamb ♦
19.8k330206


One Answer:

1

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

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