* Questions about mac80211 settings
@ 2007-08-05 22:59 Larry Finger
0 siblings, 0 replies; only message in thread
From: Larry Finger @ 2007-08-05 22:59 UTC (permalink / raw)
To: wireless
In net/mac80211/regdomain.c, the following structure and data values are entered:
struct ieee80211_channel_range {
short start_freq;
short end_freq;
unsigned char power_level;
unsigned char antenna_max;
};
static const struct ieee80211_channel_range ieee80211_fcc_channels[] = {
{ 2412, 2462, 27, 6 } /* IEEE 802.11b/g, channels 1..11 */,
{ 5180, 5240, 17, 6 } /* IEEE 802.11a, channels 36..48 */,
{ 5260, 5320, 23, 6 } /* IEEE 802.11a, channels 52..64 */,
{ 5745, 5825, 30, 6 } /* IEEE 802.11a, channels 149..165, outdoor */,
{ 0 }
};
Is the "power_level" here supposed to be the power setting in dBm? If so, where do these numbers
come from? The FCC regulations call for 20 dBm for the 2.4 GHz band, and 23, 30, and 36 dBm for the
3 A bands.
The driver passes a set of channels, power levels and antenna values in the call to
ieee80211_register_hwmode. These power settings seem to be discarded. Why? Shouldn't they overwrite
the values defined above?
These power settings are of interest because driving the BCM4311 device at its maximum of 18.5 dBm
severly cuts the performance at high data rates with the AP nearby. It probably causes distortion of
the output.
Larry
Larry
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-05 22:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-05 22:59 Questions about mac80211 settings Larry Finger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).