Search Linux Wireless

Questions about mac80211 settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux