openwrt/staging/blogic.git
14 years agocompat-wireless: fix patches/16-bluetooth.patch
Luis R. Rodriguez [Fri, 12 Feb 2010 23:35:38 +0000 (15:35 -0800)]
compat-wireless: fix patches/16-bluetooth.patch

net/bluetooth/hidp/core.c changd upstream with some hunks,
it needed a new clean refresh aroudn hunk #2 and #4.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoRun admin-update-.sh refresh for 2010-02-01
Luis R. Rodriguez [Mon, 1 Feb 2010 21:44:49 +0000 (13:44 -0800)]
Run admin-update-.sh refresh for 2010-02-01

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agocompat-wireless: fix bluetooth capi build
Hauke Mehrtens [Thu, 21 Jan 2010 21:29:48 +0000 (22:29 +0100)]
compat-wireless: fix bluetooth capi build

This backports patch 9a58a80a701bdb2d220cdab4914218df5b48d781
"proc_fops: convert drivers/isdn/ to seq_file" from linux-next.

compile tested only

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years ago./scripts/admin-update.sh refresh
Luis R. Rodriguez [Wed, 20 Jan 2010 19:33:49 +0000 (11:33 -0800)]
./scripts/admin-update.sh refresh

This is based on next-20100120

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoCopy over the new udev scripts/rules from compat.git
Luis R. Rodriguez [Wed, 20 Jan 2010 19:33:02 +0000 (11:33 -0800)]
Copy over the new udev scripts/rules from compat.git

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoOnly build compat_firmware_class if CONFIG_FW_LOADER was enabled
Luis R. Rodriguez [Wed, 20 Jan 2010 19:29:36 +0000 (11:29 -0800)]
Only build compat_firmware_class if CONFIG_FW_LOADER was enabled

This prevents bothering with building compat_firmware_class if your
kernel lacks CONFIG_FW_LOADER support.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoFix driver_select for ar9170
Luis R. Rodriguez [Wed, 20 Jan 2010 19:16:43 +0000 (11:16 -0800)]
Fix driver_select for ar9170

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoEnable CONFIG_COMPAT_FIRMWARE_CLASS for kernels < 2.6.33
Luis R. Rodriguez [Thu, 14 Jan 2010 01:56:18 +0000 (17:56 -0800)]
Enable CONFIG_COMPAT_FIRMWARE_CLASS for kernels < 2.6.33

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoFix typo on 06-header-changes.patch
Luis R. Rodriguez [Thu, 14 Jan 2010 01:24:33 +0000 (17:24 -0800)]
Fix typo on 06-header-changes.patch

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years ago./scripts/admin-update.sh refresh
Luis R. Rodriguez [Wed, 13 Jan 2010 23:10:16 +0000 (15:10 -0800)]
./scripts/admin-update.sh refresh

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agocompat-wireless: fix constant name
Hauke Mehrtens [Wed, 13 Jan 2010 21:29:05 +0000 (22:29 +0100)]
compat-wireless: fix constant name

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agocompat-wireless: missing ksize export
Hauke Mehrtens [Wed, 13 Jan 2010 21:29:04 +0000 (22:29 +0100)]
compat-wireless: missing ksize export

ksize is used two times now in net/wireless/scan.c
This changes the check into false, if the kernel does not export ksize.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agoDisable 2.6.24 for ath9k and ath5k
Luis R. Rodriguez [Wed, 13 Jan 2010 19:36:58 +0000 (11:36 -0800)]
Disable 2.6.24 for ath9k and ath5k

This requires porting the new patch:

"mac80211: fix skb buffering issue"

Which uses multiqueue.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoAdd backport for netns for kernels <= 2.6.24 for 802.11
Luis R. Rodriguez [Wed, 13 Jan 2010 19:29:34 +0000 (11:29 -0800)]
Add backport for netns for kernels <= 2.6.24 for 802.11

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoBackport access to pcidev->is_pcie member for kernels < 2.6.24
Luis R. Rodriguez [Wed, 13 Jan 2010 19:06:55 +0000 (11:06 -0800)]
Backport access to pcidev->is_pcie member for kernels < 2.6.24

