openwrt/staging/blogic.git
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Thu, 17 Nov 2011 21:23:41 +0000 (22:23 +0100)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: remove kfree_rcu() patch
Hauke Mehrtens [Thu, 17 Nov 2011 21:23:40 +0000 (22:23 +0100)]
compat-wireless: remove kfree_rcu() patch

kfree_rcu() is now backported in compat, this patch is not needed any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add support for kernel 3.2
Hauke Mehrtens [Thu, 17 Nov 2011 21:23:39 +0000 (22:23 +0100)]
compat-wireless: add support for kernel 3.2

Increase the maximum supported kernel version and generate COMPAT_3_3.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: support RHEL6 as a build target
John W. Linville [Thu, 17 Nov 2011 22:21:11 +0000 (17:21 -0500)]
compat-wireless: support RHEL6 as a build target

This patch enables compatibility with RHEL6 as a build target.  This
mostly includes changes to the configuration system.

Infrastructure is added to config.mk to provide a series of RHEL
compatibility definitions (e.g. CONFIG_COMPAT_RHEL_6_1).  A couple of
checks are added to set appropriate config options for RHEL6 kernels.
Finally, gen-compat-autoconf.sh is modified to correctly handle the
CONFIG_COMPAT_RHEL_* usage in config.mk.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
13 years agocompat-wireless: add CONFIG_COMPAT_BT_SOCK_CREATE_NEEDS_KERN
John W. Linville [Thu, 17 Nov 2011 23:15:47 +0000 (15:15 -0800)]
compat-wireless: add CONFIG_COMPAT_BT_SOCK_CREATE_NEEDS_KERN

An API change in the 2.6.33 timeframe made a number of bluetooth
functions require an extra parameter.  Some kernels (e.g. RHEL6)
backport that API change, and this allow us to accommodate them.

This adds CONFIG_COMPAT_BT_SOCK_CREATE_NEEDS_KERN to config.mk and
modifies an existing patch for the Bluetooth subsystem.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
13 years agocompat-wireless: remove leading whitespace from CONFIG_COMPAT_FIRMWARE_CLASS
John W. Linville [Thu, 17 Nov 2011 22:21:09 +0000 (17:21 -0500)]
compat-wireless: remove leading whitespace from CONFIG_COMPAT_FIRMWARE_CLASS

CONFIG_COMPAT_FIRMWARE_CLASS is being checked in compat-2.6.33.h, so it
needs to show-up in compat_autoconf.h.  Remove the leading whitespace,
so that gen-compat-autoconf.sh will treat it accordingly.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
13 years agocompat-wireless: add CONFIG_COMPAT_KFIFO setting to config.mk
John W. Linville [Thu, 17 Nov 2011 22:21:08 +0000 (17:21 -0500)]
compat-wireless: add CONFIG_COMPAT_KFIFO setting to config.mk

Signed-off-by: John W. Linville <linville@tuxdriver.com>
13 years agocompat-wireless: disable SKB TX status stamping in mac80211
Johannes Berg [Mon, 14 Nov 2011 16:14:49 +0000 (17:14 +0100)]
compat-wireless: disable SKB TX status stamping in mac80211

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
13 years agocompat-wireless: refresh patches for next-20111108
Luis R. Rodriguez [Tue, 8 Nov 2011 19:23:25 +0000 (11:23 -0800)]
compat-wireless: refresh patches for next-20111108

Synchs up with next-20111108

Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
13 years agocompat-wireless: backport rtlwifi PM
Hauke Mehrtens [Sun, 6 Nov 2011 21:23:41 +0000 (22:23 +0100)]
compat-wireless: backport rtlwifi PM

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Mon, 17 Oct 2011 21:20:44 +0000 (14:20 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
13 years agocompat-wireless: adapt moving brcm80211 to main area
Hauke Mehrtens [Thu, 13 Oct 2011 14:16:34 +0000 (16:16 +0200)]
compat-wireless: adapt moving brcm80211 to main area

brcm80211 is no staging driver any more and can be found in the main
area where all the other wireless drivers are now. There where some
changes needed for the move.
And BRCMFMAC does not depend on WEXT any more so remove that from
config.
BRCMFMAC does not build with kernel < 2.6.29, because
ndev->netdev_ops = NULL and ndev->netdev_ops == &brcmf_netdev_ops_pri
are not supported by the backport code for netdev_ops.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add struct padding to fix wext issue
Johannes Berg [Thu, 6 Oct 2011 20:05:39 +0000 (22:05 +0200)]
compat-wireless: add struct padding to fix wext issue

See description in the patch :-)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Thu, 6 Oct 2011 16:53:00 +0000 (18:53 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make driver-select only select complete lines
Johannes Berg [Thu, 6 Oct 2011 09:15:45 +0000 (11:15 +0200)]
compat-wireless: make driver-select only select complete lines

Otherwise we end up enabling CONFIG_FOOBAR if
only CONFIG_FOO is requested.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
13 years agocompat-wireless: deactivate sdio suspend in ath6kl with kernel < 2.6.34
Hauke Mehrtens [Tue, 4 Oct 2011 11:11:10 +0000 (13:11 +0200)]
compat-wireless: deactivate sdio suspend in ath6kl with kernel < 2.6.34

The API to sdio suspend changed in kernel 2.6.34 and it is not
backported by compat. Just deactivate it when compat-wireless is
compiled for such an old kernel.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Tue, 4 Oct 2011 11:11:09 +0000 (13:11 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Sat, 1 Oct 2011 10:33:18 +0000 (12:33 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Wed, 28 Sep 2011 20:42:03 +0000 (13:42 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
13 years agocompat-wireless: make patches apply again.
Hauke Mehrtens [Wed, 28 Sep 2011 18:42:46 +0000 (20:42 +0200)]
compat-wireless: make patches apply again.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: remove old config options
Hauke Mehrtens [Wed, 21 Sep 2011 17:06:17 +0000 (19:06 +0200)]
compat-wireless: remove old config options

Both config options have be removed from the Kconfig files in the
kernel and are not used by the code any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Wed, 21 Sep 2011 17:06:16 +0000 (19:06 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: update patches
Luis R. Rodriguez [Mon, 19 Sep 2011 18:53:39 +0000 (11:53 -0700)]
compat-wireless: update patches

Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
13 years agocompat-wireless: fix multiqueue patch
Luis R. Rodriguez [Mon, 19 Sep 2011 18:49:21 +0000 (11:49 -0700)]
compat-wireless: fix multiqueue patch

One offset was no longer in proper context, this required
manual intervention. I'm going to start annotating these for
record keeping purposes with this notation:

Manual-patch-fix

Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
13 years agocompat-wireless: activate CONFIG_B43_PHY_HT
Hauke Mehrtens [Wed, 31 Aug 2011 22:10:30 +0000 (00:10 +0200)]
compat-wireless: activate CONFIG_B43_PHY_HT

b43 HT-PHY is working now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Wed, 31 Aug 2011 22:10:29 +0000 (00:10 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Thu, 25 Aug 2011 20:33:43 +0000 (13:33 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Wed, 24 Aug 2011 11:15:41 +0000 (13:15 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: pm_qos_request_list was renamed to pm_qos_request
Hauke Mehrtens [Tue, 23 Aug 2011 11:36:06 +0000 (13:36 +0200)]
compat-wireless: pm_qos_request_list was renamed to pm_qos_request

In the following commit in linux-next pm_qos_request_list was renamed
to pm_qos_request:
commit b10ac0c24e4c618a99262ad47a1b0176f152883d
Author: Jean Pihet <j-pihet@ti.com>
Date:   Thu Aug 18 10:32:02 2011 +0200

    PM QoS: Minor clean-ups

Backporting it with a #define in compat did not worked as there is also
a function called pm_qos_request() and its name did not changed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Mon, 22 Aug 2011 15:08:05 +0000 (08:08 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
13 years agocompat-wireless: fix building with CONFIG_CFG80211_INTERNAL_REGDB
Hauke Mehrtens [Thu, 18 Aug 2011 11:45:04 +0000 (13:45 +0200)]
compat-wireless: fix building with CONFIG_CFG80211_INTERNAL_REGDB

When building with CONFIG_CFG80211_INTERNAL_REGDB set there is a db.txt
and genregdb.awk needed. $(srctree) contains the position of the kernel
source and not the position of the compat-wireless root directory.

Reported-by: Ed W <lists@wildgooses.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocomapt-wireless: make patches apply again
Hauke Mehrtens [Mon, 15 Aug 2011 18:30:54 +0000 (20:30 +0200)]
comapt-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add many fixes to driver-select
Hauke Mehrtens [Tue, 16 Aug 2011 13:24:42 +0000 (15:24 +0200)]
compat-wireless: add many fixes to driver-select

after driver-select was used it built often not needed modules. This is
now fixed for most options. Most of these problems where introduced
while a new driver was added to compat-wireless, but driver-select was
not updated.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: adapt moving of ethernet drivers
Hauke Mehrtens [Tue, 16 Aug 2011 13:24:41 +0000 (15:24 +0200)]
compat-wireless: adapt moving of ethernet drivers

The ethernet drivers where are not directly under drivers/net any more but now in drivers/net/ethernet/<vendor>.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: do not build libertas_sdio for kernel < 2.6.32
Hauke Mehrtens [Thu, 11 Aug 2011 10:59:07 +0000 (12:59 +0200)]
compat-wireless: do not build libertas_sdio for kernel < 2.6.32

if_sdio.c needs some new power management functions not available in
older kernel functions. When building for older kernel I get these
compiler errors:

/drivers/net/wireless/libertas/if_sdio.c: In function ‘if_sdio_power_save’:
/drivers/net/wireless/libertas/if_sdio.c:1071:2: error: implicit declaration of function ‘pm_runtime_put_sync’
/drivers/net/wireless/libertas/if_sdio.c: In function ‘if_sdio_power_restore’:
/drivers/net/wireless/libertas/if_sdio.c:1081:2: error: implicit declaration of function ‘pm_runtime_get_sync’
/drivers/net/wireless/libertas/if_sdio.c: In function ‘if_sdio_probe’:
/drivers/net/wireless/libertas/if_sdio.c:1231:2: error: implicit declaration of function ‘pm_runtime_put_noidle’
/drivers/net/wireless/libertas/if_sdio.c: In function ‘if_sdio_remove’:
/drivers/net/wireless/libertas/if_sdio.c:1268:2: error: implicit declaration of function ‘pm_runtime_get_noresume’

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: ath6kl moved to main area.
Hauke Mehrtens [Thu, 11 Aug 2011 10:59:06 +0000 (12:59 +0200)]
compat-wireless: ath6kl moved to main area.

ath6kl is now in the kernel main area and not in staging any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Tue, 9 Aug 2011 21:48:54 +0000 (14:48 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
13 years agocompat-wireless: add cfg80211-wext.h
Hauke Mehrtens [Tue, 9 Aug 2011 20:59:42 +0000 (22:59 +0200)]
compat-wireless: add cfg80211-wext.h

This file was spitted out of include/net/cfg80211.h so we should
also ship it.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: remove include of compat-2.6.h in cfg80211.h
Hauke Mehrtens [Tue, 9 Aug 2011 20:59:41 +0000 (22:59 +0200)]
compat-wireless: remove include of compat-2.6.h in cfg80211.h

The header file linux/compat-2.6.h is inclued through -include
$(M)/include/linux/compat-2.6.h in the main Makefile for a long time. This
includes all the compat-*.h files backporting some stuff needed to
compile on older kernels. We do not have to add this include into
cfg80211.h any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Tue, 2 Aug 2011 21:15:15 +0000 (23:15 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Wed, 27 Jul 2011 22:29:28 +0000 (15:29 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@qca.qualcomm.com>
13 years agocompat-wireless: fix netdev patch so it can be applied
Luis R. Rodriguez [Wed, 27 Jul 2011 22:27:40 +0000 (15:27 -0700)]
compat-wireless: fix netdev patch so it can be applied

Signed-off-by: Luis R. Rodriguez <lrodriguez@qca.qualcomm.com>
13 years agocompat-wireless: activate bcma support in b43
Hauke Mehrtens [Fri, 22 Jul 2011 16:50:15 +0000 (18:50 +0200)]
compat-wireless: activate bcma support in b43

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: copy include/crypto/aes.h now
Hauke Mehrtens [Fri, 22 Jul 2011 16:50:14 +0000 (18:50 +0200)]
compat-wireless: copy include/crypto/aes.h now

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: adapt some changes to atheros ethernet driver
Hauke Mehrtens [Fri, 22 Jul 2011 16:50:13 +0000 (18:50 +0200)]
compat-wireless: adapt some changes to atheros ethernet driver

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: fix build of b43 on older kernels.
Hauke Mehrtens [Fri, 22 Jul 2011 16:50:12 +0000 (18:50 +0200)]
compat-wireless: fix build of b43 on older kernels.

The structs in b43 changed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Fri, 22 Jul 2011 16:50:11 +0000 (18:50 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Wed, 20 Jul 2011 01:26:41 +0000 (18:26 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: deactivate sido suspend for brcmfmac on older kernels.
Hauke Mehrtens [Mon, 18 Jul 2011 17:36:13 +0000 (19:36 +0200)]
compat-wireless: deactivate sido suspend for brcmfmac on older kernels.

With this patch the build does not break any more because of this commit:

commit da68c4eb258cd9f3f0b8aeb7e46b8118bb6358b6
Author: Nicolas Pitre <nico@fluxnic.net>
Date:   Fri Mar 5 13:43:31 2010 -0800

    sdio: introduce API for special power management features

This build error occurs without the patch on linux-2.6.32.
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c: In function ‘brcmf_sdio_suspend’:
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c:1087:2: error: ‘mmc_pm_flag_t’ undeclared (first use in this function)
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c:1087:2: note: each undeclared identifier is reported only once for each function it appears in
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c:1087:16: error: expected ‘;’ before ‘sdio_flags’
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c:1088:2: warning: ISO C90 forbids mixed declarations and code
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c:1092:2: error: ‘sdio_flags’ undeclared (first use in this function)
/drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c:1092:2: error: implicit declaration of function ‘sdio_get_host_pm_caps’

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add some new config options for b43
Hauke Mehrtens [Sun, 17 Jul 2011 20:57:29 +0000 (22:57 +0200)]
compat-wireless: add some new config options for b43

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add rtl8192de
Hauke Mehrtens [Tue, 28 Jun 2011 18:38:52 +0000 (20:38 +0200)]
compat-wireless: add rtl8192de

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: do not set netlink seq.
Hauke Mehrtens [Tue, 28 Jun 2011 18:38:51 +0000 (20:38 +0200)]
compat-wireless: do not set netlink seq.

This member is not available in older kernel versions.

This was introduced in commit:
commit 9720bb3ab0b80659c63ed337eab66104a4156db0
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Tue Jun 21 09:45:33 2011 +0200

    nl80211: use netlink consistent dump feature for BSS dumps

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches for next-20110628
Luis R. Rodriguez [Tue, 28 Jun 2011 18:36:35 +0000 (11:36 -0700)]
compat-wireless: refresh patches for next-20110628

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix 11-dev-pm-ops.patch for intel drivers
Luis R. Rodriguez [Tue, 28 Jun 2011 18:33:41 +0000 (11:33 -0700)]
compat-wireless: fix 11-dev-pm-ops.patch for intel drivers

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Thu, 23 Jun 2011 23:54:05 +0000 (16:54 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix script for generating releases
Luis R. Rodriguez [Thu, 23 Jun 2011 23:53:09 +0000 (16:53 -0700)]
compat-wireless: fix script for generating releases

The SUBLEVEL is now ignored for 3.0 kernels.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: add some debug options.
Hauke Mehrtens [Tue, 21 Jun 2011 17:43:26 +0000 (19:43 +0200)]
compat-wireless: add some debug options.

These options are only needed for debugging so they are deactivated.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add CONFIG_B43_SSB and other b43 options.
Hauke Mehrtens [Tue, 21 Jun 2011 17:43:25 +0000 (19:43 +0200)]
compat-wireless: add CONFIG_B43_SSB and other b43 options.

CONFIG_B43_SSB is now needed to compile b43 with ssb support. The other
options are deactivated as the features they should activate are not
working for now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Tue, 21 Jun 2011 15:25:21 +0000 (17:25 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches for next-20110614
Luis R. Rodriguez [Tue, 14 Jun 2011 18:34:34 +0000 (11:34 -0700)]
compat-wireless: refresh patches for next-20110614

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix patch 29-sdio_no_suspend.patch
Luis R. Rodriguez [Tue, 14 Jun 2011 18:33:47 +0000 (11:33 -0700)]
compat-wireless: fix patch 29-sdio_no_suspend.patch

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: add bcma
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:42 +0000 (00:03 +0200)]
compat-wireless: add bcma

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add missing bluetooth header
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:41 +0000 (00:03 +0200)]
compat-wireless: add missing bluetooth header

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: update enable-older-kernels patches
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:40 +0000 (00:03 +0200)]
compat-wireless: update enable-older-kernels patches

Add to compat-3.0-stable

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: sync atheros-debug.mk with config.mk
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:39 +0000 (00:03 +0200)]
compat-wireless: sync atheros-debug.mk with config.mk

Add to compat-3.0-stable

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: activate CONFIG_RT2800{USB,PCI}_RT35XX by default.
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:38 +0000 (00:03 +0200)]
compat-wireless: activate CONFIG_RT2800{USB,PCI}_RT35XX by default.

This is now activated by default in the Kconfig so it should be save for us too.

Add to compat-3.0-stable

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: activate CARL9170_WPC by default
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:37 +0000 (00:03 +0200)]
compat-wireless: activate CARL9170_WPC by default

Add to compat-3.0-stable

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add missing header
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:36 +0000 (00:03 +0200)]
compat-wireless: add missing header

This adds mac80211_hwsim.h

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:35 +0000 (00:03 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: add support for kernel 3.XX
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:34 +0000 (00:03 +0200)]
compat-wireless: add support for kernel 3.XX

Now we are also generating CONFIG_COMPAT_KERNEL_3XX entries for kernel
3.XX kernels. This is the final patch needed to add support for kernel
3.0.
When using a 2.6.XX kernel it generates CONFIG_COMPAT_KERNEL_26XX
entries and all CONFIG_COMPAT_KERNEL_3XX entries and when using 3.XX
kernel it will generate only the needed CONFIG_COMPAT_KERNEL_3XX
entries.

Add to compat-3.0-stable

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: rename CONFIG_COMPAT_KERNEL_
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:33 +0000 (00:03 +0200)]
compat-wireless: rename CONFIG_COMPAT_KERNEL_

Rename CONFIG_COMPAT_KERNEL_XX to CONFIG_COMPAT_KERNEL_2_6_XX.
This is needed to support kernel version 3.XX. It will get
CONFIG_COMPAT_KERNEL_3_XX. This patch needs a additional change in
compat.git.

Add to compat-3.0-stable

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocomapt-wireless: move doku to the correct place in config.mk
Hauke Mehrtens [Thu, 9 Jun 2011 22:03:32 +0000 (00:03 +0200)]
comapt-wireless: move doku to the correct place in config.mk

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: revert usage of kfree_rcu
Hauke Mehrtens [Sun, 22 May 2011 10:47:07 +0000 (12:47 +0200)]
compat-wireless: revert usage of kfree_rcu

Backporting kfree_rcu() in compat does not work as
struct rcu_head->func is always interpreted as a pointer in older
kernel versions, but when using kfree_rcu() it is set to an offset.
rcu_head->func is used in some functions in the kernel not backported
by compat-wireless.

This patch is based on the patch posted by Ignacy Gawedzki <i@lri.fr>
on the mailing list.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: adapt rename of dev to sdev in b43
Hauke Mehrtens [Sun, 22 May 2011 10:47:06 +0000 (12:47 +0200)]
compat-wireless: adapt rename of dev to sdev in b43

Adapt changes from "b43: rename b43_wldev's field with ssb_device to sdev"

This was missing in commit "compat-wireless: fix applying of 09-threaded-irq.patch"

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agoRevert "compat-wireless: fix rfkill patches from applying"
Hauke Mehrtens [Sun, 22 May 2011 10:47:05 +0000 (12:47 +0200)]
Revert "compat-wireless: fix rfkill patches from applying"

The commit was removed from linux-next, so this backport patch should also be removed.

This reverts commit b8e46e19937710d2ae14731871cf8c45a0fc9d74.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Thu, 19 May 2011 21:52:06 +0000 (14:52 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix applying of 09-threaded-irq.patch
Luis R. Rodriguez [Thu, 19 May 2011 21:50:25 +0000 (14:50 -0700)]
compat-wireless: fix applying of 09-threaded-irq.patch

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix rfkill patches from applying
Luis R. Rodriguez [Thu, 19 May 2011 21:45:30 +0000 (14:45 -0700)]
compat-wireless: fix rfkill patches from applying

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix patch dealing with lbs_pr_err() / pr_err()
Luis R. Rodriguez [Thu, 19 May 2011 21:30:41 +0000 (14:30 -0700)]
compat-wireless: fix patch dealing with lbs_pr_err() / pr_err()

lbs_pr_err() was removed in preference for pr_err()

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix building of brcm80211
Hauke Mehrtens [Sat, 14 May 2011 18:00:27 +0000 (20:00 +0200)]
compat-wireless: fix building of brcm80211

The Broadcom brcm80211 driver now needs brcmutil.ko. Furthermore the
config options are now set to m to, most parts are build as module when
the options are set to m and y. Some options for this driver where at
the wrong position in config.mk.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: set CONFIG_COMPAT_STAGING=m
Hauke Mehrtens [Sat, 14 May 2011 18:00:26 +0000 (20:00 +0200)]
compat-wireless: set CONFIG_COMPAT_STAGING=m

If this is set to y and all CONFIG_BRCM* options are set to m it causes build
failures with kernel version < 2.6.36 as there is nothing build into
the kernel. Besides compat-wireless does not support build anything
into the kernel.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Mon, 16 May 2011 19:50:40 +0000 (12:50 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agoThe sched_scan patches changed context for a patch.
Johannes Berg [Fri, 13 May 2011 08:36:05 +0000 (10:36 +0200)]
The sched_scan patches changed context for a patch.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Wed, 11 May 2011 17:58:50 +0000 (10:58 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Wed, 11 May 2011 17:09:32 +0000 (19:09 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: enable RT33XX support.
Hauke Mehrtens [Tue, 10 May 2011 22:03:35 +0000 (00:03 +0200)]
compat-wireless: enable RT33XX support.

This is based on a patch by Walter Goldens.

RT2800PCI_RT35XX, RT2800PCI_RT53XX, RT2800USB_RT35XX and
RT2800USB_RT53XX are still experimental and deactivated because of that.

CC: Walter Goldens <goldenstranger@yahoo.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Tue, 10 May 2011 21:54:56 +0000 (14:54 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: add RTL8192SE driver
Hauke Mehrtens [Tue, 10 May 2011 11:11:35 +0000 (13:11 +0200)]
compat-wireless: add RTL8192SE driver

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Tue, 10 May 2011 11:11:34 +0000 (13:11 +0200)]
compat-wireless: make patches apply again

This part of the patch is now in wireless-testing.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: backport multicast filter in p54 for kernel < 2.6.35
Hauke Mehrtens [Wed, 27 Apr 2011 18:00:59 +0000 (20:00 +0200)]
compat-wireless: backport multicast filter in p54 for kernel < 2.6.35

The interface changed with kernel 2.6.35 and we have to backport these changes.

CC: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: fix compile problem with IRQF_ONESHOT
Hauke Mehrtens [Tue, 26 Apr 2011 21:49:44 +0000 (23:49 +0200)]
compat-wireless: fix compile problem with IRQF_ONESHOT

IRQF_ONESHOT was introduced in kernel 2.6.32 and wl12xx uses it.
This patch reverts back to the old behavior when older kernels are used.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: use function for setting queue_mapping
Hauke Mehrtens [Tue, 26 Apr 2011 19:17:11 +0000 (21:17 +0200)]
compat-wireless: use function for setting queue_mapping

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Tue, 26 Apr 2011 17:37:45 +0000 (10:37 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: fix patches/09-threaded-irq.patch
Luis R. Rodriguez [Tue, 26 Apr 2011 17:37:02 +0000 (10:37 -0700)]
compat-wireless: fix patches/09-threaded-irq.patch

Needed some manual work to fix two hunks.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: update config options
Hauke Mehrtens [Wed, 20 Apr 2011 21:35:12 +0000 (23:35 +0200)]
compat-wireless: update config options

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: fix build of atheros Ethernet drivers.
Hauke Mehrtens [Wed, 20 Apr 2011 21:35:11 +0000 (23:35 +0200)]
compat-wireless: fix build of atheros Ethernet drivers.

The Ethernet drivers where converted to a new hw_features netdev
attribute. For kernel < 2.6.39 this does not work.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Wed, 20 Apr 2011 21:35:10 +0000 (23:35 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: refresh patches for next-20110414
Luis R. Rodriguez [Fri, 15 Apr 2011 00:57:53 +0000 (17:57 -0700)]
compat-wireless: refresh patches for next-20110414

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
13 years agocompat-wireless: remove ar9170
Hauke Mehrtens [Fri, 8 Apr 2011 19:08:51 +0000 (21:08 +0200)]
compat-wireless: remove ar9170

ar9170 was replaced by carl9170 and is now removed from kernel.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
13 years agocompat-wireless: make patches apply again
Hauke Mehrtens [Thu, 7 Apr 2011 14:39:46 +0000 (16:39 +0200)]
compat-wireless: make patches apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>