forked from osmocom/wireshark
Cite the source of frequency allocation information.
svn path=/trunk/; revision=24538
This commit is contained in:
parent
2c4c5a086b
commit
8e0bae388f
|
@ -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))
|
||||
|
|
|
@ -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)
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue