First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

tshark 3.4.4: Fixing flag "-o flag "wpan.802154_cc24xx:TRUE" specifies unknown preference"

I upgraded a raspberry pi system from buster to bullseye and that bumped the system from 2.X to 3.4.4.

Apparently the flag wpan.802154_cc24xx changed as I get the error:

tshark 3.4.4: Fixing flag "-o flag "wpan.802154_cc24xx:TRUE" specifies unknown preference"

So I am looking for the alternative. (I'll probably self answer this).

le_top's avatar
1
le_top
asked 2021-09-16 17:50:04 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

Changed here: Add support for IEEE 802.15.4 32-bit FCS

Looks at the preferences for IEEE 802.15.4 FCS format

Chuckc's avatar
3k
Chuckc
answered 2021-09-16 20:54:17 +0000
edit flag offensive 0 remove flag delete link

Comments

Thanks for this link, I've been preparing and validating my own answer. Not so easy to lead up to the right CLI option to add to tshark, but once I had the right flag, it was not that hard to find.

le_top's avatar le_top (2021-09-16 21:20:00 +0000) edit
add a comment see more comments
0

Wireshark's code shows:

prefs_register_obsolete_preference(ieee802154_module, "802154_cc24xx");

'git blame' helps us find the origin of this change .

Where

if (ieee802154_fcs_type == IEEE802154_FCS_OK_BIT) {
    options |= DISSECT_IEEE802154_OPTION_CC24xx;
}

Leading to the flags:

wpan.802154_fcs_ok

which I leave at its default value, and,

wpan.fcs_format

to set as

-o "wpan.fcs_format:TI CC24xx metadata"
le_top's avatar
1
le_top
answered 2021-09-16 21:12:21 +0000, updated 2021-09-16 21:16:00 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer