Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6973] Add a new toolbar for channel setting on nl80211 wir

Date: Tue, 19 Jun 2012 14:27:07 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973

--- Comment #20 from Pontus Fuchs <pontus.fuchs@xxxxxxxxx> 2012-06-19 14:27:07 PDT ---
(In reply to comment #18)
> Hi,
> I have committed some of the changes to make a generic wireless toolbar.
> 
> The next step in my opinion would be to change main_airpcap_toolbar.c to
> main_wireless_toolbar.c and make the "selection" there perhaps some code
> can be commonly used by the different backends?
> If that is not possible wireless_tb in main.c should be "filled" by the
> respective backend I think.

Ok. Do you mean something like this?

main_wireless_tb.c | h - interface, common code
main_wireless_tb_airpcap.c - airpcap tb. Compiled if airpcap detected.
main_wireless_tb_ws80211.c - ws80211 tb. Compiled if airpcap not detected.

In the future we can try to unify into a single GUI and refactor all the OS
specific parts into a single back end API.

Too bad I have no airpcap or windows environment so it kinda hard for me to do
the heavy lifting myself...

Please note that the code in main_80211_toolbar.c is already OS independent.
Only the code in ws80211.c is OS specific.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.