Luis R. Rodriguez [Wed, 10 Nov 2010 22:57:30 +0000 (14:57 -0800)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 10 Nov 2010 22:57:12 +0000 (14:57 -0800)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Wed, 10 Nov 2010 21:04:28 +0000 (22:04 +0100)]
compat-wireless: Backport pci power management
The new PCI power management is now also used by iwl and ath9k.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 10 Nov 2010 21:04:27 +0000 (22:04 +0100)]
compat-wireless: make patches apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Mon, 8 Nov 2010 23:59:42 +0000 (15:59 -0800)]
compat-wireless: fix initramfs update
The release version picked up was wrong. We can do better though,
we can just use the KLIB passed from the Makefile.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 8 Nov 2010 23:54:31 +0000 (15:54 -0800)]
Revert "compat-wireless: fix update-initramfs script"
This doesn't seem to work well:
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-22-generic'
Updating Ubuntu's initramfs for 2.6.31-22-generic under /boot/ ...
update-initramfs: Generating /boot/initrd.img-2.6.37-rc1-wl+
This reverts commit
6ee0397f8e6372ca4cd637525273bc7c2fa3bd31.
Luis R. Rodriguez [Fri, 5 Nov 2010 22:17:46 +0000 (15:17 -0700)]
compat-wireless: support ignoring some stable linux-next patches
Right before and during the merge window the amount of stable
patches queue up on the linux-next.git tree gets pretty big
and some of these patches may not apply cleanly on the existing
stable release of the kernel so you may want to ignore them
and backport them manually. Add support for this by allowing
the packager to specify which patches should be ignored through
the pending-stable/.ignore file.
You can stuff your backported patch instead then into
pending-stable/backport/ manually.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 8 Nov 2010 20:15:59 +0000 (12:15 -0800)]
compat-wireless: allow skipping updating the local tree
If you know what you are doing sure.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 4 Nov 2010 21:41:57 +0000 (14:41 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 4 Nov 2010 21:41:34 +0000 (14:41 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Walter Goldens [Thu, 28 Oct 2010 16:42:29 +0000 (09:42 -0700)]
compat-wireless: fix update-initramfs script
There are traces of a widespread error logs from installing
compat-wireless pertaining to update-initramfs, as google would
suggest. Ubuntu 10.10, for example complains of excessive:
"FATAL: Could not load /lib/modules/2.6.31-wl/modules.dep: No such file or directory"
Other distributions/kernels: "Cannot find /lib/modules/2.6.31-wl"
* Fix kernel version detection
* Fix updating of initramfs. Instead of generating new initramfs image,
simply update the existing one. This makes update-grub redundant, which
is good thing, considering it messes with people's grub.cfg settings
every time compat-wireless is installed. At some point replacing this
script in Makefile with "@update-initramfs -u" will probably be best.
Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
Walter Goldens [Thu, 28 Oct 2010 16:42:27 +0000 (09:42 -0700)]
compat-wireless: disable update-initramfs except for b4xx/ssb
Currently, the only drivers requiring update of the initramfs image
are b43/legacy/b44/ssb, yet the process is in place for every other
driver, including driver-select entries. Disable update-initramfs
for all but b4xx/ssb.
Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
Hauke Mehrtens [Wed, 27 Oct 2010 18:54:35 +0000 (20:54 +0200)]
compat-wireless: revert workqueue patch
This just reverts the workqueue patch commited in
99b88a0ecbdbc6df03527292571b2b442965814a
mac80211: cancel restart_work explicitly instead of depending on flush_scheduled_work()
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 27 Oct 2010 18:54:34 +0000 (20:54 +0200)]
compat-wireless: fix regression:
The ifdef was accidentally removed in
bb0324638d7301b8f87dfbee63b9633a8150cebc,
add it again.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Walter Goldens [Wed, 27 Oct 2010 15:55:40 +0000 (08:55 -0700)]
compat-wireless: update README file
Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
Luis R. Rodriguez [Sat, 23 Oct 2010 02:24:45 +0000 (19:24 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Sat, 23 Oct 2010 02:24:14 +0000 (19:24 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Walter Goldens [Sat, 23 Oct 2010 01:33:03 +0000 (18:33 -0700)]
compat-wireless: remove obsolete load scripts
delete obsolete load scripts
Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
Walter Goldens [Sat, 23 Oct 2010 01:33:00 +0000 (18:33 -0700)]
compat-wireless: update unloading scripts for bt
update unloading scripts for bt
Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
Walter Goldens [Sat, 23 Oct 2010 01:32:58 +0000 (18:32 -0700)]
compat-wireless: enable bluetooth via driver-select
reshuffle driver-select, enable "bt" group for all bluetooth modules with driver-select
Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
Walter Goldens [Sat, 23 Oct 2010 01:32:55 +0000 (18:32 -0700)]
compat-wireless: update bluetooth in Makefile
update bluetooth in Makefile
Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
Bala Shanmugam [Tue, 19 Oct 2010 08:45:38 +0000 (14:15 +0530)]
Do not compile staging directory for bt target. Signed-off-by: Bala Shanmugam <sbalashanmugam@atheros.com>
Hauke Mehrtens [Mon, 18 Oct 2010 20:36:55 +0000 (22:36 +0200)]
compat-wireless: make patches apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Mon, 18 Oct 2010 20:36:54 +0000 (22:36 +0200)]
compat-wireless: backport sock_recv_ts_and_drops in compat
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Walter Goldens [Mon, 18 Oct 2010 18:05:33 +0000 (11:05 -0700)]
compat-wireless: enable uninstall for staging & atlxx
- enable 'make uninstall' for staging - brcm80211, ath6kl and ethernet atlxx
- add atlxx to 'modprobe -l' list
Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
Walter Goldens [Sun, 17 Oct 2010 20:23:00 +0000 (13:23 -0700)]
compat-wireless: update Makefile modules
update "modprobe -l X" list in Makefile
Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
Walter Goldens [Sun, 17 Oct 2010 20:22:57 +0000 (13:22 -0700)]
compat-wireless: unload modules list updated
Added: wl1251, wl1271, iwmc3200wifi, b44 and
the whole orinoco family to wl/unload.sh scripts.
Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
Luis R. Rodriguez [Fri, 15 Oct 2010 18:01:20 +0000 (11:01 -0700)]
compat-wireless: add driver-select for wl1251 and wl1271
The wl12xx drivers were split up into their own directories
so if you were trying to compile wl1251 it wasn't really
happening. Now you can just select wl1251 directly.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Bala Shanmugam [Sun, 3 Oct 2010 15:00:02 +0000 (20:30 +0530)]
compat-wireless: Added ath3k sflash workaround to crap directory
This patch in crap directory enables btusb to load firmware
to device RAM when it is plugged in.
Reason for this not getting upstream:
It was first rejected without any alternatives suggested. Then
an alternative was finally suggested but too late for integration
upstream.
This is a work around until a new firmware and patch is being worked
on which is acceptable upstream.
For details refer to:
http://lkml.org/lkml/2010/10/5/195
Signed-off-by: Bala Shanmugam <sbalashanmugam@atheros.com>
Luis R. Rodriguez [Fri, 15 Oct 2010 04:06:57 +0000 (21:06 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 15 Oct 2010 04:06:34 +0000 (21:06 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 15 Oct 2010 04:05:28 +0000 (21:05 -0700)]
compat-wireless: fix patches for new wl1251 changes
wl1251 gets its new directory now.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Walter Goldens [Tue, 12 Oct 2010 19:50:35 +0000 (12:50 -0700)]
compat-wireless: update unload/wlunload scripts
Added: carl9170, brcm80211, aht6kl and orinoco to wlunload.sh and unload.sh
Added: atlxx ethernet drivers to unload.sh
Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
Hauke Mehrtens [Thu, 7 Oct 2010 21:21:09 +0000 (23:21 +0200)]
compat-wireless: backport kfifo for rt2x00
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 7 Oct 2010 21:21:08 +0000 (23:21 +0200)]
compat-wireless: make patch apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 7 Oct 2010 21:21:07 +0000 (23:21 +0200)]
compat-wireless: remove already applied patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Walter Goldens [Tue, 5 Oct 2010 19:12:38 +0000 (12:12 -0700)]
compat-wireless: introduce driver-select group for atlxx
In this patch:
- fixed a description typo
- changed yellow to purple color in bash as it hurts the eye/hard to read in white background (gnome)
- placed "atl1 atl2 atl1e atl1c" on one line to preserve user space and visibility, this is after all a _wireless_ compat
- introduced "atlxx" group for atlx(x) Ethernet devices in "BLUE" for distinguishability
- sorted all module groups together
Signed-off-by: Walter Goldens <goldenstranger@yahoo.com>
Luis R. Rodriguez [Fri, 1 Oct 2010 21:36:17 +0000 (14:36 -0700)]
compat-wireless: add rx filter carl9170 patch to linux-next-pending/
This will help with load and memory. This patch seems to not
be merged yet due to a backlog but we want it for testing
purposes of carl9170.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 1 Oct 2010 18:03:41 +0000 (11:03 -0700)]
compat-wireless: fix driver-select for brcm80211
Enable mac80211 to build
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 1 Oct 2010 17:58:18 +0000 (10:58 -0700)]
compat-wireless: add driver-select for brcm80211
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 1 Oct 2010 17:54:04 +0000 (10:54 -0700)]
compat-wireless: disable staging for most driver-select options
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 1 Oct 2010 17:45:11 +0000 (10:45 -0700)]
compat-wireless: add key.o to driver-select for ath drivers
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 1 Oct 2010 17:38:45 +0000 (10:38 -0700)]
compat-wireless: replace ar9170 with carl9170
ar9170 is now obsolete :)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 1 Oct 2010 17:25:26 +0000 (10:25 -0700)]
compat-wireless: Add the pending mac80211 reset work patch
We add the patch:
mac80211: perform scan cancel in hw reset work
patch to linux-next-pending/ directory because:
On Fri, Oct 01, 2010 at 05:47:53AM -0700, Christian Lamparter wrote:
> Currently, everyone is waiting for:
> "[PATCH 1/6] mac80211: perform scan cancel in hw reset work"
> (hopefully, it fixes the dreaded ieee80211_hw_restart deadlock.)
We need this for testing purposes for carl9170 which may
get done this weekend.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 1 Oct 2010 17:18:06 +0000 (10:18 -0700)]
compat-wireless: patch refresh
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Sep 2010 23:54:04 +0000 (16:54 -0700)]
compat-wireless: fix uninstall for compat
comapt module was not being removed.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Sep 2010 23:50:40 +0000 (16:50 -0700)]
compat-wireless: fix to include net/mac80211.h for pending-stable
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Sep 2010 23:10:37 +0000 (16:10 -0700)]
compat-wireless: update code-metrics to reflect extra patches applied
This will peg the characters options we used to apply extra
patches to our compat-wireless release to identify the extra
patches applied.
For example with "-s", we will now get:
compat-wireless-v2.6.36-rc5-1-2-g2ac99dc-s
This should be also picked up on the compat module which when loaded
will display the above string. This is useful when troubleshooting
issues and trying to find out what a user is using exactly.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Sep 2010 22:55:18 +0000 (15:55 -0700)]
compat-wireless: add support for printing stats for pending-stable
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Sep 2010 22:50:32 +0000 (15:50 -0700)]
compat-wireless: fix -s usage on generation stable tarballs
There was a typo, use $1, and then also always use refresh for
generating the tarball.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Sep 2010 22:43:26 +0000 (15:43 -0700)]
compat-wireless: add support for -s for gen-stable-release.sh
This lets us make stable releases with -s and the s pegged to the
release tarball.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Sep 2010 21:03:41 +0000 (14:03 -0700)]
compat-wireless: add support for generating pending-stable/ fixes
Often right before the merge window we get a block on non
oops/regression fixes for stable fixes. Some stable fixes
often get propagated afterwards during the extraversion
maintenance of the kernels. Right before the merge window
circa rc4 and rc5 subsystem maintainers get pegged if they
throw in non oops/regression fixes for Linus or their
respective upstream maintainer. While this makes sense
for tree management and stable release considerations we
still need to get users some stable patches propagated.
We can achieve this in compat-wireless with the -s option to
./scripts/admin-update.sh which this patch implements. You
will need to use a stable branch of compat-wireless, point
it to a stable git tree, and have present a linux-next git
tree. The -s option will get your $(git describe --abbrev=0)
from your stable tree and then get all pending fixes via:
git format-patch --grep="stable@kernel.org" \
-o pending-stable/ $(git describe --abbrev=0)..HEAD $WSTABLE
Where WSTABLE is:
export WSTABLE="
net/wireless/
net/wireless/
net/mac80211/
net/rfkill/
drivers/net/wireless/
net/bluetooth/
drivers/bluetooth/
drivers/net/atl1c/
drivers/net/atl1e/
drivers/net/atlx/
include/linux/nl80211.h
include/linux/rfkill.h
include/net/cfg80211.h
include/net/regulatory.h
include/net/cfg80211.h"
What this does is get us all pending stable fixes on linux-next.git
not yet merged onto Linus' tree. This lets us hurry in stable fixes
for users for stable releases of compat-wireless based on the RC
series. This accelerates the pace of fix propagation right before
the merge window.
To generate and apply your own stable fixes to your stable compa-wireless
releases you will then use:
./scripts/admin-updates.sh -s
The -s both generates new pending stable fix patches applies the
patches from the pending-stable/ directory. I'm up to support stable
releases with pending-stable/ applied, not sure if its worth it to
have two releases, one with it and one without buf if there are
considerations for this please let me know and I'll just make two
releases. For now I'll make the releases with the stable patches
merged with the requirement they must at least be on the linux-next.git
tree to promote upstreamabilty (is that a word?).
If you want to review the pending-stable/ picked patches check out the
pending-stable/ directory on the respective stable compat-wireless release.
Note that for non-stable releases you can also use the linux-next-cherry-picks/
directory, that gives distributions/vendors the flexibility to cherry pick out
non-stable fixes from linux-next.git for a stable release. For the big
fat warning as why this should be avoided check the README on that directory.
The pending-stable/ directory may also help the stable team maintainers on
their crusade when applying patches onto stable, it also means we will
need respective backports at least to Linus' tree for each stable patch.
Right now I get 23 pending stable patches based on today's linux-next.git
and Linus' v2.6.36-rc5 tag, which *should* in theory get propagated to
the first extraversion release of the kernel onto v2.6.36.1 (we'll see!).
Cc: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Cc: stable-review@linux.kernel.org
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Sep 2010 18:44:48 +0000 (11:44 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Sep 2010 18:43:42 +0000 (11:43 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 27 Sep 2010 18:42:32 +0000 (11:42 -0700)]
compat-wireless: update broadcom staging Makefile
The upstream Makefile has changed to split up each section into new
lines.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 23 Sep 2010 18:24:28 +0000 (11:24 -0700)]
compat-wireless: update defconfigs/atheros-debug.mk
Syncs with the latest config.mk and adds the ath9k RC
as default, and adds carl9170 with some debug options.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 23 Sep 2010 18:18:59 +0000 (11:18 -0700)]
compat-wireless: add CONFIG_ATH9K_RATE_CONTROL=y
Disable this to get minstrel as default, we leave the ath9k
rate control algorithm as the default for now as that is also
default upstream on the kernel. We will move this to minstrel
as default once we get minstrel properly tested and blessed by
our systems engineering team. CCK rates also need to be used
for long range considerations.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 23 Sep 2010 18:15:32 +0000 (11:15 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 23 Sep 2010 18:15:14 +0000 (11:15 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Tue, 21 Sep 2010 20:26:31 +0000 (22:26 +0200)]
compat-wireless: fix wl12xx driver
This deactivate the wl1271_sdio driver, because it needs
wl12xx_platform_data.c directly compiled into the kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Tue, 21 Sep 2010 20:26:30 +0000 (22:26 +0200)]
compat-wirelsss: refresh patches
33-autoconf.patch is removed because it is not needed any more.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Mon, 20 Sep 2010 19:30:44 +0000 (21:30 +0200)]
compat-wireless: "backport" pcmcia api changes.
The PCMCIA API changed again.
This patch was only compile tested, beacuse I do not have devices to
test this.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 19 Sep 2010 17:49:13 +0000 (10:49 -0700)]
compat-wireless: fix unresolved symbols with old kernels
CONFIG_WEXT_PRIV and CONFIG_WEXT_SPY were introduced with kernel 2.6.33
and are not available in older kernel versions. We should just depend on
them for recent kernel versions, but this feature is not implemented in
compat-wireless yet. If compat-wireless was commpield against kernel <
2.6.29 with e.g. CONFIG_IPW2200=m then libipw was not build in compat-
wireless but ipw2200 was build, because the config options set in the
kernel config were used. For now we build ipw2*00 every time
CONFIG_WIRELESS_EXT is enabled. This could cause some problems with
kernel > 2.6.32 and CONFIG_WEXT_PRIV=n but there are no such
distribution kernel available and we haven't got an bug report because
of this problem although is problem existed for a long time.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 19 Sep 2010 17:49:12 +0000 (10:49 -0700)]
compat-wirelsss: add carl9170
This patch adds support for carl9170.
CC: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 19 Sep 2010 17:46:45 +0000 (10:46 -0700)]
compat-wireless: make patches apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Sat, 18 Sep 2010 21:42:08 +0000 (14:42 -0700)]
compat-wireless: propagate config.mk changes to atheros defconfig
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Helmut Schaa [Sat, 18 Sep 2010 09:56:06 +0000 (02:56 -0700)]
compat-wireless: Select minstrel_ht as default rc algo
Wireless-testing is using minstrel_ht already as default rc algorithm.
Do the same im compat-wireless. Setting CONFIG_MAC80211_RC_DEFAULT
manually is needed in compat-wireless since it doesn't have the Kconfig
magic to automagically select minstrel_ht if it is compiled in.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Luis R. Rodriguez [Wed, 15 Sep 2010 22:05:50 +0000 (15:05 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 15 Sep 2010 22:05:29 +0000 (15:05 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Wed, 15 Sep 2010 20:43:34 +0000 (13:43 -0700)]
compat-wireless: make patch apply again.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 15 Sep 2010 20:43:33 +0000 (13:43 -0700)]
compat-wireless: make patch apply again.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Wed, 15 Sep 2010 21:53:24 +0000 (14:53 -0700)]
compat-wireless: update the atheros defconfigs/atheros-debug.mk
You can use this to replace the config.mk to enable debugging
attributes. Developers should use this.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Senthil Balasubramanian [Mon, 13 Sep 2010 19:55:03 +0000 (12:55 -0700)]
compat-wireless: fix scripts/driver-select for ath9k
As compat wireless now supports 2.6.24 or later, we don't need
to apply this special patch for ath9k.
This addresses a script error when ath9k alone is selected.
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:33 +0000 (18:18 +0200)]
compat-wireless: add brcm80211 driver
This driver was compile tested on kernel 2.6.29 to 2.6.36.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:32 +0000 (18:18 +0200)]
compat-wireless: remove special handling for CONFIG_CFG80211_WEXT
The special handling for CONFIG_CFG80211_WEXT is not needed any more,
because it is only activated when CONFIG_WIRELESS_EXT is also set.
Enabling this condition only for kernel <= 2.6.32 was wrong. In compat-
wireless we are able to deactivate CONFIG_WIRELESS_EXT for every
kernel. For activating it we need CONFIG_WIRELESS_EXT on every kernel.
If kernel <= 2.6.31 was build with cfg80211 support CONFIG_WIRELESS_EXT
was also selected, so it was activated in most cases for that kernel
versions. But it is possible to build compat-wireless without having
cfg80211 while building the kernel and that caused problems in the past.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 12 Sep 2010 21:11:37 +0000 (23:11 +0200)]
compat-wireless: Add warning if wext is deactivated
Add a build warning if CONFIG_CFG80211_WEXT can not be activated.
wireless_handlers is only avaliable if the kernel was build with
CONFIG_WIRELESS_EXT. Add a kernel log warning if CONFIG_CFG80211_WEXT
is activated but we do not have CONFIG_WIRELESS_EXT, so we ware unable
to attach the wireless_handlers for wext.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
v2: use printk_once
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:30 +0000 (09:18 -0700)]
compat-wireless: add conditions form config into compat_autoconf.h
We do not have to use "ifneq ($(CONFIG_...),)", "ifdef CONFIG_..." will
also work. It does not matter if it was set to m or y.
Now this can be added into compat_autoconf.h without changing the script.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:29 +0000 (09:18 -0700)]
compat-wireless: build if kernel does not have mac80211
In kernel 2.6.31 the attributes do_not_encrypt and requeue were removed
from struct sk_buff so we do not need mac80211 to be build while the
kernel was build for nwer kernels.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:28 +0000 (09:18 -0700)]
compat-wireless: fix for CONFIG_WIRELESS_EXT=n
Some modules need CONFIG_WIRELESS_EXT to be set. They should not be
build if CONFIG_WIRELESS_EXT was not set.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:27 +0000 (09:18 -0700)]
compat-wireless: make atk6kl build with older kernels
Now it will be build for kernel < 2.6.28. CONFIG_STAGING was introduced
with that kernel version.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 11 Sep 2010 16:18:26 +0000 (09:18 -0700)]
compat-wireless: handle depending on something build as module
If something was build as module in the kernel it is named
CONFIG_..._MODULE in autoconf.h. We have to check for bouth the name
with and wothout _MODULE at the end.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Thu, 2 Sep 2010 15:09:00 +0000 (08:09 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 2 Sep 2010 15:08:35 +0000 (08:08 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Thu, 2 Sep 2010 13:32:57 +0000 (06:32 -0700)]
compat-wireless: fix patch style
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 2 Sep 2010 13:32:56 +0000 (06:32 -0700)]
compat-wireless: fix generation of compat_autoconf.h
The endif of an ifdef or ifndef needs and comment so that gen-compat-
autoconf.sh knows that it should put it into the compat_autoconf.h. If
it is missing compat-wireless will not build.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 2 Sep 2010 13:32:55 +0000 (06:32 -0700)]
compat-wireless: replace name CONFIG_IWLWIFI
In commit
8c8113109f6916c4926413aa3416cefffaa5d9b8 one CONFIG_IWLWIFI
was not renamed to CONFIG_COMPAT_IWLWIFI.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 2 Sep 2010 13:32:54 +0000 (06:32 -0700)]
compat-wireless: convert ifndef for compat_autoconf.h
Only ifdef CONFIG_COMPAT_KERNEL_ was converted to something checking the kernel version. Now also ifndef is converted to the correct check.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Tue, 31 Aug 2010 02:41:04 +0000 (19:41 -0700)]
compat-wireless: enable ath6kl only for >= 2.6.32
For now.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 31 Aug 2010 01:59:44 +0000 (18:59 -0700)]
compat-wireless: enable ath6kl from being included
ath6kl is not yet upstream but is on its way. For now just
display and copy ath6kl if its present on linux-next.git
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 30 Aug 2010 21:46:36 +0000 (14:46 -0700)]
compat-wireless: fix compilation on iface.c
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 30 Aug 2010 21:01:30 +0000 (14:01 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 30 Aug 2010 20:55:42 +0000 (13:55 -0700)]
compat-wireless: fix patches/25-multicast-list_head.patch
This required some manual context fix.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 30 Aug 2010 20:51:50 +0000 (13:51 -0700)]
compat-wireless: fix multiqueue patches
This patch changed the MQ helpers used, just adjust
the context manually.
Author: Johannes Berg <johannes.berg@intel.com>
Date: Fri Aug 27 13:36:49 2010 +0200
mac80211: use subqueue helpers
There are subqueue helpers so that we don't
need to get the TX queue and then wake/stop
it, use those helpers.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:53 +0000 (11:40 -0700)]
compat-wireless: add support for kernel 2.6.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:52 +0000 (11:40 -0700)]
compat-wireless: add ifdefs into compat_autoconf.h
When using ifdef or ifndef in config.mk these conditions are now also
written into compat_autoconf.h. This replaces some special handling in
gen-compat-autoconf.sh. This was needed because CONFIG_RT2X00_LIB_LEDS
should only be selected for kernel > 2.6.24.
The script adds ifdefs, ifndefs else and endif into the header file. It
adds endif and else only if it is followed by " #CONFIG_" This is
needed because we do not support something like "ifneq
($(CONFIG_CRC7),)" or "ifeq ($(wildcard $(KLIB_BUILD)/.config),)" for
now.
Now egrep is needed because grep does not support the needed regular
expressions.
The spaces in the egrep part have to be replaced by some other
character, a + is used here.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:51 +0000 (11:40 -0700)]
compat-wireless: rename CONFIG_IWLWIFI config symbol
In kernel 2.6.24 CONFIG_IWLWIFI was a bool config symbol and not a
tristate one. In that kernel it was used for showing the menu option for
the Intel driver and not for selection the module it is used for today.
In kernel configurations for version 2.6.24 it is set so y and not to m.
As we do not overwrite some value selected in the kernel config it
will cause problems when we build some parts of the Intel driver in
compat-wireless directly into the kernel.
Now we use an other name for this config symbol to work around the
problem.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:50 +0000 (11:40 -0700)]
compat-wireless: multiple changes to config file
* deactivate SPI drivers for kernel < 2.6.25 because linux/gpio.h
is missing
* CONFIG_WL1251 and CONFIG_WL1271 both need CRC7
* CONFIG_RT2X00_LIB_LEDS does not work for kernel < 2.6.25
because of missing blink_set
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:49 +0000 (11:40 -0700)]
compat-wireless: remove linux/gpio.h include
Kernel 2.6.24 does not have this header file. No method provided by
gpio.h is used in wl12*1_boot.c so this include looks unneeded to me.
This should probably also go into mainline.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:48 +0000 (11:40 -0700)]
compat-wireless: fix patch stile.
This should not change any functionality but the patches are looking
better with theses changes.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 27 Aug 2010 18:40:47 +0000 (11:40 -0700)]
compat-wireless: do not use needed_headroom
needed_headroom was introduced in kernel 2.6.26.
Resize hard_header_len instead as it was done before using
needed_headroom.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>