diff --git a/epan/frequency-utils.c b/epan/frequency-utils.c index 1180835a37..1c8ebea4a3 100644 --- a/epan/frequency-utils.c +++ b/epan/frequency-utils.c @@ -39,11 +39,12 @@ typedef struct freq_cvt_s { #define FREQ_STEP 5 /* MHz. This seems to be consistent, thankfully */ +/* From "802.11 Wireless Networks: The Definitive Guide", 2nd Ed. by Matthew Gast */ static freq_cvt_t freq_cvt[] = { - { 2412, 2472, 1, TRUE }, - { 2484, 2484, 14, TRUE }, - { 5000, 5995, 0, FALSE }, - { 4920, 4995, 240, FALSE } + { 2412, 2472, 1, TRUE }, /* Table 12-1, p 257 */ + { 2484, 2484, 14, TRUE }, /* Table 12-1, p 257 */ + { 5000, 5995, 0, FALSE }, /* Table 13-1, p 289 */ + { 4920, 4995, 240, FALSE } /* Table 13-1, p 289 */ }; #define NUM_FREQ_CVT (sizeof(freq_cvt) / sizeof(freq_cvt_t)) diff --git a/epan/frequency-utils.h b/epan/frequency-utils.h index e06c2ea209..dc46612fd3 100644 --- a/epan/frequency-utils.h +++ b/epan/frequency-utils.h @@ -54,6 +54,7 @@ ieee80211_chan_to_mhz(gint chan, gboolean is_bg); gchar* ieee80211_mhz_to_str(guint freq); +/* Should this be "(freq < 4920)", or something else? */ #define FREQ_IS_BG(freq) (freq <= 2484) /*