Older kernels than 2.6.24 do not have the is_pcie member as part of
the struct pci_dev, to help with that we use the compat-2.6.24.c supplied
compat_is_pcie() when needed.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoEnable 2.6.23 for ath9k and ath5k
Luis R. Rodriguez [Wed, 13 Jan 2010 19:04:35 +0000 (11:04 -0800)]
Enable 2.6.23 for ath9k and ath5k

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoFix a few typos on config.mk and the new enable olde kernel patches
Luis R. Rodriguez [Wed, 13 Jan 2010 19:03:30 +0000 (11:03 -0800)]
Fix a few typos on config.mk and the new enable olde kernel patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoFix driver-select for ath9k and ath5k
Luis R. Rodriguez [Wed, 13 Jan 2010 00:41:28 +0000 (16:41 -0800)]
Fix driver-select for ath9k and ath5k

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoRan ./scripts/admin-update.sh refresh
Luis R. Rodriguez [Tue, 12 Jan 2010 23:53:28 +0000 (15:53 -0800)]
Ran ./scripts/admin-update.sh refresh

Thanks Haukes, its working now :D

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoEnable CONFIG_BT_CMTP only if CONFIG_BT_CMTP is enabled
Luis R. Rodriguez [Tue, 12 Jan 2010 23:49:51 +0000 (15:49 -0800)]
Enable CONFIG_BT_CMTP only if CONFIG_BT_CMTP is enabled

Reported-by: Ozan Çağlayan <ozan@pardus.org.tr>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoDisable bluetooth compat for kernels older than 2.6.27
Luis R. Rodriguez [Tue, 12 Jan 2010 23:46:48 +0000 (15:46 -0800)]
Disable bluetooth compat for kernels older than 2.6.27

The 802.11 subsystem can be built as a whole down to 2.6.25 but
bluetooth is currently only backported down to 2.6.27 so disable
bluetooth for any kernel older than 2.6.27.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoPrevent CONFIG_COMPAT_BLUETOOTH_* options from going to compat_autoconf.h
Luis R. Rodriguez [Tue, 12 Jan 2010 23:39:11 +0000 (15:39 -0800)]
Prevent CONFIG_COMPAT_BLUETOOTH_* options from going to compat_autoconf.h

The include/linux/compat_autoconf.h is used to let drivers know of
options we have selected. The scripts used to generate will grep for
all config options on config.mk which start with CONFIG_. By adding
a space we prevent it from adding options.

By preventing it from appearing on compat_autoconf.h it lets us
selectively disable building bluetooth under certain conditions,
which we will do next in a separate patch.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoMove down bluetooth config.mk options
Luis R. Rodriguez [Tue, 12 Jan 2010 23:35:07 +0000 (15:35 -0800)]
Move down bluetooth config.mk options

We'll make some more changes to this later. I move this as a
separate patch to make the other changes more easier to review.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agocompat-wireless: remove device_type in usbnet.c
Hauke Mehrtens [Tue, 12 Jan 2010 22:46:27 +0000 (23:46 +0100)]
compat-wireless: remove device_type in usbnet.c

This fixes compile warning
drivers/net/usb/usbnet.c:1279: warning: ‘wlan_type’ defined but not used
drivers/net/usb/usbnet.c:1283: warning: ‘wwan_type’ defined but not used

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agocompat-wireless: Backport netdev_ops select_queue
Hauke Mehrtens [Tue, 12 Jan 2010 22:46:26 +0000 (23:46 +0100)]
compat-wireless: Backport netdev_ops select_queue

eth_mac_addr was added to dataif, but it should be monitor

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agoActually copy over the new headers from compat
Luis R. Rodriguez [Tue, 12 Jan 2010 02:26:15 +0000 (18:26 -0800)]
Actually copy over the new headers from compat

The last 3 patches removed carrying around some upstream
headers but we forgot to ensure compat-wireless copies them
over to our local tree.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoStop carrying around the include/linux/unaligned stuff
Luis R. Rodriguez [Tue, 12 Jan 2010 02:21:26 +0000 (18:21 -0800)]
Stop carrying around the include/linux/unaligned stuff

The compat module will take care of that for us now.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoStop carrying around pm_qos_params.h
Luis R. Rodriguez [Tue, 12 Jan 2010 02:19:38 +0000 (18:19 -0800)]
Stop carrying around pm_qos_params.h

This is now carried by compat and completey implemented
in a the self contained module compat.ko. Its up to
compat to keep itself up to date with the kernel's
implementation.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoStop carrying around bitops.h header
Luis R. Rodriguez [Tue, 12 Jan 2010 02:18:33 +0000 (18:18 -0800)]
Stop carrying around bitops.h header

The compat module now does this for us so we don't have
to do it ourselves. We just need to ensure to copy compat
and its headers into our path.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoAdd support for driver-select to enable older kernels
Luis R. Rodriguez [Mon, 11 Jan 2010 18:25:41 +0000 (10:25 -0800)]
Add support for driver-select to enable older kernels

compat-wireless currently works as a whole down to 2.6.25.
The excemption to this is ar9170 which cannot yet be backported
due to the urb anchor poisoning which we haven't figured out
how to back port (not sure if its even possible). Sometimes
though we want to push backports down even further. In those
cases we don't want to have to force ourselves to port
the entire package down but maybe just a single driver.

For that we add support for through the files

enable-old-kernels/enable-2.6.2x.patch

Force the patch to be applied on the driver select
for your driver. We now enable ath5k and ath9k on
2.6.24.

Careful -- if you run driver-select on ath5k or ath9k
make sure to do:

git checkout config.mk
git checkout Makefile
git checkout scripts/gen-compat-autoconf.sh

before commiting something on your git tree if
you are developing. Unless of course you know what
you are doing.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoUpdate error message on old unsupported kernels
Luis R. Rodriguez [Mon, 11 Jan 2010 18:11:25 +0000 (10:11 -0800)]
Update error message on old unsupported kernels

compat-wireless-2.6-old is deprecated as we can now use
compat-wireless itself but we just need to work extending
support for older kernels. It will also soon be possible
for users to enable older kernels by just selecting
one driver to compile.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoUpdate hunk offsets for 15-symbol-export-conflicts.patch
Luis R. Rodriguez [Mon, 11 Jan 2010 17:32:32 +0000 (09:32 -0800)]
Update hunk offsets for 15-symbol-export-conflicts.patch

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoUpdate 17-netdev-queue.patch offsets
Luis R. Rodriguez [Mon, 11 Jan 2010 17:31:54 +0000 (09:31 -0800)]
Update 17-netdev-queue.patch offsets

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoUpdate patch 01-netdev.patch offsets
Luis R. Rodriguez [Mon, 11 Jan 2010 17:21:45 +0000 (09:21 -0800)]
Update patch 01-netdev.patch offsets

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoFix iwlagn patch offset breakage
Luis R. Rodriguez [Mon, 11 Jan 2010 17:01:07 +0000 (09:01 -0800)]
Fix iwlagn patch offset breakage

This fixes the iwlagn patch breakage. The offests were really
off, stopping automatic scripts to continue.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoRemove pointless bt-install-scripts extra target
Luis R. Rodriguez [Wed, 6 Jan 2010 23:06:08 +0000 (15:06 -0800)]
Remove pointless bt-install-scripts extra target

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoUpdate patch hunks for next-20100106
Luis R. Rodriguez [Wed, 6 Jan 2010 22:57:07 +0000 (14:57 -0800)]
Update patch hunks for next-20100106

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoIntel removed uts header, update patch for that
Luis R. Rodriguez [Wed, 6 Jan 2010 22:34:17 +0000 (14:34 -0800)]
Intel removed uts header, update patch for that

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agocompat-wireless: small fixes to admin-update.sh
Hauke Mehrtens [Fri, 1 Jan 2010 16:21:12 +0000 (17:21 +0100)]
compat-wireless: small fixes to admin-update.sh

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agocompat-wireless: Refresh patches
Hauke Mehrtens [Fri, 1 Jan 2010 16:21:11 +0000 (17:21 +0100)]
compat-wireless: Refresh patches

This was done with "./scripts/admin-refresh.sh refresh"

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agoThis adds a refresh option to admin-update.sh using quilt.
Hauke Mehrtens [Fri, 1 Jan 2010 16:21:10 +0000 (17:21 +0100)]
This adds a refresh option to admin-update.sh using quilt.

It must run before applying all patches so an extra script will not work
so good. It applies all patches using quilt and automatically refreshes
then.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agocompat-wireless: Add missing file
Hauke Mehrtens [Fri, 1 Jan 2010 16:21:09 +0000 (17:21 +0100)]
compat-wireless: Add missing file

Add file missing in commit 377a5538e1edf8bdf432cc95abe806754de9cda3
compat-wireless: activate usbnet for kernel > 2.6.28

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agocompat-wireless: Activate ssb and libertas
Hauke Mehrtens [Fri, 1 Jan 2010 16:21:08 +0000 (17:21 +0100)]
compat-wireless: Activate ssb and libertas

Pcmcia is backported now. So activate ssb and libertas again.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agoUpdate patch hunk offsets for next-20091228
Luis R. Rodriguez [Tue, 29 Dec 2009 01:57:27 +0000 (17:57 -0800)]
Update patch hunk offsets for next-20091228

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agocompat-wireless: activate usbnet for kernel > 2.6.28
Hauke Mehrtens [Tue, 29 Dec 2009 01:36:55 +0000 (17:36 -0800)]
compat-wireless: activate usbnet for kernel > 2.6.28

Activate CONFIG_COMPAT_NET_USB_MODULES if the normal wireless system is build.
For kernel <= 2.6.28 usb_autopm_put_interface_async and usb_autopm_get_interface_async needs to be backported.
The new functions are used since commit 69ee472f2706371ca639de49b06df91615c07d8d in linux mainline.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agocompat-wireless: Backport net_device_ops set_mac_address
Hauke Mehrtens [Sat, 26 Dec 2009 21:46:00 +0000 (22:46 +0100)]
compat-wireless: Backport net_device_ops set_mac_address

Adds ieee80211_change_mac and eth_mac_addr into the backport code for net_device_ops

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agocompat-wireless: backport kfifo for libertas
Hauke Mehrtens [Sat, 26 Dec 2009 21:45:59 +0000 (22:45 +0100)]
compat-wireless: backport kfifo for libertas

First part of the kfifo backport.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agoCompat-wireless-2.6: Updated to fix bluetooth patch error
Huaxu Wan [Fri, 25 Dec 2009 09:22:25 +0000 (17:22 +0800)]
Compat-wireless-2.6: Updated to fix bluetooth patch error

Compat-wireless-2.6: Updated to fix bluetooth patch error

Keep the patch in step with the linux-next tree after the following
patch merged.

    commit 971beb83aeb2a309175682cf5683d64fd4591841
    Author: Roel Kluin <roel.kluin@gmail.com>
    Date:   Mon Dec 7 14:23:21 2009 +0100

        Bluetooth: Fix PTR_ERR return of wrong pointer in hidp_setup_hid()

        Return the PTR_ERR of the correct pointer.

Signed-off-by: Huaxu Wan <huaxu.wan@linux.intel.com>
14 years agocompat-2.6: New targets to compile bluetooth alone
Bala Shanmugam [Thu, 24 Dec 2009 11:24:28 +0000 (16:54 +0530)]
compat-2.6: New targets to compile bluetooth alone

Compiling compat-pacakage consumes more time
as both wireless and bluetooth modules are compiled.

For someone who wants to use bluetooth alone
compiling and installing wireless modules is unnecessary
and is time consuming.

New targets are declared to compile, install, uninstall, load
and unload bluetooth modules seperately.

Usage is updated in README.
Signed-off-by: Bala Shanmugam <sbalashanmugam@atheros.com>
14 years agocompat-wireless: Add more functions into netdev oops backport
Hauke Mehrtens [Tue, 22 Dec 2009 15:20:04 +0000 (16:20 +0100)]
compat-wireless: Add more functions into netdev oops backport

Add netdev->poll_controller, netdev->vlan_rx_register and netdev->set_multicast_list into the netdev_ops backport code in driver atl1c, atl1e and atlx.

This is compiling, but not really tested because I do not have these devices.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agocompat-wireless: modules declared as PHONY target in Makefile
Bala Shanmugam [Thu, 17 Dec 2009 12:42:25 +0000 (18:12 +0530)]
compat-wireless: modules declared as PHONY target in Makefile

