openwrt/staging/blogic.git
15 years agoBackport USB stuff to allow ar9170 on 2.6.27
Luis R. Rodriguez [Wed, 15 Jul 2009 23:40:52 +0000 (16:40 -0700)]
Backport USB stuff to allow ar9170 on 2.6.27

Only compile tested.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoAnnotate what we need for ar9170 for older kernels
Luis R. Rodriguez [Wed, 15 Jul 2009 22:25:44 +0000 (15:25 -0700)]
Annotate what we need for ar9170 for older kernels

To get ar9170 working on 2.6.27 we need to backport:

* usb_get_from_anchor()
* usb_poison_anchored_urbs()
* usb_unpoison_anchored_urbs()

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoFix compilation when RFKILL_LED is enabled
Luis R. Rodriguez [Wed, 15 Jul 2009 22:18:12 +0000 (15:18 -0700)]
Fix compilation when RFKILL_LED is enabled

Think this should do it, not tested.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoFix problems with kernel 2.6.31.
Hauke Mehrtens [Sun, 12 Jul 2009 18:08:49 +0000 (20:08 +0200)]
Fix problems with kernel 2.6.31.

__dev_addr_sync and __dev_addr_unsync are not exported in kernel < 2.6.32.

Now this is compiling and loading with kernel 2.6.31.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoFixes kernel panic with kernel 2.6.28 while scanning.
Hauke Mehrtens [Sun, 12 Jul 2009 11:26:06 +0000 (13:26 +0200)]
Fixes kernel panic with kernel 2.6.28 while scanning.

This Problem was introduced with 50334349aa7f6fba1002739bf08481fcf1fb0761
The Patch is based on http://osdir.com/ml/linux-wireless/2009-04/msg01085.html

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoUpdate compat.diff for master-2009-07-10
Hauke Mehrtens [Sun, 12 Jul 2009 20:26:22 +0000 (22:26 +0200)]
Update compat.diff for master-2009-07-10

This is now compiling with kernel at least 2.6.26 to 2.6.30.
MAC80211_DRIVER_API_TRACER is only working with kernel >= 2.6.30.

v2: Fixed typo

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoUpdate compat.diff for offsets: master-2009-07-08
Luis R. Rodriguez [Thu, 9 Jul 2009 06:34:31 +0000 (23:34 -0700)]
Update compat.diff for offsets: master-2009-07-08

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoAdd stuff for 2.6.24 support, more items are missing
Luis R. Rodriguez [Thu, 9 Jul 2009 01:30:38 +0000 (18:30 -0700)]
Add stuff for 2.6.24 support, more items are missing

linux/gpio.h is not available on older kernels, we'll just have to
disable all drivers which use that. After that we need to port
__dev_addr_unsync() and friends. Not sure what is after that.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoFor some reason I had removed wext-compat, add it back
Luis R. Rodriguez [Wed, 8 Jul 2009 23:38:53 +0000 (16:38 -0700)]
For some reason I had removed wext-compat, add it back

cfg80211-$(CONFIG_WIRELESS_EXT) += wext-compat.o wext-sme.o

we depend on your kernel's CONFIG_WIRELESS_EXT for this.

This should fix what users report as:

00:32 < Sticky__>  hmm, now getting errors on "modprobe ath5k": "WARNING: Error inserting ath
(/lib/modules/2.6.28-13-generic/updates/drivers/net/wireless/ath/ath.ko): Unknown symbol in module, or
unknown parameter (see dmesg)"
00:32 < Sticky__> and from dmesg: [ 2245.275139] cfg80211: Unknown symbol cfg80211_wext_freq

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agocompat-wireless-2.6 now compiles on 2.6.25
Luis R. Rodriguez [Wed, 8 Jul 2009 23:25:06 +0000 (16:25 -0700)]
compat-wireless-2.6 now compiles on 2.6.25

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoFix compilation on 2.6.28
Luis R. Rodriguez [Wed, 8 Jul 2009 22:43:58 +0000 (15:43 -0700)]
Fix compilation on 2.6.28

