diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-07-05 19:05:52 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-07-06 02:07:08 +0000 |
commit | a7ac6cf0484611867aae51891ad72d49c0739e6f (patch) | |
tree | 8d6a5ef54249ee1a59a823e5aa982ac97bb9f703 /wiretap | |
parent | 94eb30ab044858581a60c3ecc2a8555b6c426d31 (diff) |
Stub out the US public safety band.
OK, anybody know how to convert a frequency between 4.9 GHz and 5.0 GHz
into a channel number, in a fashion that handles what's actually used in
both the US and Japan?
Change-Id: I95f4f9649e379b3d6651aadf8f62d8406b81b3b3
Reviewed-on: https://code.wireshark.org/review/9511
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/commview.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wiretap/commview.c b/wiretap/commview.c index c852709f29..3d773669a2 100644 --- a/wiretap/commview.c +++ b/wiretap/commview.c @@ -221,6 +221,15 @@ commview_read_packet(FILE_T fh, struct wtap_pkthdr *phdr, Buffer *buf, frequency = ieee80211_chan_to_mhz(cv_hdr.channel, TRUE); break; + case BAND_PUBLIC_SAFETY: + /* + * XXX - what do we do here? What are the channel + * numbers? How do we distinguish the several + * different flavors of 4.9 GHz frequencies? + */ + frequency = 0; + break; + default: frequency = 0; break; |