Wiki Navigation

MadWifi

MadWifi is short for Multiband Atheros Driver for Wireless Fidelity. In other words: it is a Linux kernel device driver for Atheros-based Wireless LAN devices. The driver works such that your WLAN card will appear as a normal network interface in the system. Additionally there is support for the Wireless Extensions API. This allows you to configure most aspects of the device using common wireless tools (ifconfig, iwconfig and friends).

License

This driver is provided under a dual license, three-clause BSD and GPL v2. The binary HAL, however, is distributed under a proprietary license and as closed-source only and thus will taint the kernel.

Features

MadWifi is one of the most advanced drivers for WLAN devices on for Linux today, with a wide set of features.

Hardware

Almost all of the currently available Atheros WLAN chipsets are supported, including the "System on Chip" designs. The compatibility list provides information about devices that users reported (mis)success for.

Operational Modes

The following operational modes are supported:

sta

Station, a.k.a. infrastructure or managed. This device acting as typical WLAN client station. This is the default mode if not otherwise specified.

ap

Access Point, a.k.a. master. This device acts as the Access Point for other WLAN client stations.

adhoc

Ad-hoc. a.k.a. IBSS mode. This device is in a peer-to-peer(s) WLAN without the need for an Access Point.

Multi-BSSID

MadWifi allows to run several virtual Access Points on a single card, by introducing the so called Virtual Access Points (VAP). VAPs sit on top of a base device (usually called wifi0), representing virtual WLAN devices that (despite their name) can be used in different other modes. That way a single WLAN card can connect to an Access Point while at the same time acting as Access Point for other stations. Other combinations of operational modes are possible as well.

To manipulate VAPs, MadWifi comes with a tool called wlanconfig which is used to create and destroy VAPS with various different modes.

Super A/G

Atheros has introduced a set of (proprietary) features that have been designed to increase throughput and achievable distance, including frame aggregation, jumbo frames, on-the-fly data compression and channel bonding. Please refer to this page for details.

Status

MadWifi has been declared legacy, in response to our commitment to ath5k. In the long run ath5k will replace MadWifi. For the time being MadWifi will still be supported, bugs will get fixed and HAL updates will be applied where possible. But it becomes unlikely that we'll see new features or go through major changes on that codebase.

The driver is mature and stable, though, and works well for most users. For now you should choose MadWifi if you depend on solid WLAN support. But we also encourage all interested users to give ath5k a try.