When a particular file alone is modified in compat package, it is not compiled with make.
To compile the modified file compat package needs to be cleaned up and all files need to be compiled.
This is because all files are compiled in modules target, and file by name modules is not generated.
So this target will be considered up-to-date once compiled.

modules target is declared as PHONY target to avoid this problem.

I feel config.mk need not be included when KERNELRELEASE is not NULL as
it degrades the performance and doesn't make any difference.  Please comment.

Signed-off-by: Bala Shanmugam <sbalashanmugam@atheros.com>
14 years agocompat-wireless:Fixed bluetooth modules compilation issues.
Bala Shanmugam [Thu, 17 Dec 2009 12:54:56 +0000 (18:24 +0530)]
compat-wireless:Fixed bluetooth modules compilation issues.

Bluetooth modules in net/bluetooth were not compiled as
CONFIG macro in config.mk and Makefile are different.

Bluetooth modules has compilation issues as source code
is taken from linux-next.git tree.  Fixed the same.

Signed-off-by: Bala Shanmugam <sbalashanmugam@atheros.com>
14 years agoRemove -e from depmod
Luis R. Rodriguez [Sat, 12 Dec 2009 05:43:39 +0000 (21:43 -0800)]
Remove -e from depmod

Its not required.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoFix patch for atlx
Luis R. Rodriguez [Sat, 12 Dec 2009 05:35:13 +0000 (21:35 -0800)]
Fix patch for atlx

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoAdd backport for Atheros ethernet drivers: atl1x, atl1e, atl1c
Luis R. Rodriguez [Sat, 12 Dec 2009 05:33:56 +0000 (21:33 -0800)]
Add backport for Atheros ethernet drivers: atl1x, atl1e, atl1c

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoDisable network drivers for now, as b44 is disabled
Luis R. Rodriguez [Sat, 12 Dec 2009 03:53:31 +0000 (19:53 -0800)]
Disable network drivers for now, as b44 is disabled

Only wireless and bluetooth drivers are left enabled.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoFix rfkill - it was not being built
Luis R. Rodriguez [Sat, 12 Dec 2009 01:36:09 +0000 (17:36 -0800)]
Fix rfkill - it was not being built

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoUpdate patch hunk offsets for next-20091211
Luis R. Rodriguez [Fri, 11 Dec 2009 21:33:40 +0000 (13:33 -0800)]
Update patch hunk offsets for next-20091211

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoDisable libertas and few compat fixes
Luis R. Rodriguez [Fri, 11 Dec 2009 07:36:16 +0000 (23:36 -0800)]
Disable libertas and few compat fixes

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoFix compile for iwlagn due to new UTS release header changes
Luis R. Rodriguez [Fri, 11 Dec 2009 06:50:12 +0000 (22:50 -0800)]
Fix compile for iwlagn due to new UTS release header changes

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoAdd missing CONFIG_COMPAT tags to make wireless start building again
Luis R. Rodriguez [Fri, 11 Dec 2009 06:24:17 +0000 (22:24 -0800)]
Add missing CONFIG_COMPAT tags to make wireless start building again

Also renames compat.h to compat-2.6.h to match compat.git

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoUse linux/compat.h for rfkill backport
Luis R. Rodriguez [Fri, 11 Dec 2009 06:00:13 +0000 (22:00 -0800)]
Use linux/compat.h for rfkill backport

The compat patch was still using net/compat.h

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoFew fixes and disable ssb and b43, b43legacy, b44
Luis R. Rodriguez [Fri, 11 Dec 2009 05:45:28 +0000 (21:45 -0800)]
Few fixes and disable ssb and b43, b43legacy, b44

PCMCIA code changed on 2.6.33 and requires some backport work
on ssb and b43 pcmcia code. Lets disable this for now.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoLet this thing build without requiring CONFIG_BT=m
Luis R. Rodriguez [Fri, 11 Dec 2009 01:09:57 +0000 (17:09 -0800)]
Let this thing build without requiring CONFIG_BT=m

The Bluetooth port is separate from the Wireless port
so don't require CONFIG_BT=m to build this. We can do the
same for wireless but for now this at least lets Ubuntu
users build this thing -- Ubuntu currently ships with
CONFIG_BT=y from 2.6.27..2.6.31.

If we want to let compat-blutooth be available to Ubuntu
users on Ubuntu Lucid this config option will need to be
revised. The CONFIG_BT just builds net/bluetooth/bluetooth.c,
that's all -- so it seems worth it. Fedora is shipping with
CONFIG_BT=m , not sure about other distributions.

This also fixes some final touches to get the build
going again which I missed in my previous patches.

./scripts/drivers-select is likely very busted now.
We'll need to fix this.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoRemove old ONLY_CORE stuff
Luis R. Rodriguez [Fri, 11 Dec 2009 00:37:33 +0000 (16:37 -0800)]
Remove old ONLY_CORE stuff

This is from way back when we started building compat-wireless.
Today if we want to disable stuff we can just use the config.mk
or use things like the scripts/driver-select script.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoRe-order patch location and compat code
Luis R. Rodriguez [Fri, 11 Dec 2009 00:33:59 +0000 (16:33 -0800)]
Re-order patch location and compat code

The patches can now go on the top level dir as that
is all we ship with. The top level compat/ dir now
exists as the home of the copied compat module
and we build the compat module there.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoRemove our own compat*.[ch] files
Luis R. Rodriguez [Fri, 11 Dec 2009 00:05:03 +0000 (16:05 -0800)]
Remove our own compat*.[ch] files

We now use a common compat module shared between wireless
and bluetooth. No need to keep our own stuff around. The
./scripts/admin-update.sh now copies the compat stuff for
us upon refresh.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoAdd description for the bluetooth compat patch
Luis R. Rodriguez [Fri, 11 Dec 2009 00:04:26 +0000 (16:04 -0800)]
Add description for the bluetooth compat patch

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoMove bluetooth device_type changes to 14-device-type.patch
Luis R. Rodriguez [Thu, 10 Dec 2009 23:55:51 +0000 (15:55 -0800)]
Move bluetooth device_type changes to 14-device-type.patch

This belongs here.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoMove bluetooth netdev ops backport changes to compat/patches/01-netdev.patch
Luis R. Rodriguez [Thu, 10 Dec 2009 23:53:03 +0000 (15:53 -0800)]
Move bluetooth netdev ops backport changes to compat/patches/01-netdev.patch

