aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-01-29WTF: Bail out if CONFIG_MAC80211_QOS is enabled on 2.6.23..2.6.26HEADmasterLuis R. Rodriguez1-1/+15
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-12-15Adds USB Atheros ar9170 for kernels >= 2.6.24 .. 2.6.26Luis R. Rodriguez15-0/+4241
Signed-off-by: Joerg Albert <jal2@gmx.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-26Allow compilation on 2.6.22Jiri Benc4-2/+23
This allows compilation of compat-wireless-old on 2.6.22 kernel. I suspect some drivers don't work despite they compile, though. Signed-off-by: Jiri Benc <jbenc@suse.cz> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-26Fix wrong cast to ieee80211_localJiri Benc1-1/+1
This fixes a kernel crash that was caused by using a wrong pointer for ieee80211_local dereference in mq compat implementation. Signed-off-by: Jiri Benc <jbenc@suse.cz> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15add functions needed by new iwlwifi driver for older kernel versionsHauke Mehrtens2-0/+92
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Update for new drivers and deletion of unused config optionsHauke Mehrtens3-15/+28
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15ath5k compat patches for older kernelsHauke Mehrtens3-0/+20
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Backport: mac80211: share sta_info->ht_infoHauke Mehrtens3-4/+4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Backport: mac80211: pass dtim_period to low level driverHauke Mehrtens4-1/+28
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Backport: mac80211: make listen_interval be limited by low level driverHauke Mehrtens3-3/+17
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Backport: mac80211: share sta->supp_ratesHauke Mehrtens6-13/+13
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Backport: mac80211: share STA information with driverHauke Mehrtens16-93/+153
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Backport mac80211: change MIMO_PS to SM_PSHauke Mehrtens2-8/+8
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Backport: cfg80211: keep track of supported interface modesHauke Mehrtens10-3/+61
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Backport: mac80211: use nl80211 interface typesHauke Mehrtens26-340/+306
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Brings rtl8187/rtl8180 driver to version of 13-09-2008Hauke Mehrtens3-10/+11
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Brings iwlwifi driver to version of 13-09-2008Hauke Mehrtens38-1740/+1621
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Brings b43legacy driver to version of 13-09-2008Hauke Mehrtens3-40/+47
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Brings b43 driver to version of 13-09-2008Hauke Mehrtens15-694/+1096
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Brings ath9k driver to version of 13-09-2008Hauke Mehrtens7-2162/+831
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-15Brings ath5k driver to version of 13-09-2008Hauke Mehrtens20-5084/+5471
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-08The b44 driver is dependent on the SSB ABI.Tim Gardner5-0/+2764
Signed-off-by: Tim Gardner <tim.gardner@canonical.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-05Update ath5k driver to newest versionHauke Mehrtens9-812/+1318
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-05add rx status flag for short preambleHauke Mehrtens2-1/+8
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-03Update ssb driver to newest versionHauke Mehrtens3-39/+72
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-03Update rtl8187 and rtl1880 driver to newest versionHauke Mehrtens5-94/+148
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-03Update b43 driver to newest version.Hauke Mehrtens22-4272/+5232
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-03Remove dependency on compat-release and git-describe, the buildLuis R. Rodriguez2-8/+10
using git will use .compat_autoconf_ but the tarball uses the right version. Whatever, it builds now :) Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-02Backport changes on ath9k, tested on 2.6.26 using WPALuis R. Rodriguez2-0/+92
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-02Add ath9k driver from wireless-testing as of commit on September 2, 2008:Luis R. Rodriguez23-0/+32846
ath9: Fix ath_rx_flush_tid() for IRQs disabled kernel warning message. We'll start backport on top of this. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-02Remove old admin scripts, not needed anymoreLuis R. Rodriguez3-176/+0
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-02Fix compilation of iwlwifi drivers.Luis R. Rodriguez1-0/+2
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-02Prevent compiling on >= 2.6.27, a new tree will be built for those kernels.Luis R. Rodriguez1-0/+5
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-09-02Fork compat-wireless for old kernels <= 2.6.26Luis R. Rodriguez357-1181/+249527
We fork compat-wireless for older kernels due to the new TX multiqueue (MQ) changes. These new TX MQ changes are painful to backport so instead of leaving everyone dry we'll fork it, add new drivers as we can and start fresh a new tree for >= 2.6.27. This adds to git history drivers/ net/ and include/ with all the compat.diff changes applied. Note that changes to compat.[ch] and mq_compat.h can now go directly against their files based on the tree location, the compat/ directory is being removed as this is a complete fork *with the tree*. Patches for drivers can now be sent directly to this tree. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-08-05Fix incorrect conditional nesting, that prevented inclusion of compat symbols.Gabriel de Perthuis2-4/+4
Kernels 2.6.23 or above didn't get these symbols: device_create_vargs device_create_drvdata register_rfkill_notifier unregister_rfkill_notifier rfkill_force_state Also fix a related comment typo found checking compat/compat.h . Signed-off-by: Gabriel de Perthuis <Gabriel.de-Perthuis@laPoste.net> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-17mac80211 loads on 2.6.22 but when you load a driver itLuis R. Rodriguez2-1/+1
crashes right now on IEEE80211_DEV_TO_SUB_IF() in ieee80211_i.h. We hit the BUG_ON: BUG_ON(!local || local->mdev == dev); Once this bug is fixed we can re-enable compilation for 2.6.22. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-17Fix typo in compat.h, uintptr_t was *added* on 2.6.24.Luis R. Rodriguez2-2/+2
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-17Backport skb_copy_queue_mapping() handling in mac80211 tx.cLuis R. Rodriguez1-9/+21
using the hacked up MQ support. Loading mac80211 now works on 2.6.22. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-17Fix compilation on 2.6.22, its been a while since I test this,Luis R. Rodriguez2-0/+45
sorry. This adds: * uintptr_t * __cold * device_create_release() Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-15Update compat.diffLuis R. Rodriguez1-186/+178
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-11Fix mac80211_hwsim build failure against wireless-testing master-2008-07-09Tim Gardner2-0/+108
Added device_create_drvdata() and friends to support mac80211_hwsim for kernels older then 2.6.26. Signed-off-by: Tim Gardner <tim.gardner@canonical.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-11Merge branch 'master' of ↵Luis R. Rodriguez1-0/+1
ssh://mcgrof@master.kernel.org/pub/scm/linux/kernel/git/mcgrof/compat-wireless-2.6
2008-07-09Update compat.diffLuis R. Rodriguez1-156/+156
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-09Add led_class as one of the modules to unload on make unload.Luis R. Rodriguez1-0/+1
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-09rfkill get_state() is new for 2.6.27 so for older kernels do notLuis R. Rodriguez1-0/+12
assign the callback. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-08Add backport of new rkill work, note that old kernels rkill codeLuis R. Rodriguez2-0/+98
won't call notify_rfkill_state_change() so we may want to just replace rfkill code with compat-wireless to get it to work just as well. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-08Update compat.diff and add CONFIG_MAC80211_HWSIM support.Luis R. Rodriguez3-54/+58
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-06Update compat.diff. Rename ONLY_WIRELESS to ONLY_CORELuis R. Rodriguez2-144/+144
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-01If you only want the wireless subsystem compiled you can set ONLY_WIRELESS ↵Luis R. Rodriguez1-1/+4
variable. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-07-01Update compat.diffLuis R. Rodriguez1-227/+227
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-30RFKILL enum changes will be part of 2.6.27 not 2.6.26 so lets add our firstLuis R. Rodriguez1-6/+10
compat section for kernels <= 2.6.26. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-30This fixes the compilation of mac80211 if it's not enabledLuis R. Rodriguez1-1/+1
in the target kernel. In compat-wireless everything is compiled as module Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-30Add list_is_singular() to compat.h for older kernels.Luis R. Rodriguez1-0/+11
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-29Backport new rfkill enums:Luis R. Rodriguez1-0/+6
RFKILL_STATE_SOFT_BLOCKED RFKILL_STATE_UNBLOCKED and add the new one: RFKILL_STATE_HARD_BLOCKED This one won't be handled by older kernels unless we later add support for handling in compat.c Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-27Update instructions of what to do at the end of make install.Luis R. Rodriguez1-2/+6
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-06-27Update compat.diffLuis R. Rodriguez1-419/+418
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-06-20cdc_ether and usbnet are now set, update compat.diffLuis R. Rodriguez2-250/+249
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-11Update compat.diffLuis R. Rodriguez1-8/+8
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-11Update old modules upon unload.Luis R. Rodriguez1-3/+4
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-11CONFIG_MAC80211_QOS is required for 802.11e (WME) and 802.11n (HT).Luis R. Rodriguez4-10/+74
Also CONFIG_MAC80211_QOS won't be in kernels until 2.6.27, but it does have its requirements. It requires *both* CONFIG_NETDEVICES_MULTIQUEUE and CONFIG_NET_SCHED. Lets deal with these requirements and also handle them specially in the compat_autoconf.h This should fix some issues with unresolved symbols when CONFIG_MAC80211_QOS is disabled. The problem was compat_autoconf wasn't disabling it. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-10Lets not rely on your .config for CONFIG_MAC80211_QOS and simplyLuis R. Rodriguez2-1/+4
enable it if MQ is supported. Signed-off-by: Tomas Winkler <tomasw@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-06-09Oops, forgot to use CONFIG_ in config.mk, so we found some otherLuis R. Rodriguez3-15/+68
things which needed porting like the rtnl->netlink migration. This has been tested by Intel for on 11n on iwl4965. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-08Refer to compat-masters@lists.madwifi.orgLuis R. Rodriguez1-1/+1
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-08Shut the compiler for older kernels for intel rfkill with complaint on BIT()Luis R. Rodriguez1-0/+11
being redefined. We can remove this and fix this properly once RFKIL is properly backported, and if someone does this work. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-08Backport CONFIG_NETDEVICES_MULTIQUEUE support for older kernels.Luis R. Rodriguez5-32/+342
This makes mac80211 use the old internal hacked up MQ support. Note though that unless you are using the new MQ support your kernel won't really be able to schedule individually on each separate hardware queue. This applies to any old kernel releases that don't have this patch yet, which should be <= 2.6.26. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-05Use HAVE_PCI_SET_MWI instead of PCI_DISABLE_MWI.Luis R. Rodriguez1-1/+2
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-06-04Update compat.diffLuis R. Rodriguez1-79/+79
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-05-29Add port for __netif_subqueue_stopped()Luis R. Rodriguez1-0/+21
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-05-29Add port work for alloc_netdev_mq() and NETIF_F_MULTI_QUEUE.Luis R. Rodriguez1-0/+10
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-05-29Port skb_get_queue_mapping().Luis R. Rodriguez1-0/+19
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-05-23Port LL_ALLOCATED_SPACE from 2.6.26Luis R. Rodriguez1-0/+26
2.6.26 added: ndev->needed_headroom ndev->needed_tailroom Then commit SHA1 f5184d267c1aedb9b7a8cc44e08ff6b8d382c3b5 added LL_ALLOCATED_SPACE and made most users of LL_RESERVED_SPACE make use LL_ALLOCATED_SPACE instead. Where needed_headroom and needed_tailroom is set we let the old kernels through as they still are using LL_ALLOCATED_SPACE Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-05-23Update compat.diff to apply cleanly onto ↵Luis R. Rodriguez1-108/+108
c2c40449398b120434f5f95167f7ac44ab10b22e Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-05-21compat-2.6: Correct typoMichael Bernhard1-1/+1
Signed-off-by: Michael Bernhard <michael.bernhard@bfh.ch> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-05-20Update compat.diff for new changes on libertas/ethtool.c.Luis R. Rodriguez1-28/+28
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-05-20Fix compile on 2.6.26. This was inspired by Pavel's changesLuis R. Rodriguez1-2/+2
on MadWifi. We use M= instead, as SUBDIRS is old. http://madwifi.org/changeset/3603 Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-05-20Fix 2.6.25 compatibilty -- dev_name() and clamp_val() were addedLuis R. Rodriguez1-6/+6
as of 2.6.26, not as part of 2.6.25. The reason why I put dev_name() in for 2.6.25 was that git-describe of v2.6.25-7352-g0691663 (patch with SHA1 0691663, and at that point a tag of 2.6.25) had dev_name() added. Even the top level Makefile has 2.6.25... this also applies to clamp_val(). Will investigage the discrepancy. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-05-20Compile iwlwifi drivers on old kernels.Luis R. Rodriguez1-0/+4
Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-05-16Add compatibility for 2.6.25 and 2.6.26 (already in RC release).Luis R. Rodriguez3-281/+532
For 2.6.25: Add dev_name() from include/linux/device.h Add clamp_val() from include/linux/kernel.h For 2.6.26: Port new unaligned API (include/linux/unaligned/*). We do this by adding to the compat-wireless tarball include/linux/unaligned and only include this if we are older kernels. We deal with architecture handling in compat.h. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-04-27Add usbnet.ko for rndis_wlan. Note that if you have other usbnetLuis R. Rodriguez4-27/+28
driver this may break them. We may eventually just add the other usbnet drivers here as its a small list. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-04-26Add cdc_ether.c, rndis_wlan needs it. I've tested thisLuis R. Rodriguez4-8/+13
on 2.6.24, it needs testign on 2.6.22. This may have broken compiling on 2.6.22. Also on make unload grep for ^module. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-04-26Update compat.diff to reflect new changes.Luis R. Rodriguez1-5/+5
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-04-21Add new pcie compat fix as a new patch was added upstreamLuis R. Rodriguez1-26/+38
which makes use of is_pcie. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-04-21Update compat.diffLuis R. Rodriguez1-51/+51
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-04-15Update compat-wireless to reflect new changes, alsoLuis R. Rodriguez3-253/+253
select SSB_BLOCKIO when B43_PIO is used. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2008-04-09Use "make kernelversion" to find the version. Scan make output forLuis R. Rodriguez1-1/+2
strings starting with "2.6" to skip make messages (no attempt is made to support non-2.6 kernels). Extract the third group of digits. Use it in the test. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-04-09Add CONFIG_SSB_B43_PCI_BRIDGE to config.mkLuis R. Rodriguez1-0/+1
It's needed for supporting Broadcom PCI cards. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-04-04Update compat.diff...Luis R. Rodriguez1-95/+95
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-28Update compat.diff to reflect new changes.Luis R. Rodriguez1-129/+129
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-22Don't assume that /sbin is in PATH when calling depmodLuis R. Rodriguez1-2/+2
Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-14Lets enable CONFIG_IWL4965_HT (802.11n).Luis R. Rodriguez1-0/+1
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-14Adds CONFIG_IWLCORE, CONFIG_SSB_SPROM, removes CONFIG_MAC80211_RC_SIMPLE,Luis R. Rodriguez2-51/+41
CONFIG_BCM43XX is gone! Add changes required to compat.diff from latest pull. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-11ATMEL USB driver has been ported to mac80211, lets enable it.Luis R. Rodriguez6-6/+13
This is for support for USB Wireless devices using Atmel at76c503, at76c505 or at76c505a chips. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-11Fix .config referenceLuis R. Rodriguez1-2/+2
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-10Fix rt2x00 firmware build issue, fix typo with IPW2200 radiotap optionsLuis R. Rodriguez2-11/+16
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-07Fix clean, all those missing .compat_autoconf_* filesLuis R. Rodriguez1-1/+3
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-07Enable ipw2200 radiotap support, this has been tested.Luis R. Rodriguez1-0/+18
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-07Update compat.diff for the latest pull from wireless-testing, also fix rt2x00Luis R. Rodriguez2-70/+96
configuration on config.mk. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-02Disable rt2x00 for now, need to figure some compat work out stillLuis R. Rodriguez1-0/+10
> > .../compat-wireless-2.6/drivers/net/wireless/rt2x00/rt2x00firmware.c:116: > > = Error: redefiniton of »rt2x00lib_load_firmware« Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-02Update compat.diffLuis R. Rodriguez1-22/+22
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-02kmem_cache_create() needs port work for 2.6.22 and 2.6.23 as wellLuis R. Rodriguez1-4/+17
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-02In skb_network_header() make variable const, port ip_hdr(),Luis R. Rodriguez1-1/+20
skb_copy_from_linear_data() and skb_copy_from_linear_data_offset(). Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-02Libertas uses the old ieee80211 stack for nowLuis R. Rodriguez1-14/+14
but this will be cleane dump soon (tm). Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-01Do not set CONFIG_PCI, CONFIG_USB and CONFIG_PCMCIA inLuis R. Rodriguez1-3/+4
compat autoconf. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-01Fix a typo on config.mkLuis R. Rodriguez1-1/+1
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-03-01If no .config for your kernel is found we'll assume the followingLuis R. Rodriguez1-0/+6
CONFIG_PCI=y CONFIG_USB=y CONFIG_PCMCIA=y Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-02-29Attached are two patches for compat. One just adds a .gitignore file soLuis R. Rodriguez5-118/+471
git status runs cleanly, and the other adds kernel 2.6.21 support and makes config.mk select drivers based on features like PCI, USB and the ITU-T CRC functions. Note that I have only tested compiling everything but PCI drivers against the old kernel so it may well be that some PCI functions are missing in 2.6.21, they can be added then. I had to disable rndis wlan because it uses cancel_work_sync() which is only available in 2.6.22 and higher and can't be ported to older kernels. Feel free to reject the patch, with it, however, and a hack to allow building the crypto code as a module, I now have mac80211 on my N810 :) Not that I have a p54spi yet, but hey, it's a start. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-02-28Update compat.diff and add absolute path for modprobe on MakefileLuis R. Rodriguez2-65/+65
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-02-23It seems we need to be explicit about KMODPATH_ARG now, so letsLuis R. Rodriguez1-0/+1
make sure we do that. Otherwise we'll get the build system to install our new modules in the kernel header's Makefile kernel release. This is what you would expect if you are building ontop of your own kernel sources but not ontop of your distribution's kernel. For example, on Ubuntu Hardy, which is on , you would get modules installed under the directory: /lib/modules/2.6.24-rc7/ This is because the Makefile /lib/modules/2.6.24-4-generic/build/Makefile had defined: VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 24 EXTRAVERSION = -rc7 What you really want is the modules to be installed instead under Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-02-22Port over new le32_add_cpu & friends changes from OCFS2 to core move.Luis R. Rodriguez1-0/+41
The patch: commit 8b5f6883683c91ad7e1af32b7ceeb604d68e2865 Author: Marcin Slusarz <marcin.slusarz@gmail.com> Date: Fri Feb 8 04:20:12 2008 -0800 byteorder: move le32_add_cpu & friends from OCFS2 to core moves le*_add_cpu and be*_add_cpu functions from OCFS2 to core header and converted some existing code to it. We port it here as later kernels will most likely use it. Thanks to Bill Moss <bmoss@clemson.edu> for reporting this. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-02-21Update compat.diff to reflect new changes.Luis R. Rodriguez1-134/+134
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-02-19Enable led support, port pm_qos_params support. PID rate control algorithmLuis R. Rodriguez6-53/+355
is now enabled as default as 'simple' is scheduled for removal for 2.6.26. b43 driver now gets leds support. This should get some testing. This was tested on 2.6.25. On 2.6.24-4-generic on ubuntu I was having issues with the modules not being installed on the /lib/modules/`uname -r`/updates dir, still looking into this but pushing out changes for now. Work based on Hauke Mehrtens's patch. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2008-02-15compat.diff needs fixing for changes in drivers/misc/MakefileLuis R. Rodriguez1-20/+25
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-02-15Update docs to reflect git tree change to wireless-testingLuis R. Rodriguez1-10/+11
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-02-15Move to wireless-testing tree.Luis R. Rodriguez1-9/+10
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-02-08Fix "make uninstall" - don't run athenable and b43enable unconditionallyPavel Roskin1-2/+0
athenable and b43enable are already run if they are installed. Don't run them unconditionally for the second time. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-02-08Protect against Fedora kernels with backported SSB supportPavel Roskin1-0/+2
Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-02-06Update compat.diff to reflect new changesLuis R. Rodriguez1-22/+22
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-02-06Enable support for 2.6.24, ath5k is fixed now, enable it, and improve ↵Luis R. Rodriguez2-15/+86
compat_autoconf.h intelligence. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-01-30"make install" depends on "uninstall". When "make install" is run for the firstLuis R. Rodriguez1-0/+2
time the scripts athenable and b43enable have not yet been placed in their expected location (/usr/sbin). This causes the build to fail when uninstall tries to use these scripts. Change the uninstall rule to only use these scripts if they exist in their expected location. Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-01-30rndis_wext was renamed to rndis_wlan, fix, also letsLuis R. Rodriguez6-55/+57
update compat.diff. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-01-28Adds new rndis_wext module, this required adding rndis_host module.Luis R. Rodriguez4-139/+199
Also: * update compat.diff to reflect the latest API changes * running make install now runs make uninstall to ensure we only have the latest subsystem modules added. * ath5k is disabled, its currently broken. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-01-20Updated compat.diff to reflect new updates on wireless-2.6Luis R. Rodriguez1-22/+22
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-01-20Fixes a few bugs on the build process:Luis R. Rodriguez1-10/+14
* ensure we use our own config to determine which drivers to build. Be paranoid and include config.mk once in the beginning and another time during the build process * Fixes issues during install target users were facing Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-01-20Unload ssb after b43 drivers, as we provide a new one.Luis R. Rodriguez1-1/+1
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-01-17Fix unload target -- missing some modules on unload.Luis R. Rodriguez1-0/+1
Signed-off-by: Marc Herbert <Marc.Herbert@gmail.com> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-01-14Some users were reporting problems with the compat package where the shellLuis R. Rodriguez5-240/+138
exceeded the number of arguments possible. This was caused by the way were were handling CONFIG_* options -- we were just adding defines on the command line. To correct this we now embrace our own autoconf header file, just as the kernel has its own, with defines of the options specified in config.mk. Our header file is self-generated by scripts/gen-compat-autoconf.sh which parses any kernel-like config file and outputs a header file with proper defines. The compat wireless autoconf file is include/linux/compat_autoconf.h and should not be edited by hand. The compat-wireless top Makefile makes uses of gen-compat-autoconf.sh through scripts/check_config.sh. This script and the top level makefile also check for updates to config.mk and if changes were made it forces a regeneration for the compat autoconf file. To check for changes we are using md5sum, which may be overkill, but should work well for now. Additionally the top level makefile checks for the version of compat-wireless, if it detects a new release has been pulled it will force a regeneration of the compat autoconf as well. This new build scheme been tested on 2.6.22 and 2.6.23. External build has also been tested with 2.6.23: make KLIB=/home/mcgrof/devel/kernels/linux-2.6.23.12 \ KLIB_BUILD=/home/mcgrof/devel/kernels/linux-2.6.23.12 Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-01-08* struct pci_dev has a new member called is_pcie, weLuis R. Rodriguez3-86/+122
add backport support for its use by a helper, compat_is_pcie() to reduce the size of the compatibility code. * Update compat.diff to reflect latest changes Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-01-08Apply compat.diff cleanlyLuis R. Rodriguez1-13/+13
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-01-08* Updated compat.diff to reflect changes on wireless-2.6 everythingLuis R. Rodriguez3-10/+12
* Switching to using simple rate algorithm over pid as pid still has some usability issues with some drivers. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2008-01-03Fixed config.mk for new rate algorithms, updated compat.diffLuis R. Rodriguez2-19/+15
Note: ath5k has a bug upstream which will be fixed soon Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-12-20* Update compat.diff to reflect new changesLuis R. Rodriguez4-129/+161
* usb_endpoint_num compat support added for libertas * We have a new rate control algorithm, the rate PID controller. We are selecting this as default for now to get users to help test this as this is what we will be moving to use as default soon anyway. * Added missing files from include/net for the Intel ipws: ieee80211.h ieee80211_crypt.h * Adds rtl8180_grf5101.c rtl8180_grf5101.h Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-12-18* Update compat.diff to reflect v2.6.24-rc1-2799-gb8b5f6aLuis R. Rodriguez6-88/+79
* Fix load scripts to only try to unload modules loaded, this prevents errors to users which they don't need to see * Handle zd1211rw name change, we missed a few scripts to fix Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-12-07* Fix build by switching COPTs to go in NOSTDINC_FLAGS instead of CFLAGS,Luis R. Rodriguez2-11/+12
this wasn't being picked up. Now it should be. * Lets you build external kernels now, usage: make KLIB=/home/mcgrof/kernels/linux-2.6.23.9 KLIB_BUILD=/home/mcgrof/kernels/linux-2.6.23.9 Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-12-06Remove junkLuis R. Rodriguez1-8/+1
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-12-06* Adds nl80211 compat work, genl multicast cannot be ported though.Luis R. Rodriguez6-96/+329
* Update compat.diff to reflect new wireless-2.6 git tree changes * Do not continue if the compat.diff fails, this will prevent us from updating the compat tarball with invalid content. * Use defines now in config.mk, get rid of stupid defines in compat.h * Lets you specify your own GIT_TREE variable for admin-update.sh Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-30Updates compat/compat.diff to apply cleanly for v2.6.24-rc1-1686-g7117356Luis R. Rodriguez1-32/+32
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-27Typo on docs.Luis R. Rodriguez1-1/+1
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-27Well I think this adds all new and actively patched drivers. If I missedLuis R. Rodriguez8-162/+302
anyone please let me know. Not adding old softmac as that will die very soon. * Adds ipw2100, ipw2200 * Adds net/ieee80211/ for Intel's ipw drivers and libertas. This required porting sg_init_table(). * I thought I had added b43legacy, I hadn't this adds it for sure * Update docs, added TODO list on README * Fix uninstall, wasn't removing all modules as claimed Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-16Fix makefile, using scripts before installing themLuis R. Rodriguez1-12/+12
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-16Update docs to reflect changesLuis R. Rodriguez1-5/+31
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-16Update compat.diff to match latest wireless-2.6#everything pull. Libertas ↵Luis R. Rodriguez2-31/+31
ethtool stuff was renamed. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-16Typo on MakefileLuis R. Rodriguez1-1/+1
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-16Force inclusion of compat.h first.Luis R. Rodriguez2-0/+2
Include linux/autoconf.h before other headers. Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-16Forgot a few modules on load/unloadLuis R. Rodriguez2-0/+3
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-16Adds these modules:Luis R. Rodriguez13-116/+801
adm8211 iwl4965 p54pci p54usb rt2400pci rt2500pci rt61pci rt2500usb rt73usb rtl8180 rtl8187 b43 b43legacy Tested successfully these: p54pci (on FullMAC card) rt2500pci rtl8180 b43 As with athload we add a b43load script lets you: b43load bcm43xx or b43load b43 libertas was tested but I have 31.02 on bcdDevice and the new device fails with: usb8xxx: URB in failure status: -71 usb 4-1: reset high speed USB device using ehci_hcd and address 3 usb 4-1: reset high speed USB device using ehci_hcd and address 3 usb 4-1: reset high speed USB device using ehci_hcd and address 3 usb 4-1: reset high speed USB device using ehci_hcd and address 3 usb 4-1: reset high speed USB device using ehci_hcd and address 3 usb 4-1: reset high speed USB device using ehci_hcd and address 3 usb 4-1: reset high speed USB device using ehci_hcd and address 3 usb 4-1: reset high speed USB device using ehci_hcd and address 3 usb 4-1: reset high speed USB device using ehci_hcd and address 3 usb 4-1: reset high speed USB device using ehci_hcd and address 3 usb 4-1: reset high speed USB device using ehci_hcd and address 3 usb8xxx: probe of 4-1:1.0 failed with error -12 usbcore: registered new interface driver usb8xxx Adds some more backport code. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-13Run athenable madwifi when users run make uninstall. This makes the MadWifiLuis R. Rodriguez1-0/+1
drivers available if there were disabled before. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-13Add athload. This lets users pick and choose quickly which driver they want ↵Luis R. Rodriguez7-4/+67
loaded, either MadWifi or ath5k. Usage: athload ath5k athload madwifi Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-13We use patch -p0 now, so update docs on how to add a new driverLuis R. Rodriguez1-2/+6
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-13Forgot to remove old drivers/zd1211rw-mac80211/ from previous releases.Luis R. Rodriguez1-0/+1
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-13Sorry, we don't need compat-release in git ;)Luis R. Rodriguez1-1/+0
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-13Doh, forgot to add compat-releaseLuis R. Rodriguez1-0/+1
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-13Add tag to compat-wireless releases, keep track so users know whatLuis R. Rodriguez1-0/+5
release they are using, this might come in handy later. Release added to compat-release. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-13* Update compat.diff for net/mac80211/cfg.cLuis R. Rodriguez2-14/+13
* rm -rf net/ upon clean now Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-13* Make driver paths match the kernelsLuis R. Rodriguez9-196/+366
* Use a config.mk, so we get to strip down the compat.diff * Make compat.diff match patches for upstream * include <linux/version.h> on <net/cfg80211.h> as most wireless works uses that. * Lets unlaod MadWifi now automaticaly. Provide scipts to switch back to MadWifi easily if its present. The script is athenable. You can either: athenable ath5k athenable madwifi * Borrow from MadWifi madwifi-unload Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-11Export eth_header() on compat.c.Luis R. Rodriguez1-0/+53
Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
2007-11-11Initial release, adds mac80211, ath5k, iwl3945, and zd1211rw-mac80211.Luis R. Rodriguez11-0/+1453
Backporting tested on 2.6.22. Fixed my git repository, updated ipw3945d detection. Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>