Reported-by: Sticky__ via IRC #linux-wireless
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoStart port work for usage on 2.6.25. We get up to:
Luis R. Rodriguez [Wed, 8 Jul 2009 22:34:01 +0000 (15:34 -0700)]
Start port work for usage on 2.6.25. We get up to:

  CC [M]  /home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.o
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c: In function ‘ieee80211_stop’:
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c:388: warning: statement with no effect
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c:394: warning: statement with no effect
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c: In function ‘ieee80211_if_add’:
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c:794: error: ‘struct net_device’ has no member named ‘needed_headroom’
/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.c:801: error: ‘struct net_device’ has no member named ‘needed_tailroom’
make[3]: *** [/home/mcgrof/devel/compat-wireless-2.6/net/mac80211/iface.o] Error 1
make[2]: *** [/home/mcgrof/devel/compat-wireless-2.6/net/mac80211] Error 2
make[1]: *** [_module_/home/mcgrof/devel/compat-wireless-2.6] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.25-020625-generic'

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoBackport flush_work() -- enable compilation on 2.6.26
Luis R. Rodriguez [Wed, 8 Jul 2009 19:44:15 +0000 (12:44 -0700)]
Backport flush_work() -- enable compilation on 2.6.26

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoForgot to ifdef the inclusion of rfkill_backport.h on rfkill/input.c
Luis R. Rodriguez [Wed, 8 Jul 2009 00:28:01 +0000 (17:28 -0700)]
Forgot to ifdef the inclusion of rfkill_backport.h on rfkill/input.c

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoForgot to remove one more hunk in rfkill backport simplification
Luis R. Rodriguez [Tue, 7 Jul 2009 23:38:04 +0000 (16:38 -0700)]
Forgot to remove one more hunk in rfkill backport simplification

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoMore rfkill backport simplification
Luis R. Rodriguez [Tue, 7 Jul 2009 23:33:49 +0000 (16:33 -0700)]
More rfkill backport simplification

Trims compat.diff down further. Compile tested against 2.6.27.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoFurther changes to minimize rfkill backport
Luis R. Rodriguez [Tue, 7 Jul 2009 23:12:20 +0000 (16:12 -0700)]
Further changes to minimize rfkill backport

Include net/compat.h on rfkill_backport.h, then remove
the compat.diff changes.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoSimply rfkill backport by using macros
Luis R. Rodriguez [Tue, 7 Jul 2009 22:28:14 +0000 (15:28 -0700)]
Simply rfkill backport by using macros

By using direct macros for the calls such as:

define rfkill_blocked         backport_rfkill_blocked

we can simpify the backport of rfkill. This works well as
the number of arguments we use will always remain constant
as we are providing our own implemention of rfkill.

This reduces the size of compat.diff, makes it easier to maintain.

Note that compat.diff was also broken as we forgot to use rdev
instead of dev on the core.c patch but since we're removing it
we don't bother to fix it. I note this in case we want to revert
this patch later.

This has been compile-tested on 2.6.27.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoBackport wext.c dev->netdev_ops->ndo_do_ioctl call
Luis R. Rodriguez [Tue, 7 Jul 2009 22:19:35 +0000 (15:19 -0700)]
Backport wext.c dev->netdev_ops->ndo_do_ioctl call

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoAdd new CONFIG_CFG80211_DEFAULT_PS* kconfig to config.mk
Luis R. Rodriguez [Tue, 7 Jul 2009 21:23:19 +0000 (14:23 -0700)]
Add new CONFIG_CFG80211_DEFAULT_PS* kconfig to config.mk

These were previously only available for mac80211 drivers.
cfg80211 inherits this now.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoUpdate compat.diff for net/wireless/core.c
Luis R. Rodriguez [Tue, 7 Jul 2009 20:57:17 +0000 (13:57 -0700)]
Update compat.diff for net/wireless/core.c

The contexts changed based on new updates, fix that.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoUpdate compat.diff hunk offsets, still doesn't apply cleanly yet
Luis R. Rodriguez [Tue, 7 Jul 2009 20:37:53 +0000 (13:37 -0700)]
Update compat.diff hunk offsets, still doesn't apply cleanly yet

We leave the one hunk which fails for another patch, this needs
more review.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoFix compat.diff to account for new scan.c and core.h changes
Luis R. Rodriguez [Tue, 7 Jul 2009 20:18:11 +0000 (13:18 -0700)]
Fix compat.diff to account for new scan.c and core.h changes

hold is now atomic, and offesets changed a bit. Important to note
now is the BUG_ON(atomic_read(&bss->hold)) on the bss_release(),
this should be ok for older kernels as the hold should be updated
accordingly.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoUpdate compat.diff -- patch fails still, on scan.c and core.h
Luis R. Rodriguez [Tue, 7 Jul 2009 01:56:18 +0000 (18:56 -0700)]
Update compat.diff -- patch fails still, on scan.c and core.h

I don't have time to look at this right now, maybe tomorrow.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoAdd missing bits to get compat-wireless to compile on 2.6.26
Luis R. Rodriguez [Tue, 7 Jul 2009 01:01:06 +0000 (18:01 -0700)]
Add missing bits to get compat-wireless to compile on 2.6.26

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoAdd initial missing port work for 2.6.26 to compile
Luis R. Rodriguez [Mon, 6 Jul 2009 23:30:08 +0000 (16:30 -0700)]
Add initial missing port work for 2.6.26 to compile

Almost there...

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoBackport genl_register_family_with_ops() and skb_dst_drop()
Luis R. Rodriguez [Mon, 6 Jul 2009 21:34:45 +0000 (14:34 -0700)]
Backport genl_register_family_with_ops() and skb_dst_drop()

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoOoops - I nuked drivers/net/wireless/Makefile patch, re-add it
Luis R. Rodriguez [Mon, 6 Jul 2009 20:02:47 +0000 (13:02 -0700)]
Ooops - I nuked drivers/net/wireless/Makefile patch, re-add it

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoFix 2.6.23 compat header
Luis R. Rodriguez [Mon, 6 Jul 2009 20:02:05 +0000 (13:02 -0700)]
Fix 2.6.23 compat header

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoFix compat.diff for net/wireless/Makefile
Luis R. Rodriguez [Mon, 6 Jul 2009 19:04:27 +0000 (12:04 -0700)]
Fix compat.diff for net/wireless/Makefile

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoAdd initial backport work down to 2.6.21, disable it for the meantime
Luis R. Rodriguez [Mon, 6 Jul 2009 18:54:29 +0000 (11:54 -0700)]
Add initial backport work down to 2.6.21, disable it for the meantime

As each kernel is tested we can enable it.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoRemove mq_compat.h - not required or used
Luis R. Rodriguez [Mon, 6 Jul 2009 17:48:49 +0000 (10:48 -0700)]
Remove mq_compat.h - not required or used

This wasn't being used by this tree but now with the master netdev
removal we won't be needing this anyway.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoSplit kernel compatibility into different files
Luis R. Rodriguez [Mon, 6 Jul 2009 17:40:01 +0000 (10:40 -0700)]
Split kernel compatibility into different files

This should make maintaining and readability easier.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoUpdate compat.diff for master-2009-06-30
Luis R. Rodriguez [Thu, 2 Jul 2009 07:36:02 +0000 (00:36 -0700)]
Update compat.diff for master-2009-06-30

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoFix usbnet.c hunks
Luis R. Rodriguez [Thu, 2 Jul 2009 07:22:41 +0000 (00:22 -0700)]
Fix usbnet.c hunks

CONFIG_COMPAT_NET_DEV_OPS is now pointless since
all USB net drivers are now converted.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoAdd script to make stable compat-wireless releases
Luis R. Rodriguez [Thu, 2 Jul 2009 07:09:22 +0000 (00:09 -0700)]
Add script to make stable compat-wireless releases

To make stable compat-wireless releases we make use of
hpa's linux-2.6-allstable.git tree:

git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux-2.6-allstable.git

With scripts/gen-stable-release.sh and the linux-2.6-allstable.git
tree present you can make stable kernel compat-wireless releases.
By default we target rc kernels. If you want to use as base another
kernel that must be specified.

Examples usages:

./scripts/gen-stable-release.sh
./scripts/gen-stable-release.sh linux-2.6.29.y
./scripts/gen-stable-release.sh linux-2.6.30.y

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoHelp identify stable compat-wireless releases
Luis R. Rodriguez [Thu, 2 Jul 2009 02:02:53 +0000 (19:02 -0700)]
Help identify stable compat-wireless releases

admin-update.sh script now knows to distinguish between
regular bleeding edge compat-wireless releass and stable
compat-wireless releases.

We also update the gen compat autconf script accordingly.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoMake admin clean remove more stale files
Luis R. Rodriguez [Thu, 2 Jul 2009 02:04:52 +0000 (19:04 -0700)]
Make admin clean remove more stale files

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoBackport skb_queue_is_first(), skb_queue_prev(), skb_queue_is_last() and skb_queue_next()
Luis R. Rodriguez [Wed, 1 Jul 2009 21:43:02 +0000 (14:43 -0700)]
Backport skb_queue_is_first(), skb_queue_prev(), skb_queue_is_last() and skb_queue_next()

These are needed by p54.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agochange symbol rfkill_unregister to backport_rfkill_unregister
Hauke Mehrtens [Sat, 20 Jun 2009 11:17:15 +0000 (13:17 +0200)]
change symbol rfkill_unregister to backport_rfkill_unregister

In include/linux/rfkill_backport.h "backport_" in front of rfkill_unregister was missing.
Update compat.diff

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoUpdate compat.diff
Hauke Mehrtens [Thu, 18 Jun 2009 19:38:35 +0000 (21:38 +0200)]
Update compat.diff

__dev_addr_sync and __dev_addr_unsync are not exported in older kernels.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoUpdate conpat.diff remove last skb->requeue part
Hauke Mehrtens [Thu, 18 Jun 2009 19:38:34 +0000 (21:38 +0200)]
Update conpat.diff remove last skb->requeue part

This was needed as long as skb->requeue was accessed in this part.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoDo not build backported rfkill module on new kernels.
Hauke Mehrtens [Tue, 16 Jun 2009 18:31:10 +0000 (20:31 +0200)]
Do not build backported rfkill module on new kernels.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoUpdate compat.diff
Hauke Mehrtens [Tue, 16 Jun 2009 18:31:09 +0000 (20:31 +0200)]
Update compat.diff

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoBackport rfkill for kernel older than 2.6.31.
Hauke Mehrtens [Wed, 10 Jun 2009 20:01:48 +0000 (22:01 +0200)]
Backport rfkill for kernel older than 2.6.31.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoUpdate compat.diff
Hauke Mehrtens [Wed, 10 Jun 2009 20:01:47 +0000 (22:01 +0200)]
Update compat.diff

requeue was removed out of skbuff.h in wireless-testing.
Add missing import for b43 with kernel 2.6.28.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoAdd iwmc3200wifi driver.
Hauke Mehrtens [Wed, 10 Jun 2009 20:01:46 +0000 (22:01 +0200)]
Add iwmc3200wifi driver.

It only supports kernel >= 2.6.29, because it uses new netdev_ops api.
If you need support for older kernel please backport it.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agocompat-wireless: update for 2009-06-08
Julian Calaby [Mon, 8 Jun 2009 06:02:46 +0000 (16:02 +1000)]
compat-wireless: update for 2009-06-08

Update to match wireless-testing v2.6.30-rc8-25759-g00f7164

compat.diff has been updated to apply cleanly over the
wireless-testing.git version specified above with no fuzz.

iwmc3200wifi, as I don't know if it compiles on anything but
wireless-testing.git, has been disabled by editing it out of the
Makefile as it's directory isn't actually copied from

I must note that even after these changes, this still doesn't actually
compile for me, as ath9k uses the rfkill_ops structure which isn't
present in my 2.6.29 kernel.

Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
15 years agocompat-wireless: Add entry for master-tag in .gitignore
Julian Calaby [Mon, 8 Jun 2009 06:02:03 +0000 (16:02 +1000)]
compat-wireless: Add entry for master-tag in .gitignore

master-tag wasn't mentioned in .gitignore, despite it being manufactured by
scripts/admin-update.sh.

Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
15 years agoadd a depmod check -- check for updates/ preference
Luis R. Rodriguez [Mon, 18 May 2009 22:35:15 +0000 (15:35 -0700)]
add a depmod check -- check for updates/ preference

If your distribution lacks an /etc/depmod.d/ or /etc/depmod.conf
file we'll add one for you. By default we add the file in
/etc/depmod.d/compat-wireless.conf

We could get more granular and only add this preference for
wireless stuff but that requires some work.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoUpdate compat.diff
Luis R. Rodriguez [Mon, 18 May 2009 21:44:24 +0000 (14:44 -0700)]
Update compat.diff

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agocompat-2.6: Fixed module_disable function with old module-init-tools.
Hauke Mehrtens [Sun, 17 May 2009 12:47:43 +0000 (14:47 +0200)]
compat-2.6: Fixed module_disable function with old module-init-tools.

The behavior of modprobe -l chanched. Old versions are returning
the full path and new versions only return the relative path
to the modules directory of the kernel.

Corrected some typos iwl-enable.

Thanks Brett D. Ussher for your help.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agocompat-2.6: Add libertas_spi module.
Hauke Mehrtens [Sun, 17 May 2009 12:47:42 +0000 (14:47 +0200)]
compat-2.6: Add libertas_spi module.

Clean up libertas stuff in config.mk

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agocompat-2.6: Add WL12XX driver.
Hauke Mehrtens [Sun, 17 May 2009 12:47:41 +0000 (14:47 +0200)]
compat-2.6: Add WL12XX driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agocompat-2.6: update compat.diff
Hauke Mehrtens [Sun, 17 May 2009 12:47:40 +0000 (14:47 +0200)]
compat-2.6: update compat.diff

In kernel versions > 2.9.28 linux/etherdevice.h includes asm/unaligned.h.
This is needed by net/mac80211/key.c.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agocompat-2.6: update compat.diff
Hauke Mehrtens [Tue, 12 May 2009 20:34:45 +0000 (22:34 +0200)]
compat-2.6: update compat.diff

This will fix the make clean problem reported by Brett D. Ussher.

wl12xx will be removed from Makefile. I do not think wl12xx needs to be integrated,
because it is not rely widely used.
If needed it will not be very hard to integrate it.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoUpdate compat.diff
Luis R. Rodriguez [Tue, 28 Apr 2009 22:47:12 +0000 (15:47 -0700)]
Update compat.diff

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoSymbol ksize is not exported in kernel older than 2.6.29.
Hauke Mehrtens [Tue, 21 Apr 2009 20:43:58 +0000 (22:43 +0200)]
Symbol ksize is not exported in kernel older than 2.6.29.

This reverts commit ad80a7a983e36c6d8f4ae57e4c472deb9cf1391c from wireless-testing on older kernel versions.
Thanks Mathijs de Bruin for reporting.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoUpdate compat.diff
Hauke Mehrtens [Tue, 21 Apr 2009 20:43:57 +0000 (22:43 +0200)]
Update compat.diff

* Remove include/net/wireless.h and add include/net/regulatory.h.
* Enable powersave by default.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoAdd include/linux/mmc/sdio_ids.h
Hauke Mehrtens [Mon, 20 Apr 2009 20:15:01 +0000 (22:15 +0200)]
Add include/linux/mmc/sdio_ids.h

The sdio_ids.h only contains definitions, no structures. It is like the
linux/pci_ids.h file for SDIO devices.

If you do not like to include the file use this patch which adds the
needed definition to compat.h.

Hauke

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoUpdate compat.diff
Luis R. Rodriguez [Thu, 16 Apr 2009 17:02:44 +0000 (10:02 -0700)]
Update compat.diff

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoReflect changes in wireless-testing.
Hauke Mehrtens [Tue, 14 Apr 2009 16:51:42 +0000 (18:51 +0200)]
Reflect changes in wireless-testing.

* Change the location of ath5k, ath9k and ar9170.
* modify some scripts to work with recent version of wireless-testing.
  * ath9k will be loaded if madwifi is deactivated.
  * Broadcoms wl.ko will be deactivated if b43 or b43legacy are loaded.
  * Many modules were added or chanced their name in the last months.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoRemove CONFIG_NL80211 its always on now upstream
Luis R. Rodriguez [Fri, 10 Apr 2009 17:11:06 +0000 (10:11 -0700)]
Remove CONFIG_NL80211 its always on now upstream

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agodefault OLD_REG=n to match upstream
Luis R. Rodriguez [Fri, 10 Apr 2009 17:10:46 +0000 (10:10 -0700)]
default OLD_REG=n to match upstream

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoSorted compat.diff with the help of git
Hauke Mehrtens [Thu, 9 Apr 2009 20:21:53 +0000 (13:21 -0700)]
Sorted compat.diff with the help of git

The content of compat.diff was only sorted with this patch
there are no really changes to it.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoSync compat.diff with new wireless-testing master-2009-04-08
Hauke Mehrtens [Thu, 9 Apr 2009 20:21:47 +0000 (13:21 -0700)]
Sync compat.diff with new wireless-testing master-2009-04-08

Most parts are backporting net_device_ops parts in drivers
to older versions. This is working with kernel 2.6.27 and
building at least with kernel 2.6.27 to 2.6.29.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoBackport skb_queue_splice_tail_init to kernel 2.6.27.
Hauke Mehrtens [Sat, 28 Mar 2009 16:27:17 +0000 (17:27 +0100)]
Backport skb_queue_splice_tail_init to kernel 2.6.27.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoUpdate compat.diff
Luis R. Rodriguez [Wed, 25 Mar 2009 01:34:26 +0000 (18:34 -0700)]
Update compat.diff

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoTurns out AR9170 only works on >= 2.6.29..
Luis R. Rodriguez [Wed, 25 Mar 2009 01:32:26 +0000 (18:32 -0700)]
Turns out AR9170 only works on >= 2.6.29..

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoAdd AR9170 driver
Hauke Mehrtens [Tue, 24 Mar 2009 00:14:41 +0000 (01:14 +0100)]
Add AR9170 driver

The AR9170 configuration is only activated on kernel
2.6.28 and later, because the older kernel misses some
needed functions to be backported. Interested developers
can add it.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoUpdate compat.diff
Luis R. Rodriguez [Sat, 21 Mar 2009 02:56:49 +0000 (19:56 -0700)]
Update compat.diff

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agocompat.diff update for master-2009-03-19
Josh Watzman [Fri, 20 Mar 2009 17:12:43 +0000 (13:12 -0400)]
compat.diff update for master-2009-03-19

A trivial fix to allow compat-wireless to apply against current wireless-testing.

Signed-off-by: Josh Watzman <jwatzman@andrew.cmu.edu>
15 years agoAdd Marvell 88W8xxx PCI/PCIe Wireless support to compat-wireless
Hauke Mehrtens [Tue, 17 Mar 2009 22:29:43 +0000 (23:29 +0100)]
Add Marvell 88W8xxx PCI/PCIe Wireless support to compat-wireless

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoMake activation of debug options simpler and add some missing debug symbols.
Hauke Mehrtens [Wed, 11 Mar 2009 20:23:17 +0000 (21:23 +0100)]
Make activation of debug options simpler and add some missing debug symbols.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoRemove patch for net/wireless/nl80211.c this was reverted in wireless-testing.
Hauke Mehrtens [Tue, 17 Mar 2009 22:01:53 +0000 (23:01 +0100)]
Remove patch for net/wireless/nl80211.c this was reverted in wireless-testing.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoRemove unnecessary diffs for LED enum in zd1211rw
Hauke Mehrtens [Tue, 17 Mar 2009 22:01:22 +0000 (23:01 +0100)]
Remove unnecessary diffs for LED enum in zd1211rw

The conflicting header file is not include in compat.h for a long time. This diff is not needed any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agocompat.diff update for master-2009-03-17
Hauke Mehrtens [Tue, 17 Mar 2009 21:59:14 +0000 (22:59 +0100)]
compat.diff update for master-2009-03-17

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agocompat-2.6: Fix admin-update.sh creating spurious unaligned/unaligned/ directory
Max Bowsher [Fri, 13 Mar 2009 21:52:40 +0000 (21:52 +0000)]
compat-2.6: Fix admin-update.sh creating spurious unaligned/unaligned/ directory

I noticed that if compat-wireless-2.6's admin-update.sh is run twice in
a row without cleaning, it erroneously copies the
include/linux/unaligned/* files into an
include/linux/unaligned/unaligned/ directory.

Patch below making trivial changes to the script to avoid this.

If admin-update.sh was run twice without an admin-clean.sh, a spurious
additional /unaligned/ path component was created.

Signed-off-by: Max Bowsher <maxb@f2s.com>
15 years agoupdate compat.diff for zd1211rw
Luis R. Rodriguez [Mon, 2 Mar 2009 20:41:14 +0000 (12:41 -0800)]
update compat.diff for zd1211rw

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoUpdate compat.diff
pat-lkml [Sat, 28 Feb 2009 01:14:32 +0000 (20:14 -0500)]
Update compat.diff

This updates compat.diff for wireless-testing commit
68a4ef439847ed4bc07f17d398fe06c34f15d5da

Signed-off-by: Pat Erley<pat-lkml@erley.org>
15 years agocompat-2.6: Add place holder for CONFIG_MAC80211_DEBUGFS in config.mk
Larry Finger [Fri, 20 Feb 2009 02:54:25 +0000 (18:54 -0800)]
compat-2.6: Add place holder for CONFIG_MAC80211_DEBUGFS in config.mk

It is difficult to help someone debug a rate-setting problem when using
compat-wireless because debugging is not set for mac80211. With this patch
the place holder is in the make file even though the debug option is not
set, and it will be easier to coach a user on turning it on.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
15 years agocompat.diff update for master-2009-02-18
Hauke Mehrtens [Thu, 19 Feb 2009 17:24:32 +0000 (18:24 +0100)]
compat.diff update for master-2009-02-18

Revert

commit 65949939dd23bcde83dc0fa56dd5932eda38c050:
"nl80211: lock rtnl around all operation"

from wireless-testing for kernels older than 2.6.30.

This also adds at76c50x-usb driver and accounts for the
move of include/net/ieee80211.h to its ipw home where it
belongs.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoRevert "Revert "compat-2.6: reflect changes to iwlwifi Kconfig file""
Luis R. Rodriguez [Thu, 19 Feb 2009 18:24:11 +0000 (10:24 -0800)]
Revert "Revert "compat-2.6: reflect changes to iwlwifi Kconfig file""

This essentially re-applies the kconfig patch now.

This reverts commit 35fe528611e6a82f5e76fd02583437909a53593b.

15 years agoRevert "compat-2.6: reflect changes to iwlwifi Kconfig file"
Luis R. Rodriguez [Fri, 13 Feb 2009 23:02:55 +0000 (15:02 -0800)]
Revert "compat-2.6: reflect changes to iwlwifi Kconfig file"

This hasn't been merged yet

This reverts commit f21d5575b16abfa62e2855b2c6ad203b424065e0.

15 years agoCONFIG_MAC80211 is required for skb structures on older kernels
Vitja Makarov [Fri, 13 Feb 2009 22:39:00 +0000 (14:39 -0800)]
CONFIG_MAC80211 is required for skb structures on older kernels

Without this you won't get skb->do_not_encrypt on 2.6.27 and
skb->requeue on 2.6.28. We bail out if you don't have this
enabled otherwise your kernel will crash.

Signed-off-by: Vitja Makarov <vitja.makarov@gmail.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoUpdate compat.diff to reflect some more changes
Luis R. Rodriguez [Fri, 13 Feb 2009 22:37:00 +0000 (14:37 -0800)]
Update compat.diff to reflect some more changes

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agocompat-2.6: reflect changes to iwlwifi Kconfig file
Reinette Chatre [Fri, 13 Feb 2009 21:15:59 +0000 (13:15 -0800)]
compat-2.6: reflect changes to iwlwifi Kconfig file

- CONFIG_IWLWIFI is now a tristate, select it to be 'm'
- CONFIG_IWLCORE has been removed
- CONFIG_IWLAGN_SPECTRUM_MEASUREMENT renamed to
  CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT
- CONFIG_IWLAGN_LEDS has been removed (not used by driver)
- CONFIG_IWL3945_RFKILL does not exist

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
15 years agocompat-wireless: compat.diff update for latest wireless-testing
Pat Erley [Fri, 13 Feb 2009 22:19:55 +0000 (14:19 -0800)]
compat-wireless: compat.diff update for latest wireless-testing

Wireless testing now includes scan.o, patch needs to reflect that.

Signed-off-by: Pat Erley <pat-lkml@erley.org>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoUpdate compat.diff for master-2009-02-10
Luis R. Rodriguez [Wed, 11 Feb 2009 07:53:24 +0000 (23:53 -0800)]
Update compat.diff for master-2009-02-10

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoDo not call 'make modules' again when doing 'make install'
Luis R. Rodriguez [Sat, 7 Feb 2009 02:01:59 +0000 (18:01 -0800)]
Do not call 'make modules' again when doing 'make install'

This should increase the speed of a make install.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoMake minstrel rate control default by overriding kernel config
Luis R. Rodriguez [Sat, 7 Feb 2009 01:17:06 +0000 (17:17 -0800)]
Make minstrel rate control default by overriding kernel config

We do this by making rate.c use our own
CONFIG_COMPAT_MAC80211_RC_DEFAULT. This should help on
2.6.27 where minstrel was not available and pid was default.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoAdd support for compressed modules (Mandriva Linux uses this)
Luis R. Rodriguez [Sat, 7 Feb 2009 01:09:32 +0000 (17:09 -0800)]
Add support for compressed modules (Mandriva Linux uses this)

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoPort new net_device_ops changes, this ports work from:
Luis R. Rodriguez [Wed, 4 Feb 2009 08:53:05 +0000 (00:53 -0800)]
Port new net_device_ops changes, this ports work from:

    mac80211: convert master interface to netdev_ops
    mac80211: convert to net_device_ops

2.6.27 and 2.6.28 get the old stuff.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoReverts net_device ops compat patch, as it was reverted on wl
Luis R. Rodriguez [Mon, 2 Feb 2009 17:58:16 +0000 (09:58 -0800)]
Reverts net_device ops compat patch, as it was reverted on wl

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoAdds WARN_ONCE
Luis R. Rodriguez [Fri, 30 Jan 2009 16:10:44 +0000 (08:10 -0800)]
Adds WARN_ONCE

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoUpdate: eeprom_93cx6 changed directory
Hauke Mehrtens [Thu, 29 Jan 2009 19:35:04 +0000 (20:35 +0100)]
Update: eeprom_93cx6 changed directory

15 years agoUpdate compat.diff to handle net_dev ops change in mac80211
Luis R. Rodriguez [Wed, 28 Jan 2009 20:06:00 +0000 (12:06 -0800)]
Update compat.diff to handle net_dev ops change in mac80211

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoTypo fix on README
Luis R. Rodriguez [Sun, 25 Jan 2009 03:21:16 +0000 (19:21 -0800)]
Typo fix on README

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoUpdates compat.diff
Luis R. Rodriguez [Fri, 23 Jan 2009 20:57:35 +0000 (12:57 -0800)]
Updates compat.diff

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoCONFIG_IWLWIFI is bool now
Luis R. Rodriguez [Thu, 22 Jan 2009 19:48:55 +0000 (11:48 -0800)]
CONFIG_IWLWIFI is bool now

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>