Company Products/Technology Services News/Events Support Spacer Contact Partners Customers
English    日本語
Products Photo

Product Documentation for
Devicescape Universal Wireless Platform

Documentation Home for Devicescape Universal Wireless Platform | Package Guide

Package GuidePreviousNextIndex

 


broadcom-wl-drv package

Information on this package is covered here.

Package
Description
License
broadcom-wl-drv
Devicescape proprietary Broadcom driver used by the IEEE80211 package.

Summary

The Broadcom wireless driver supports both BCM4306 mini-PCI and the BCM471x system-on-a-chip (SoC) radios. This is a monolithic driver that does not use the Devicescape IEEE 802.11 protocol stack module.

In addition to the basic IEEE 802.11 features, this driver supports the following extensions:

This driver can be used in both access point and client solutions.

Usage

Start/Stop Options

Use the following commmands to control the Broadcom driver on the target device.

Action
Command
Start
/etc/init.d/broadcom-wl-drv start
Restart
/etc/init.d/broadcom-wl-drv restart

There are no configuration options for this initialization script.

Runtime Configuration

The Broadcom driver (wl.o) is primarily configured using hostapd (hostapd package) or wpa_supplicant (wpa_supplicant package). It can also be configured using Broadcom's wl command line utility (broadcom-wl package).

Access Point Configuration

The Broadcom driver is not yet fully integrated into hostapd driver interface (driver_broadcom.c), so the Broadcom user space tool, wl, is needed for some part of the Access Point configuration. The hostapd connfiguration (described in hostapd package) is mainly used to set up parameters for IEEE 802.1X and WPA state machines. More "lower level" IEEE 802.11/radio configuration uses wl.

Before starting hostapd, the Broadcom driver must be configured to access point mode with:

wl -i eth1 ap 1

Notes
  • For a Broadcom bridge interface you must add the following line in the hostapd.conf file:
    bridge=<BridgeName> (for example, bridge=br0). Whereas in the Atheros driver, creating the bridge (in an interfaces file or via command ine) is enough.
  • When using the Broadcom driver, you must add a the following line in the hostapd.conf file:
    driver=broadcom.

The sections below provide information on what is and is not supported for this driver, and what to use to configure supported options (Broadcom wl or hostapd.conf):

hostapd.conf Options Requiring External Configuration with Broadcom wl

The following table shows configuration options that the current version of hostapd cannot configure directly on Broadcom. The hostapd option and counterpart Broadcom wl command is shown. Use the Broadcom wl command line to configure these features. (For complete information on Broadcom wl see documentation on broadcom-wl package.)

hostapd Configuration Option
Broadcom wl Configuration
adm_status
wl -i eth1 radio <on/off>
WLC_SET_RADIO:
WL_RADIO_SW_DISABLE (1<<0)
WL_RADIO_HW_DISABLE (1<<1)
cts_protection_type
To disable (0) or enable (1) CTS protection:
wl -i eth1 gmode_protection_cts <0/1>
force_unicast_rate
wl -i eth1 rate <rate>
Where rates are in note: rate in Mbps
macaddr_acl
accept_mac_file
deny_mac_file
wl -i eth1 macmode <0/1/2>
Where:
0 = disable MAC address matching
1 = deny association with stations on MAC list
2 = allow association only with station on MAC list
preamble
wl -i eth1 plcphdr <long/auto>
WLC_SET_PLCPHDR:
WLC_PLCP_AUTO (-1),
WLC_PLCP_SHORT (0),
WLC_PLCP_LONG (1)
supported_rates
basic_rates
wl -i eth1 rateset <Default/All/ArbitraryRateset>
Where rate set is a space-separated list of rates in Mbps.
tx_power_reduction
tx_power_adjustment
wl -i eth1 txpwr <TX_Power_in_mW>
For example:
wl -i eth1 txpwr 16
wds,
wds_remote_addr
wds_wep_key
wl -i eth1 wds xx:xx:xx:xx:xx:xx [xx:xx:xx:xx:xx:xx ...]

hostapd.conf Options Supported in the Broadcom Driver

The following options can be configured using hostapd.conf and will be supported in the Broadcom driver. (See hostapd package.)

Supported hostapd Option
ieee80211d
acct_server_*
allow_non_wpa
antenna_mode
antenna_sel
auth_server_*
beacon_int
bridge
bridge_packets
channel
country_code
dtim_period
debug
dump_file
driver=broadcom
eap_message
eapol_key_index_workaround
fragm_threshold
hw_mode
iapp_interface
ieee802_11f
ieee8021x
ignore_broadcast_ssid
interface
key_monitor_addr
key_monitor_port
layer2_update
logger_syslog
logger_syslog_level
logger_stdout
logger_stdout_level
minimal_eap
own_ip_addr
radius_failover_limit, radius_retry_primary_interval
reg_domain_filename
rsn_preauth
rsn_preauth_interface
rts_threshold
ssid
wep_key*
wep_default_key
wep_key_len_broadcast
wep_key_len_unicast
wep_rekey_period
wpa,
wpa_gmk_rekey
wpa_group_rekey
wpa_pairwise_cipher
wpa_plaintext_eapol_start_workaround
wpa_poll_interval
wpa_use_psk
wpa_psk_hex
wpa_psk_ascii
wpa_tkip_ccmp_workaround

hostapd/80211.o Features Not Supported by Broadcom wl.o

The following hostapd options do not have matching Broadcom wl commands. In most cases, this is because the feature is not supported by wl. In a few cases (as indicated), there may be a counterpart wl command but we have not yet identified it.

Feature
Option
auth_algs
(wl command unknown)
Broadcast/Multicast Rate Limit
rate_limit
rate_limit_burst
Channel and Channel Policy
(Auto channel selection: non-zero)
channel_policy
atheros_super_ag
load_balance_*
stat_time
tx_fail_percentage_limit
tx_fail_interval
max_num_sta
(wl command unknown)
max_ratectrl_rate
assoc_min_rate
bss
multi_*
vlan
security_policy
tx_queue_*, wme_ac_*
(wl command unknown)
Rogue Detection (passive scanning)
passive_scan_*
ap_table_
*
ap_max_inactivity,
inactivity_policy (wl command unknown)
key_tx_rx_threshold

Client Configuration

If you are configuring a client device (wpa_supplicant), you will set most options in wpa_supplicant.conf (see Runtime Configuration (wpa_supplicant.conf) of wpa_supplicant package documentation). However, the following driver-specific options must be configured in the driver. For the Broadcom driver, use wl to configure these options.

(The following wl options and examples are shown here for convenience. For complete information on wl configuration options, see broadcom-wl package of broadcom-wl-drv package documentation.)

Wi-Fi Multimedia Extensions

The interface must be down (iconfig eth1 down) when changing the Wi-Fi Multimedia (WMM) configuration.

WMM extensions are disabled by default.

To enable WMM extensions:

wl -i eth1 wme 1

To disable WMM extensions:

wl -i eth1 wme 0

Country/Regulatory Domain

The interface must be down (iconfig eth1 down) when changing country configuration.

To set country to United States:

wl -i eth1 country US

Wireless Monitor Mode (Sniffer)

To set the client to monitor mode:

wl -i eth1 monitor 1
iwconfig eth1 channel 6

Note
The Broadcom driver adds a new network interface, prism0, for the monitor mode. This interface must be used (instead of eth#) when configuring tcpdump or Ethereal.

Debugging

Refer to the broadcom-wl package for ways to get information about the current state of the driver.

Building the Package

Follow standard instructions for building kernel modules in the Devicescape Developer Guide topic on "Building the Packages", see subtopic: "Building a Kernel Module from a Source RPM"

Licensing

Broadcom

Related Packages

Required

None

Suggested

broadcom-wl package

hostapd package

wpa_supplicant package

Package GuidePreviousNextIndex