compat/patches/01-netdev.patch already provides all the other netdev op
changes so keep adding more of them there. Each compat/patches/*.patch
file should be kept as separate as possible to be able to make that
stuff comprehensible.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoRename 17-bluetooth.patch to 16-bluetooth.patch
Luis R. Rodriguez [Thu, 10 Dec 2009 23:39:52 +0000 (15:39 -0800)]
Rename 17-bluetooth.patch to 16-bluetooth.patch

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoRemove 16-compat.patch
Luis R. Rodriguez [Thu, 10 Dec 2009 23:38:47 +0000 (15:38 -0800)]
Remove 16-compat.patch

This is all now merged part of compat.git so this not required anymore.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoUse linux-next instead of two separte trees
Luis R. Rodriguez [Thu, 10 Dec 2009 17:51:54 +0000 (09:51 -0800)]
Use linux-next instead of two separte trees

No need to use two separate trees, so just use linux-next
for both 802.11 updates and bluetooth updates.

What helps also is we'll be now using wireless-next for a clean
wireless history for pull requests for some drivesr that choose
to send pull requests and updates do go to linux-next for 802.11
updates in at about 1-2 days.

Bluetooth pushes changes to linux-next on a less regular basis due
to the smaller amount of changes kept track of on that tree.

What this means to users of compat-wireless is they'll get more
ready code being tested and used. The simplicity of maintaining
a tree with only one tree for upstream code outweighs the benefit
of getting the few random extra patches not yet queued up in
linux-next.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
14 years agoAdded compat-bluetooth to compat-wireless-2.6
Bala Shanmugam [Tue, 8 Dec 2009 07:35:42 +0000 (13:05 +0530)]
Added compat-bluetooth to compat-wireless-2.6

Added new scripts to load and unload wireless
and bluetooth modules seperately.

Compat is compiled as separate kernel module as
both wireless and bluetooth modules require it.

Compat Bluetooth has support to compile latest bluetooth code
for kernel versions 2.6.27 to 2.6.31.

Signed-off-by: Bala Shanmugam <sbalashanmugam@atheros.com>
14 years agoRefresh patches
Hauke Mehrtens [Sun, 29 Nov 2009 22:44:44 +0000 (23:44 +0100)]
Refresh patches

Refresh patches and add CONFIG_ATH9K_DEBUGFS

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agoFix build problem.
Hauke Mehrtens [Sun, 29 Nov 2009 22:44:16 +0000 (23:44 +0100)]
Fix build problem.

The mesh device in libertas uses the method lbs_mesh_dev_open and not lbs_dev_open
Add backport code for libipw_module.c

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
14 years agocompat-2.6: split netdev patch to libertas/main.c into two parts
Hin-Tak Leung [Sun, 29 Nov 2009 04:16:22 +0000 (04:16 +0000)]
compat-2.6: split netdev patch to libertas/main.c into two parts

Split netdev patch to libertas/main.c into two parts, one for
libertas/main.c and one for libertas/mesh.c, because of the file itself
was split in commit in wireless-testing:

commit a4c65e7720b22d0fa76da3b6d00a00bcffd036ab
Author: Holger Schurig <holgerschurig@gmail.com>
Date:   Wed Nov 25 13:10:15 2009 +0100

    libertas: moveing mesh-related functions into mesh.c

Signed-off-by: Hin-Tak Leung <htl10@users.sourceforge.net>
15 years agoRefresh patches
Hauke Mehrtens [Fri, 20 Nov 2009 22:01:53 +0000 (23:01 +0100)]
Refresh patches

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoRefresh config.mk
Hauke Mehrtens [Fri, 20 Nov 2009 22:01:52 +0000 (23:01 +0100)]
Refresh config.mk

Remove some unused symbols and add some new symbols.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoAdd IFF_DONT_BRIDGE definition to compat
Hauke Mehrtens [Fri, 20 Nov 2009 22:01:51 +0000 (23:01 +0100)]
Add IFF_DONT_BRIDGE definition to compat

The IFF_DONT_BRIDGE flag will not be interpreted by an old kernel, but
it does not hurt the kernel if it is set but not read by the non
wireless network code.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agodriver-selet: clarify why we have select_ath9k_driver
Luis R. Rodriguez [Fri, 13 Nov 2009 20:10:57 +0000 (12:10 -0800)]
driver-selet: clarify why we have select_ath9k_driver

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agodriver-select: remove double disable_var_01 for ath9k
Luis R. Rodriguez [Fri, 13 Nov 2009 20:08:26 +0000 (12:08 -0800)]
driver-select: remove double disable_var_01 for ath9k

The other disable_var_01 was being called when we called
select_ath_driver on the switch statement for ath9k.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agodriver-select: fix enabling debugging for ath9k and ath5k
Luis R. Rodriguez [Fri, 13 Nov 2009 20:06:19 +0000 (12:06 -0800)]
driver-select: fix enabling debugging for ath9k and ath5k

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoconfig.mk: add support for CONFIG_ATH9K_COMMON
Luis R. Rodriguez [Fri, 13 Nov 2009 20:04:20 +0000 (12:04 -0800)]
config.mk: add support for CONFIG_ATH9K_COMMON

For now this is under PCI but later on once we add ath9k_htc
we'll need to move this under a bus agnostic area.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoUpdate hunk offset for patches
Luis R. Rodriguez [Fri, 13 Nov 2009 19:49:48 +0000 (11:49 -0800)]
Update hunk offset for patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoDon't build SSB modules when SSB isn't present
Philip A Prindeville [Fri, 13 Nov 2009 19:22:59 +0000 (11:22 -0800)]
Don't build SSB modules when SSB isn't present

If you're building for a platform that has (for example) no SSB,
then having a single knob to turn to disable this is a major
win.  Especially if more devices get add later that are SSB-based.

Signed-off-by: Philip A Prindeville <philipp@redfish-solutions.com>
15 years agoAdd symbol CONFIG_RT2800_LIB
Hauke Mehrtens [Mon, 9 Nov 2009 22:56:09 +0000 (14:56 -0800)]
Add symbol CONFIG_RT2800_LIB

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agorefresh patches
Hauke Mehrtens [Mon, 9 Nov 2009 22:56:05 +0000 (14:56 -0800)]
refresh patches

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoFix two warnings
Hauke Mehrtens [Mon, 9 Nov 2009 22:55:55 +0000 (14:55 -0800)]
Fix two warnings

This fixes these two warnings:
drivers/net/wireless/ath/ath5k/base.c:202: warning: ‘ath5k_pci_suspend_compat’ defined but not used
drivers/net/wireless/ath/ath5k/base.c:216: warning: ‘ath5k_pci_resume_compat’ defined but not used

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoFix build problem, missing get_unaligned_le16
Hauke Mehrtens [Mon, 9 Nov 2009 22:55:37 +0000 (14:55 -0800)]
Fix build problem, missing get_unaligned_le16

This patch fixes the "implicit declaration of function
'get_unaligned_le16'" in drivers/net/wireless/libertas/assoc.c

CC: philipp_subx@redfish-solutions.com
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoFixes a pm patch for ath5k
Felix Bitterli [Mon, 2 Nov 2009 16:46:04 +0000 (08:46 -0800)]
Fixes a pm patch for ath5k

Signed-off-by: Felix Bitterli <ic.felix@gmail.com>
15 years agoFix drivers/net/wireless/Makefile patch
Luis R. Rodriguez [Mon, 2 Nov 2009 16:16:13 +0000 (08:16 -0800)]
Fix drivers/net/wireless/Makefile patch

This was failing due to the move of some old drivers
to staging.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoUpdate patch hunk offsets
Luis R. Rodriguez [Mon, 2 Nov 2009 16:09:37 +0000 (08:09 -0800)]
Update patch hunk offsets

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years ago09-threaded-irq.patch: update hunk offsets
Luis R. Rodriguez [Mon, 19 Oct 2009 02:37:41 +0000 (11:37 +0900)]
09-threaded-irq.patch: update hunk offsets

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agorename ieee80211_rx
Hauke Mehrtens [Sat, 17 Oct 2009 21:06:45 +0000 (23:06 +0200)]
rename ieee80211_rx

Rename ieee80211_rx to avoild conflicts with the export done by older
libipw. libipw in kernel 2.6.32 and older also exports a symbol named
ieee80211_rx. If libipw from normal kernel and mac80211 from
compat-wireless is loaded you will get an conflict.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 years agoconfig.mk: add ath debug to config.mk but leave it commented out
Luis R. Rodriguez [Thu, 15 Oct 2009 17:38:48 +0000 (10:38 -0700)]
config.mk: add ath debug to config.mk but leave it commented out

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoRemove Modules.marker file on make clean
Luis R. Rodriguez [Tue, 13 Oct 2009 22:30:14 +0000 (15:30 -0700)]
Remove Modules.marker file on make clean

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agocompat-2.6.32.h: cast const'd 4th argument on wireless_send_event()
Luis R. Rodriguez [Tue, 13 Oct 2009 22:46:56 +0000 (15:46 -0700)]
compat-2.6.32.h: cast const'd 4th argument on wireless_send_event()

2.6.32 constified the 4th argument to wireless_send_event(), we can
avoid these pesky warning by casting for older kernels.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agocompat-2.6.27: move include for iw_handler on the top
Luis R. Rodriguez [Tue, 13 Oct 2009 21:01:27 +0000 (14:01 -0700)]
compat-2.6.27: move include for iw_handler on the top

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
15 years agoShut up compiler on compiling mac80211 for unused variable
Luis R. Rodriguez [Tue, 13 Oct 2009 20:45:20 +0000 (13:45 -0700)]
Shut up compiler on compiling mac80211 for unused variable

We can avoid this compiler warning by using the used variable
on the if (0) branch as that is never going to happen anyway.

  CC [M]  /home/mcgrof/devel/compat-wireless-2.6/net/wireless/scan.o
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/scan.c: In function ‘cfg80211_bss_update’:
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/scan.c:422: warning: unused variable ‘used’

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