Ask Your Question
0

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

asked 2021-09-16 17:50:04 +0000

le_top gravatar image

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).

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-09-16 21:12:21 +0000

le_top gravatar image

updated 2021-09-16 21:16:00 +0000

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"
edit flag offensive delete link more
0

answered 2021-09-16 20:54:17 +0000

Chuckc gravatar image

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

Looks at the preferences for IEEE 802.15.4 FCS format

edit flag offensive delete link more

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 gravatar imagele_top ( 2021-09-16 21:20:00 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-09-16 17:50:04 +0000

Seen: 68 times

Last updated: Sep 16