Wireshark mailing list archives

Re: Is there some reasonable way to split up epan/dissectors/packet-ieee80211.c into smaller files?


From: Richard Sharpe <realrichardsharpe () gmail com>
Date: Fri, 3 Dec 2021 11:46:17 -0800

On Thu, Dec 2, 2021 at 11:12 PM Alexis La Goutte
<alexis.lagoutte () gmail com> wrote:

Hi Richard,

yes, ieee802.11 dissector is big...
do you have some idea how to split ?

Here is a thought, but it does not handle everything.

Each new version of the Wi-Fi spec (which is now around 4000+ pages in
size) introduces new IEs and new this and new that.

Currently, IEs are handled via a dissector table but extended IEs are
not handled via a dissector table and Categories are not handled via a
dissector table.

If more of these sort of things were handled via dissector tables,
then we could separate the Wi-Fi 6 and Wi-Fi 7 and Wi-Fi 99 additions
into separate files, for the most part.

Perhaps we would need a mechanism for Wi-Fi X+1 to override some parts
of Wi-Fi X as well, but I have no idea how to handle that for the
moment.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: