pub/scm/linux/kernel/git/backports/compat-wireless-2.6-old.git  about / heads / tags
Historical - v2.6.30 - v3.6 work
$ git log --pretty=format:'%h %s (%cs)%d'
9972065 WTF: Bail out if CONFIG_MAC80211_QOS is enabled on 2.6.23..2.6.26 (2009-01-29)
	(HEAD -> master)
2badec7 Adds USB Atheros ar9170 for kernels >= 2.6.24 .. 2.6.26 (2008-12-15)
cd7615b Allow compilation on 2.6.22 (2008-09-26)
110052d Fix wrong cast to ieee80211_local (2008-09-26)
4d6306a add functions needed by new iwlwifi driver for older kernel versions (2008-09-15)
da12e10 Update for new drivers and deletion of unused config options (2008-09-15)
0b0b33e ath5k compat patches for older kernels (2008-09-15)
f9d4ff6 Backport: mac80211: share sta_info->ht_info (2008-09-15)
21bc35a Backport: mac80211: pass dtim_period to low level driver (2008-09-15)
95c10bc Backport: mac80211: make listen_interval be limited by low level driver (2008-09-15)

$ git cat-file blob HEAD:README

Linux Wireless compatibility package

This is a Linux wireless compatibility package which provides the latest
Linux wireless subsystem enhancements for kernels 2.6.22 and above. We provide
compatibility support since 2.6.22 as that is when mac80211 was introduced
onto the stock kernel. This adds mac80211, mac80211 drivers, and any new 
full MAC driver which has had fairly recent updates worth getting such as 
libertas, ipw2100 and ipw2200.

If you'd like to keep the wireless-testing git repository local as well,
please read out git-guide which explains how to achieve this:

With a local git repository you can update the compatibility package yourself. 
For more information on how to do this please refer the Developers section below.


This package is also documented online and probably has more-up-to date
information online than on this README file.

Where to get the latest

This package lets you build your own 'latest', all you need is a local git repository
checkout of wireless-testing.git. However since not many users are expected to keep
a local git repository of wireless-testing we provide daily snapshots of this
package + the wireless subsystem code. You can find the latest snapshot at:

Building, and installing

Build: build the latest linux wireless subsystem



We use the updates/ directory so your distribution's drivers are left intact.

	sudo make install


This nukes our changes to updates/ so you can go back to using your
distribution's supported drivers.

	sudo make uninstall


If you know what module you need you can simply load the module using modprobe.
Note that if you are loading a mac80211 driver you must unload your current
mac80211 drivers as you have a new one to replace it with. Note also that 
broadcom, zydas, and atheros devices have old legacy drivers which
you need to be sure are removed first. We provide a mechanism to unload all
old drivers and also load all new drivers if you are not sure what you are

So, if you simply are not sure you can use:

	sudo make load

This unloads your old wireless subsystem drivers and loads the new
shiny ones. For example if ipw3945 and its proprietary daemon are found
it'll be stopped and the module unloaded and then iwl3945 will be loaded.
If you are simply upgrading a mac80211 driver this will unload
the old one and the old mac80211 drivers and load the new ones.


This is the list of drivers this package provides. It adds
all new drivers or drivers which keep being updated which you might
be interested in.

libertas_cs (Libertas)
ub8xxx      (Libertas)
rt2400pci (rt2x00)
rt2500pci (rt2x00)
rt2500usb (rt2x00)
rt61pci	  (rt2x00)
rt73usb	  (rt2x00)
rtl8180	(Realtek)
rtl8187	(Realtek)

Known issues

* Strange wireless device names:

On Ubuntu and Fedora you may end up with strange network device names,
for example, wlan0_rename. This is a known issue and will be worked on.

* nl80211:

Kernels <= 2.6.22 now get nl80211 support, however, genl_multicast_group
won't work. This compatibility cannot be extended to older
kernels as the struct genl_family was extended on 2.6.23 to add
the struct list_head mcast_groups.

* b43:

b43 and b43legacy now loads. Since there was an old softmac broadcom driver 
we provide a load script for this driver. To load the new generation 
drivers (b43 and b43legacy) you can run:

	sudo b43load b43

To revert back to bcm43xx you can run:

	sudo b43load bcm43xx

* MadWifi:

If MadWifi is present the build system will detect this and disable it. It 
does this by simply renaming ath_pci.ko to ath_pci.ko.ignore. This lets us
disable the MadWifi driver without blacklisting it which could cause issues
with users later. If you would like to enable MadWifi at a later time and
disable ath5k you can run:

	sudo athload madwifi

To revert back to ath5k you can run:

	sudo athload ath5k

* prism54, p54pci, p54usb?

We don't provide prism54 in this package because distributions already provide 
it. p54 is its replacement. prism54 works only with full MAC cards. p54 works
with both full MAC and soft MAC cards. p54 just doesn't yet support ad-hoc,
and AP mode. Should prism54 get any new updates we'll start packaging it here.

* What about net/ieee80211/softmac/ and their drivers?

Documentation/feature-removal-schedule.txt is being updated to
mark this for removal. Here is the relevant text:

What:  iee80211 softmac wireless networking component
When:  2.6.26 (or after removal of bcm43xx and port of zd1211rw to mac80211)
Files: net/ieee80211/softmac
Why:   No in-kernel drivers will depend on it any longer.
Who:   John W. Linville <>

* Firmware:

If your driver needs firmware please be sure to check the driver page
for that driver here:


For users or developers stuck on older kernels that want to help test or 
patch wireless work. Additionally if you're on a recent kernel this lets
you get the latest and greatest wireless-testing git work without much effort.
This may mean new drivers for some users. Last but not least we hope this
will encourage vendors and developers to post patches upstream first
rather than forking or maintaining their own mac80211 releases with
their own patches for their own drivers.

How about compatibility work for kernels < 2.6.22 ?

Sure, feel free to send patches. The main work was designed to support 
kernels >= 2.6.22 as that was when mac80211 was introduced.

Building for external kernels

If you have a kernel you do not have installed but yet want to build the
compat-wireless-2.6 drivers for it you can use this syntax:

make KLIB=/home/mcgrof/kernels/linux- KLIB_BUILD=/home/mcgrof/kernels/linux-


If you've found a bug please report it to our linux-wireless mailing list:

Report the bug because you are working with the latest and greatest.
If your bug is compatibility-related then we should still try to fix
it within the compat.[ch] work.


Here you see the list of changes to all wireless drivers, the wireless core and mac80211.;a=log;

This views all the changes on the 'everything' branch of wireless-testing.git.


This work is a subset of the Linux kernel as such we keep the kernel's
Copyright practice. Some files have their own copyright and in those
cases the license is mentioned in the file. All additional work made
to building this package is licensed under the GPLv2.


Compatibility work goes into compat/compat.[ch]. If using those files do 
not suffice additional actual code changes can go into compat/compat.diff.

If you have your own wireless-testing git tree, before running
be sure to set your GIT_TREE variable. For example:

export GIT_TREE=/home/mcgrof/wireless-testing/

scripts/		- Cleans the compat-wireless-2.6 tree
scripts/		- Updates compat-wireless-2.6 with your git tree
scripts/	- Does the above two


* Compatibilty work for 2.6.18 --> 2.6.21
* Dialog (make menuconfig) option for this package 

Patches for compatibility work

Please send patches against:


To: Luis R. Rodriguez <>
Subject: [PATCH] compat-2.6: add driver foo

Patches for drivers

If you'd like to send patches for a driver though you can send it using our 
Submitting Patches guideline:

# heads (aka `branches'):
$ git for-each-ref --sort=-creatordate refs/heads \
	--format='%(HEAD) %(refname:short) %(subject) (%(creatordate:short))'
* master       WTF: Bail out if CONFIG_MAC80211_QOS is enabled on 2.6.23..2.6.26 (2009-01-29)

# tags:
$ git for-each-ref --sort=-creatordate refs/tags \
	--format='%(refname:short) %(subject) (%(creatordate:short))'
# no tags, yet...

# associated public inboxes:
# (number on the left is used for dev purposes)
        234 linux-wireless
         61 lkml
         50 netdev
         11 linux-arch
          6 linux-devicetree
          6 stable
          6 ath9k-devel
          5 qemu-devel
          4 u-boot
          3 linux-arm-msm
          3 xen-devel
          3 linux-arm-kernel
          3 linuxppc-dev
          3 git
          3 dri-devel
          3 linux-i2c
          2 linux-mtd
          2 linux-xfs
          2 linux-nfs
          2 linux-fsdevel
          2 linux-amlogic
          2 linux-mm
          2 linux-media
          2 linux-mips
          2 linux-btrfs
          2 linux-ext4
          2 dpdk-dev
          2 linux-leds
          2 linux-f2fs-devel
          2 kvm
          2 linux-m68k
          2 backports
          2 linux-mmc
          2 amd-gfx
          2 linux-omap
          2 linux-spi
          2 linux-can
          2 openbmc
          2 linux-cxl
          2 kernel-janitors
          2 linux-staging
          2 openembedded-devel
          2 kexec
          2 qemu-riscv
          2 reiserfs-devel
          2 lm-sensors
          1 linux-samsung-soc
          1 linux-fscrypt
          1 cocci
          1 linux-block
          1 linux-riscv
          1 linux-nvme
          1 live-patching
          1 bpf
          1 linux-mediatek
          1 linux-crypto
          1 linux-efi
          1 linux-acpi
          1 netfilter-devel
          1 linux-integrity
          1 linux-edac
          1 linux-cifs
          1 linux-erofs
          1 linux-nvdimm
          1 linux-iommu
          1 linux-snps-arc
          1 fstests
          1 linux-pm
          1 linux-hwmon
          1 linux-rtc
          1 linux-input
          1 alsa-devel
          1 linux-scsi
          1 kvmarm
          1 driverdev-devel
          1 linux-usb
          1 linux-renesas-soc
          1 linux-kselftest
          1 selinux
          1 kernel-hardening
          1 linux-clk
          1 linux-iio
          1 linux-gpio
          1 dmaengine
          1 linux-rdma
          1 linux-next
          1 linux-parisc
          1 linux-security-module
          1 linux-pci
          1 linux-modules
          1 kernelnewbies
          1 linux-rt-users
          1 linux-bluetooth
          1 linux-sgx
          1 linux-ide
          1 linux-serial
          1 linux-watchdog
          1 linux-trace-devel
          1 linux-hyperv
          1 workflows
          1 rcu
          1 linux-i3c
          1 util-linux
          1 linux-spdx
          1 linux-wpan
          1 ksummit-discuss
          1 wireguard
          1 io-uring
          1 linux-kernel-mentees
          1 linux-doc
          1 linux-csky
          1 linux-man
          1 intel-gfx
          1 tpmdd-devel
          1 linux-unionfs
          1 linux-firmware
          1 linux-api
          1 cip-dev
          1 linux-audit
          1 linux-remoteproc
          1 linux-dash
          1 linux-bcache
          1 linux-sparse
          1 mm-commits
          1 linux-pwm
          1 linux-tegra
          1 lttng-dev
          1 virtualization
          1 linux-kbuild
          1 linux-fpga
          1 ceph-devel
          1 containers
          1 linux-rockchip
          1 linux-raid
          1 xdp-newbies
          1 platform-driver-x86
          1 phone-devel
          1 linux-hardening
          1 dash
          1 dm-devel
          1 keyrings
          1 linux-fbdev
          1 linux-sctp
          1 linux-perf-users
          1 target-devel
          1 lustre-devel
          1 linux-sh
          1 soc
          1 ocfs2-devel
          1 rust-for-linux
          1 ath10k
          1 ath11k
          1 nouveau
          1 linux-phy
          1 linux-s390
          1 sparclinux
          1 linux-sunxi
          1 mptcp
          1 linux-coco
          1 regressions
          1 ksummit
          1 b43-dev
          1 nvdimm
          1 linux-nfc
          1 linux-bcachefs
          1 buildroot
          1 ntfs3
          1 llvm
          1 fio
          1 iwd
          1 ell
          1 ofono
          1 ltp
          1 yocto
          1 yocto-meta-freescale
          1 openembedded-core
          1 yocto-toaster
          1 yocto-meta-arm
          1 yocto-docs
          1 bitbake-devel
          1 linux-patches
          1 yocto-meta-virtualization
          1 chrome-platform
          1 ntb
          1 yocto-meta-ti
          1 yocto-meta-arago
          1 outreachy
          1 xenomai
          1 damon
          1 asahi
          1 openrisc
          1 intel-wired-lan
          1 loongarch
          1 imx
          1 ath12k
          1 b4-sent
          1 linux-trace-kernel
          1 oe-linux-nfc
          1 oe-kbuild-all
          1 oe-chipsec
          1 batman
          1 intel-xe
          1 linux-um
          1 virtio-dev
          1 virtio-comment
          1 v9fs
          1 ecryptfs
          1 poky
          1 linux-ia64
          1 cluster-devel
          1 grub-devel
          1 kbd
          1 autofs
          1 cpufreq
          1 dccp
          1 cgroups
          1 devicetree-spec
          1 devicetree-compiler
          1 initramfs
          1 kvm-ppc
          1 hail-devel
          1 kvm-ia64
          1 linux-8086
          1 kernel-testers
          1 linux-alpha
          1 linux-btrace
          1 linux-embedded
          1 linux-hams
          1 linux-hexagon
          1 linux-hotplug
          1 linux-laptop
          1 linux-sound
          1 trinity
          1 linux-metag
          1 linux-x25
          1 linux-nilfs
          1 lvs-devel
          1 netfilter
          1 linux-oxnas
          1 u-boot-amlogic
          1 lvm-devel
          1 acpica-devel
          1 perfbook
          1 virtio-fs
          1 smatch
          1 ../../../../../../../fuego
          1 ../../../../../../../wireless-regdb
          1 ../../../../../../../igt-dev
          1 ../../../../../../../powertop

git clone