Wireshark-dev: Re: [Wireshark-dev] Exposing ieee802.11 reason codes outside of dissect-ieee8021
From: Richard Sharpe <[email protected]>
Date: Fri, 8 Mar 2019 07:52:01 -0800
On Thu, Mar 7, 2019 at 11:11 PM Jaap Keuter <[email protected]> wrote:
>
> Hi Richard,
>
> It’s not ideal, but not unheard of, so I don’t see why it can’t be done here.
>
> Thanks,
> Jaap
>
> > On 8 Mar 2019, at 04:32, Richard Sharpe <[email protected]> wrote:
> >
> > Hi folks,
> >
> > One of the other specs, IEEE1905 refers to the reason codes defined in
> > table 9-45 of IEEE802.11.
> >
> > The easiest way to deal with that is to make it non-static in
> > packet-ieee80211.c.
> >
> > Does anyone know of a better way? I need to refer to it in a header field array.

One way might be to register those things and then have a way of
finding them in a dissector. However, that is more infrastructure than
I want to invest in at the moment.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)