openwrt/staging/blogic.git
12 years agocompat-wireless: driver-select: refactor select_drivers and eliminate redundant selec...
Steven Luo [Mon, 6 Aug 2012 17:52:32 +0000 (10:52 -0700)]
compat-wireless: driver-select: refactor select_drivers and eliminate redundant select_driver

These two functions are functionally identical when passed one argument,
and we'd also like to have the ability to modify Makefiles other than
drivers/net/wireless/Makefile the same way.  Introduce a
select_drivers_from_makefile which takes a Makefile argument, and
implement select_drivers using it.  Convert existing users of
select_driver to select_drivers, and remove the redundant function.

Signed-off-by: Steven Luo <steven@steven676.net>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add patch to make b44 work with < 2.6.36
Hauke Mehrtens [Wed, 1 Aug 2012 23:04:37 +0000 (01:04 +0200)]
compat-wireless: add patch to make b44 work with < 2.6.36

The following commit made b44 use 64 bit stats which are not supported
by kernel version < 2.6.36.

commit eeda8585522bcc173f91d6254dfa63e871087c54
Author: Kevin Groeneveld <kgroeneveld@gmail.com>
Date:   Tue Jul 17 17:46:01 2012 +0000

    b44: add 64 bit stats

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: backport tty termios changes
Luis R. Rodriguez [Tue, 24 Jul 2012 21:36:37 +0000 (14:36 -0700)]
compat-wireless: backport tty termios changes

This patch requires a manual backport:

commit adc8d746caa67fff4b53ba3e5163a6cbacc3b523
Author: Alan Cox <alan@linux.intel.com>
Date:   Sat Jul 14 15:31:47 2012 +0100

    tty: move the termios object into the tty

    This will let us sort out a whole pile of tty related races. The
    alternative would be to keep points and refcount the termios objects.
    However
    1. They are tiny anyway
    2. Many devices don't use the stored copies
    3. We can remove a pty special case

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
We cannot use compat.git for this given that the assignment
was not done through a static inline helper.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: really fix atl1c and alx for >= 2.6.28
Luis R. Rodriguez [Tue, 24 Jul 2012 20:17:34 +0000 (13:17 -0700)]
compat-wireless: really fix atl1c and alx for >= 2.6.28

This *really* fixes the config options:

mcgrof@flash ~/staging/compat-wireless-3.4-rc3-1-p $ ckmake 2.6.27..2.6.29
Going to use kernel ranges: 2.6.27..2.6.29
2.6.27 132635 <= 2.6.29 132637 <= 2.6.29 132637
2.6.27 132635 <= 2.6.28 132636 <= 2.6.29 132637
2.6.27 132635 <= 2.6.27 132635 <= 2.6.29 132637
Trying kernel 2.6.29-02062906-generic [OK]
Trying kernel 2.6.28-02062810-generic [OK]
Trying kernel 2.6.27-020627-generic [OK]

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix disabling atl1c / alx for >= 2.6.28
Luis R. Rodriguez [Tue, 24 Jul 2012 18:38:03 +0000 (11:38 -0700)]
compat-wireless: fix disabling atl1c / alx for >= 2.6.28

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh crap patches
Luis R. Rodriguez [Mon, 23 Jul 2012 23:42:23 +0000 (16:42 -0700)]
compat-wireless: refresh crap patches

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: remove pending reg mutex fix
Luis R. Rodriguez [Mon, 23 Jul 2012 23:41:01 +0000 (16:41 -0700)]
compat-wireless: remove pending reg mutex fix

This patch is now merged upstream on linux-next.git
as of next-20120723.

commit ebd0fd2b1a30aa836c28e758d8a57ecdfa85052f
Author: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Date:   Wed Jul 18 18:11:29 2012 +0530

    cfg80211: Fix mutex locking in reg_last_request_cell_base

    should fix the following issue

        [ 3229.815012] [ BUG: lock held when returning to user space! ]
        [ 3229.815016] 3.5.0-rc7-wl #28 Tainted: G        W  O
        [ 3229.815017]
        ------------------------------------------------
        [ 3229.815019] wpa_supplicant/5783 is leaving the kernel with locks still held!
        [ 3229.815022] 1 lock held by wpa_supplicant/5783:
        [ 3229.815023]  #0: (reg_mutex){+.+.+.}, at: [<fa65834d>]
        reg_last_request_cell_base+0x1d/0x60 [cfg80211]

Cc: Luis Rodriguez <mcgrof@gmail.com>
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Tested-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120723
Luis R. Rodriguez [Mon, 23 Jul 2012 23:36:29 +0000 (16:36 -0700)]
compat-wireless: refresh patches for next-20120723

Synchs with next-20120723.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: merge a pending reg fix onto linux-next-pending/
Luis R. Rodriguez [Fri, 20 Jul 2012 00:25:29 +0000 (17:25 -0700)]
compat-wireless: merge a pending reg fix onto linux-next-pending/

This merge this patch onto linux-next-pending/

commit ebd0fd2b1a30aa836c28e758d8a57ecdfa85052f
Author: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Date:   Wed Jul 18 18:11:29 2012 +0530

    cfg80211: Fix mutex locking in reg_last_request_cell_base

    should fix the following issue

        [ 3229.815012] [ BUG: lock held when returning to user space! ]
        [ 3229.815016] 3.5.0-rc7-wl #28 Tainted: G        W  O
        [ 3229.815017]
        ------------------------------------------------
        [ 3229.815019] wpa_supplicant/5783 is leaving the kernel with locks still held!
        [ 3229.815022] 1 lock held by wpa_supplicant/5783:
        [ 3229.815023]  #0: (reg_mutex){+.+.+.}, at: [<fa65834d>]
        reg_last_request_cell_base+0x1d/0x60 [cfg80211]

Cc: Luis Rodriguez <mcgrof@gmail.com>
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Tested-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: remove onus linux-next-pending/ patches
Luis R. Rodriguez [Fri, 20 Jul 2012 00:21:06 +0000 (17:21 -0700)]
compat-wireless: remove onus linux-next-pending/ patches

These are all now merged.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120719
Luis R. Rodriguez [Fri, 20 Jul 2012 00:19:51 +0000 (17:19 -0700)]
compat-wireless: refresh patches for next-20120719

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix patches/99-change-makefiles.patch
Luis R. Rodriguez [Fri, 20 Jul 2012 00:18:23 +0000 (17:18 -0700)]
compat-wireless: fix patches/99-change-makefiles.patch

Due to some new changes on the file.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix patches/18-rename-usb-net-symbols.patch
Luis R. Rodriguez [Fri, 20 Jul 2012 00:15:37 +0000 (17:15 -0700)]
compat-wireless: fix patches/18-rename-usb-net-symbols.patch

Make this apply again due to a new driver being added.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: update linux-next-pending/ onus patches
Luis R. Rodriguez [Fri, 13 Jul 2012 19:29:10 +0000 (12:29 -0700)]
compat-wireless: update linux-next-pending/ onus patches

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: remove linux-next-pending/ onus patches
Luis R. Rodriguez [Fri, 13 Jul 2012 19:26:44 +0000 (12:26 -0700)]
compat-wireless: remove linux-next-pending/ onus patches

These required an update, I'll provide the updated
versions next.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120713
Luis R. Rodriguez [Fri, 13 Jul 2012 19:09:19 +0000 (12:09 -0700)]
compat-wireless: refresh patches for next-20120713

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix patches/40-netdev-hw-features.patch for atl1e
Luis R. Rodriguez [Fri, 13 Jul 2012 01:59:55 +0000 (18:59 -0700)]
compat-wireless: fix patches/40-netdev-hw-features.patch for atl1e

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix atl1c_main.c hunk changes
Luis R. Rodriguez [Fri, 13 Jul 2012 00:38:47 +0000 (17:38 -0700)]
compat-wireless: fix atl1c_main.c hunk changes

The "fix" I used on the hunk actually messed up
compilation, this patch fixes that.

commit f6089f50430911ee72102c5ddb0a325a636ce491
Author: Luis R. Rodriguez <mcgrof@frijolero.org>
Date:   Thu Jul 12 15:31:56 2012 -0700

    compat-wireless: fix patches/40-netdev-hw-features.patch

    Some atl1c driver changes made a hunk there not apply and
    it required some manual fixes.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh crap patches
Luis R. Rodriguez [Thu, 12 Jul 2012 22:44:14 +0000 (15:44 -0700)]
compat-wireless: refresh crap patches

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: remove linux-next-pending/0006-ath5k-*.patch
Luis R. Rodriguez [Thu, 12 Jul 2012 22:42:51 +0000 (15:42 -0700)]
compat-wireless: remove linux-next-pending/0006-ath5k-*.patch

This is now upstream -- although the cfg80211 changes are not
yet merged.

commit 2f8684ce7a47c91da7e0ccba2686277c103d02b6
Author: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Date:   Fri Jul 6 15:21:51 2012 -0700

    ath5k: replace modparam_all_channels with CONFIG_ATH5K_TEST_CHANNELS

    This stashes away this feature from standard kernel builds.

Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120712
Luis R. Rodriguez [Thu, 12 Jul 2012 22:35:48 +0000 (15:35 -0700)]
compat-wireless: refresh patches for next-20120712

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix patches/40-netdev-hw-features.patch
Luis R. Rodriguez [Thu, 12 Jul 2012 22:31:56 +0000 (15:31 -0700)]
compat-wireless: fix patches/40-netdev-hw-features.patch

Some atl1c driver changes made a hunk there not apply and
it required some manual fixes.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: the iwmc3200wifi driver got axed
Luis R. Rodriguez [Thu, 12 Jul 2012 22:07:39 +0000 (15:07 -0700)]
compat-wireless: the iwmc3200wifi driver got axed

commit bdb903e499aa9dcc727a74942131ef948ebf2e1b
Author: John W. Linville <linville@tuxdriver.com>
Date:   Tue Jun 26 15:10:12 2012 -0400

    iwmc3200wifi: remove driver for unavailable hardware

    This hardware never became available to normal humans.  Leaving this
    driver imposes unwelcome maintenance costs for no clear benefit.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add v4 onus patches
Luis R. Rodriguez [Tue, 10 Jul 2012 19:12:05 +0000 (12:12 -0700)]
compat-wireless: add v4 onus patches

Updated the linux-next-pendign onus patches.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: remove v3 onus patches
Luis R. Rodriguez [Tue, 10 Jul 2012 19:11:03 +0000 (12:11 -0700)]
compat-wireless: remove v3 onus patches

There is a v4, will update next.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh crap patches with next-20120710
Luis R. Rodriguez [Tue, 10 Jul 2012 19:09:11 +0000 (12:09 -0700)]
compat-wireless: refresh crap patches with next-20120710

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120710
Luis R. Rodriguez [Tue, 10 Jul 2012 19:08:33 +0000 (12:08 -0700)]
compat-wireless: refresh patches for next-20120710

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add new v3 of cfg80211 onus patches
Luis R. Rodriguez [Tue, 10 Jul 2012 00:03:16 +0000 (17:03 -0700)]
compat-wireless: add new v3 of cfg80211 onus patches

These are not yet merged.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: remove cfg80211 certification onus pending patches
Luis R. Rodriguez [Mon, 9 Jul 2012 23:59:12 +0000 (16:59 -0700)]
compat-wireless: remove cfg80211 certification onus pending patches

A new iteration was sent, I'll update that next.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: remove linux-next-pending QCA955x support
Luis R. Rodriguez [Mon, 9 Jul 2012 23:56:35 +0000 (16:56 -0700)]
compat-wireless: remove linux-next-pending QCA955x support

This is now merged as of next-20120709

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: remove 802.11ad linux-next-pending patches
Luis R. Rodriguez [Mon, 9 Jul 2012 23:53:37 +0000 (16:53 -0700)]
compat-wireless: remove 802.11ad linux-next-pending patches

These are now merged as of next-20120709

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120709
Luis R. Rodriguez [Mon, 9 Jul 2012 22:32:48 +0000 (15:32 -0700)]
compat-wireless: refresh patches for next-20120709

Synchs with next-20120709

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agoAs compat includes linux/device.h well before iwlwifi, the
Johannes Berg [Tue, 3 Jul 2012 13:28:28 +0000 (15:28 +0200)]
As compat includes linux/device.h well before iwlwifi, the
definitions from there are used without DEBUG, but iwlwifi
defines DEBUG to get debug output. Use dev_printk instead
of dev_dbg to get debugging back.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix patches/55-iwlwifi-msg-trace-fix.patch
Luis R. Rodriguez [Mon, 9 Jul 2012 22:23:58 +0000 (15:23 -0700)]
compat-wireless: fix patches/55-iwlwifi-msg-trace-fix.patch

The dev_err() was moved to deb_dbg() in this patch upstream:

commit 346c265a48169d73a69c88ce9d6b65e6bb3b1f20
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Thu Jun 28 18:45:38 2012 +0200

    iwlwifi: fix debug message level

    Debug messages should be printed using dev_dbg() not
    dev_err() which requires DEBUG to be defined.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: Make target/compat branch check optional
Sujith Manoharan [Thu, 5 Jul 2012 07:29:04 +0000 (12:59 +0530)]
compat-wireless: Make target/compat branch check optional

The safety check to ensure that the target kernel and the
local compat-wireless branch are the same can be adjusted a
bit to allow users to generate stable releases from a temporary
branch.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add certification onus / base station pending patches
Luis R. Rodriguez [Tue, 3 Jul 2012 23:39:25 +0000 (16:39 -0700)]
compat-wireless: add certification onus / base station pending patches

These are posted on the mailing list. Excerpt from the cover letter:

===

This is a second series on the wireless expert idea patches
with one additional patch added. As discussed the wireless expert
name really was not doing justice to the intent behind what we
wanted to convey and allow. The CONFIG_CFG80211_CERTIFICATION_ONUS
is what folks seemed to agree on, I've gone ahead and added some
lanaguage which I think represents the intent behind the option
clearly.

I've also added an extra patch which adds a new type of regulatory
hint which actually makes use of the new kernel configuration option
CONFIG_CFG80211_CERTIFICATION_ONUS. In this case the option is designed
to allow userspace to classify userspace regulatory hints either as
coming from a user or a cellular base station. If devices have been
tested with such a feature the driver could be annotated as such, this
typically may require a set of testing / perhaps some communication to
the firmware.

Open solutions obviously allow users to hack up their own code and
send random data to the kernel, however the intent behind the new
kernel option CONFIG_CFG80211_CERTIFICATION_ONUS is to allow a new
type of hint which we *do* want to treat differently in kernel space
and drivers. Linux distribtuions / system integrators can use this
new regulatory hint by classifying the regulatory hint using a new
attribute. Exactly how userspace propagates the cellular base station
hint to the kernel is outside the exact scope of this series, however,
I suspect userspace cell base station models could end up using dbus
signals to trigger an event to signal the respective regulatory hint.
Using something like geoclue would make sense.

An interesting side effect of supporting this type of new regulatory
hint is addressing which type of hints takes precedence: do we trust
the cell base station hint over an Access Point's country IE? In this
series that is what we do, we prefer the cell base station hint over
other hints mainly to also simplify the implementation and design.
This also has implications with as to what gets applied to the core
and to other drivers. For example the core will always trust the
cell base station hint if CONFIG_CFG80211_CERTIFICATION_ONUS was
enabled *but* a driver may wish to want to ignore these type of
hints. In such case then the core, with a cell base station hint
present, would not be passing along country IE hints. This soft of
corner case must be considered.

We must also consider what we do upon suspend / disconnect. We follow
the tradition of the existing implementation of how we handle
disconnect / suspend -- we reset the regulatory core to its default,
just as if we had booted a device for the first time. We do this given
that possible scenerio that you got last a cell base station hint
in Japan but resume the device in the US, in such cases you could
not initiate radiation on channel 13, for example.

The way this is implemented however is to disable this feature unless
both CONFIG_CFG80211_CERTIFICATION_ONUS *and* the driver explicitly
enable this feature. As such regressions should only be found by
those users using the new feature and willing to participate on
the development of the feature / idea or the cell base station
regulatory hint.

Luis R. Rodriguez (4):
  cfg80211: add CONFIG_CFG80211_CERTIFICATION_ONUS
  ath5k: replace modparam_all_channels with CONFIG_ATH5K_TEST_CHANNELS
  ath9k: make CONFIG_ATH9K_DFS_CERTIFIED depend on
    CFG80211_CERTIFICATION_ONUS
  cfg80211: add cellular base station regulatory hint support

 drivers/net/wireless/ath/ath5k/Kconfig |    8 +++
 drivers/net/wireless/ath/ath5k/base.c  |   17 +++---
 drivers/net/wireless/ath/ath9k/Kconfig |    2 +-
 include/linux/nl80211.h                |   28 ++++++++++
 include/net/regulatory.h               |    4 ++
 net/wireless/Kconfig                   |   21 ++++++++
 net/wireless/nl80211.c                 |   15 +++++-
 net/wireless/reg.c                     |   88 +++++++++++++++++++++++++++++---
 net/wireless/reg.h                     |    4 +-
 9 files changed, 171 insertions(+), 16 deletions(-)

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: copy over net/wireless/ and net/mac80211 Kconfig
Luis R. Rodriguez [Tue, 3 Jul 2012 23:37:11 +0000 (16:37 -0700)]
compat-wireless: copy over net/wireless/ and net/mac80211 Kconfig

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add Gabor's pendign patches for AR9550
Luis R. Rodriguez [Tue, 3 Jul 2012 18:02:58 +0000 (11:02 -0700)]
compat-wireless: add Gabor's pendign patches for AR9550

These patches were posted by Gabor for ath9k. Below are
details extracted from his cover letter e-mail.

The patch-set adds initial support for the AR9550
wireless MAC into ath9k. This wireless MAC can be
found in the Qualcomm Atheros QCA955X SoCs. It is
a 3x3 chip and it supports both 2.4GHz and 5Ghz.

Gabor Juhos (20):
  ath9k: define DEVID for QCA955x
  ath9k: define MAC version for AR9550
  ath9k: set MAC version for AR9550
  ath9k: add platform_device_id for AR9550
  ath9k: add BB name string for AR9550
  ath9k: clear pciexpress flag for AR9550
  ath9k: enable TX/RX data byte swap for AR9550
  ath9k: add initvals for AR9550
  ath9k: add mode register initialization code for AR9550
  ath9k: read spur frequency information from eeprom for AR9550
  ath9k: fix XPABIASLEVEL settings for AR9550
  ath9k: fix antenna control configuration for AR9550
  ath9k: fix PAPRD settings for AR9550
  ath9k: fix RF channel frequency configuration for AR9550
  ath9k: disable SYNC_HOST1_FATAL interrupts for AR9550
  ath9k: skip internal regulator configuration for AR9550
  ath9k: fix PLL initialization for AR9550
  ath9k: enable PLL workaround for AR9550
  ath9k: set 4ADDRESS bit in RX filter for AR9550
  ath9k: enable support for AR9550

 drivers/net/wireless/ath/ath9k/ahb.c               |    4 +
 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c     |    7 +-
 drivers/net/wireless/ath/ath9k/ar9003_hw.c         |   87 ++-
 drivers/net/wireless/ath/ath9k/ar9003_paprd.c      |    2 +-
 drivers/net/wireless/ath/ath9k/ar9003_phy.c        |   72 +-
 drivers/net/wireless/ath/ath9k/ar9003_phy.h        |    6 +-
 .../net/wireless/ath/ath9k/ar955x_1p0_initvals.h   | 1284 ++++++++++++++++++++
 drivers/net/wireless/ath/ath9k/hw.c                |   40 +-
 drivers/net/wireless/ath/ath9k/hw.h                |    2 +
 drivers/net/wireless/ath/ath9k/mac.c               |    2 +-
 drivers/net/wireless/ath/ath9k/mac.h               |    1 +
 drivers/net/wireless/ath/ath9k/main.c              |    3 +-
 drivers/net/wireless/ath/ath9k/recv.c              |    3 +
 drivers/net/wireless/ath/ath9k/reg.h               |    4 +
 14 files changed, 1492 insertions(+), 25 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath9k/ar955x_1p0_initvals.h

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add pending 802.11ad pending patches
Luis R. Rodriguez [Tue, 3 Jul 2012 17:58:01 +0000 (10:58 -0700)]
compat-wireless: add pending 802.11ad pending patches

The only two remaining 802.11ad patches are related
to bit rates. I however did oppose the first patch
but throwing it in here for testing, and as there
is no other alternative yet.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: remove already applied 802.11ad patches
Luis R. Rodriguez [Tue, 3 Jul 2012 17:47:11 +0000 (10:47 -0700)]
compat-wireless: remove already applied 802.11ad patches

3 patches have been merged so far, remove them from the
linux-next-pending queue.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: drop patches/57-iwlwifi-debug-fix.patch for now
Luis R. Rodriguez [Tue, 3 Jul 2012 16:28:50 +0000 (09:28 -0700)]
compat-wireless: drop patches/57-iwlwifi-debug-fix.patch for now

Johannes indicated that the patch to change it *from*
dev_err *to* dev_dbg is only in my iwlwifi-next tree now.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120703
Luis R. Rodriguez [Tue, 3 Jul 2012 16:17:22 +0000 (09:17 -0700)]
compat-wireless: refresh patches for next-20120703

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix patches/57-iwlwifi-debug-fix.patch
Luis R. Rodriguez [Tue, 3 Jul 2012 16:16:29 +0000 (09:16 -0700)]
compat-wireless: fix patches/57-iwlwifi-debug-fix.patch

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agoAs compat includes linux/device.h well before iwlwifi, the
Johannes Berg [Tue, 3 Jul 2012 13:28:28 +0000 (15:28 +0200)]
As compat includes linux/device.h well before iwlwifi, the
definitions from there are used without DEBUG, but iwlwifi
defines DEBUG to get debug output. Use dev_printk instead
of dev_dbg to get debugging back.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix patches/24-pcmcia.patch for next-20120702
Luis R. Rodriguez [Tue, 3 Jul 2012 00:31:30 +0000 (17:31 -0700)]
compat-wireless: fix patches/24-pcmcia.patch for next-20120702

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix disabling of CONFIG_WIL6210
Luis R. Rodriguez [Fri, 29 Jun 2012 17:30:00 +0000 (10:30 -0700)]
compat-wireless: fix disabling of CONFIG_WIL6210

The ./scripts/gen-compat-autoconf.sh script is fragiile and
needs the comment in place to know what was the endif is that
we should add.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: disable wil6210 for kernels older than 2.6.30
Luis R. Rodriguez [Fri, 29 Jun 2012 15:16:59 +0000 (08:16 -0700)]
compat-wireless: disable wil6210 for kernels older than 2.6.30

wil6210 requires MSI only availble on >= 2.6.30.

signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>

12 years agocompat-wireless: remove -Werror from wil6210
Luis R. Rodriguez [Fri, 29 Jun 2012 00:55:28 +0000 (17:55 -0700)]
compat-wireless: remove -Werror from wil6210

This is making the build fail... Of course we will
have warnings when compiling against old kernels.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: stuff
Luis R. Rodriguez [Thu, 28 Jun 2012 23:06:19 +0000 (16:06 -0700)]
compat-wireless: stuff
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add the Wilocity wil6210 802.11ad / 60 GHz driver
Luis R. Rodriguez [Thu, 28 Jun 2012 22:16:14 +0000 (15:16 -0700)]
compat-wireless: add the Wilocity wil6210 802.11ad / 60 GHz driver

This driver is still under development however some this driver
can now be used in monitor mode. Due to hardware limitation it
captures either only CP (control PHY) or DP (data PHY) frames.

Test compiled against 2.6.24..3.4

mcgrof@flash ~/devel/compat-wireless (git::master)$ ./scripts/driver-select wil6210
Processing new driver-select request...
Backing up makefile: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backing up makefile: drivers/net/wireless/Makefile.bk
Backing up makefile: drivers/net/wireless/ath/Makefile.bk
Backing up makefile: net/wireless/Makefile.bk
Backing up makefile: drivers/ssb/Makefile.bk
Backing up makefile: drivers/bcma/Makefile.bk
Backing up makefile: drivers/misc/eeprom/Makefile.bk
Backup exists: Makefile.bk

mcgrof@flash ~/devel/compat-wireless (git::master)$ ckmake
Trying kernel  3.4.0-030400rc4-generic [OK]
Trying kernel  3.3.3-030303-generic [OK]
Trying kernel  3.2.2-030202-generic [OK]
Trying kernel  3.1.10-030110-generic [OK]
Trying kernel  3.0.18-030018-generic [OK]
Trying kernel  2.6.39-02063904-generic [OK]
Trying kernel  2.6.38-02063808-generic [OK]
Trying kernel  2.6.37-02063706-generic [OK]
Trying kernel  2.6.36-02063604-generic [OK]
Trying kernel  2.6.35-02063512-generic [OK]
Trying kernel  2.6.34-02063410-generic [OK]
Trying kernel  2.6.33-02063305-generic [OK]
Trying kernel  2.6.32-02063255-generic [OK]
Trying kernel  2.6.31-02063113-generic [OK]
Trying kernel  2.6.30-02063010-generic [OK]
Trying kernel  2.6.29-02062906-generic [OK]
Trying kernel  2.6.28-02062810-generic [OK]
Trying kernel  2.6.27-020627-generic [OK]
Trying kernel  2.6.26-020626-generic [OK]
Trying kernel  2.6.25-020625-generic [OK]
Trying kernel  2.6.24-020624-generic [OK]

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix compilation of ti/wlcore/main.c
Luis R. Rodriguez [Thu, 28 Jun 2012 21:11:40 +0000 (14:11 -0700)]
compat-wireless: fix compilation of ti/wlcore/main.c

Forgot to propagate the irq name change.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120628
Luis R. Rodriguez [Thu, 28 Jun 2012 17:47:48 +0000 (10:47 -0700)]
compat-wireless: refresh patches for next-20120628

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: remove patches/49-rename_path_lookup.patch
Luis R. Rodriguez [Thu, 28 Jun 2012 17:46:39 +0000 (10:46 -0700)]
compat-wireless: remove patches/49-rename_path_lookup.patch

This is no longer required as this was addressed upstream via:

commit 5ad20dd1480dc557afcec19ac7fae5581264dd59
Author: Luis R. Rodriguez <mcgrof@frijolero.org>
Date:   Tue Feb 7 21:09:25 2012 -0800

    mac80211: rename mesh static path_lookup()

    If you want to use mesh support from mac80211 on a recent
    kernel on 2.6.24 you'll run into a name clash when compiling
    against include/linux/namei.h, so rename this routine.

    /home/mcgrof/tmp/compat-wireless-3.2.5-1/net/mac80211/mesh_pathtbl.c: At top level:
    /home/mcgrof/tmp/compat-wireless-3.2.5-1/net/mac80211/mesh_pathtbl.c:342:26: error: conflicting types for ‘path_lookup’
    include/linux/namei.h:71:12: note: previous declaration of ‘path_lookup’ was here

    Although this could sit as a separate patch in compat-wireless it seems
    best to just merge upstream.

Cc: Javier Cardona <javier@cozybit.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Acked-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix patches/44-deactivate-mac80211-tracing.patch
Luis R. Rodriguez [Thu, 28 Jun 2012 17:42:37 +0000 (10:42 -0700)]
compat-wireless: fix patches/44-deactivate-mac80211-tracing.patch

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix patches/09-threaded-irq.patch
Luis R. Rodriguez [Thu, 28 Jun 2012 17:39:13 +0000 (10:39 -0700)]
compat-wireless: fix patches/09-threaded-irq.patch

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add patch to fix message tracing in mac80211
Johannes Berg [Thu, 28 Jun 2012 13:15:18 +0000 (15:15 +0200)]
compat-wireless: add patch to fix message tracing in mac80211

Just like in iwlwifi, the tracing in mac80211 needs to
copy va_args as some old kernels don't do it for %pV.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120622
Luis R. Rodriguez [Fri, 22 Jun 2012 17:24:07 +0000 (10:24 -0700)]
compat-wireless: refresh patches for next-20120622

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: skip name space changes on rtnl_notify()
Luis R. Rodriguez [Fri, 22 Jun 2012 17:19:30 +0000 (10:19 -0700)]
compat-wireless: skip name space changes on rtnl_notify()

Just avoid the namespace support for older kernels.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agoSee the description in the file -- the current code
Johannes Berg [Fri, 22 Jun 2012 17:14:55 +0000 (19:14 +0200)]
See the description in the file -- the current code
is safe only on recent upstream kernels, with 3.1
for example it can crash. The new code is safe on
all kernels that even support %pV, others just get
a pointer unfortunately.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: Naturally sort patch prefixes
Ozan Çağlayan [Fri, 22 Jun 2012 13:30:54 +0000 (16:30 +0300)]
compat-wireless: Naturally sort patch prefixes

Use ls -v to get a naturally sorted list of patches like:

patches/00-vga_switcheroo_client_ops.patch
patches/01-dma_buf_ops-addition.patch
patches/02-revert-vm_mmap.patch
patches/98-pr_fmt.patch
patches/99-change-makefile.patch
patches/9999-FIXME-dont-build-i915-for-i2c-problems.patch

instead of:

patches/00-vga_switcheroo_client_ops.patch
patches/01-dma_buf_ops-addition.patch
patches/02-revert-vm_mmap.patch
patches/98-pr_fmt.patch
patches/9999-FIXME-dont-build-i915-for-i2c-problems.patch
patches/99-change-makefile.patch

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120621
Luis R. Rodriguez [Thu, 21 Jun 2012 22:59:33 +0000 (15:59 -0700)]
compat-wireless: refresh patches for next-20120621

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: Suck in ckmake from compat.git
Ozan Çağlayan [Thu, 21 Jun 2012 11:52:22 +0000 (14:52 +0300)]
compat-wireless: Suck in ckmake from compat.git

ckmake can be used directly to test compat-foo trees against the
installed kernel trees. So it is good to have it copied under
this tree.

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
12 years agocompat-wireless: skip forcing refresh on gen-stable-release.sh
Luis R. Rodriguez [Tue, 19 Jun 2012 22:21:54 +0000 (15:21 -0700)]
compat-wireless: skip forcing refresh on gen-stable-release.sh

When gen-stable-release.sh is used we were forcing a refresh
but this breaks usage of gen-stable-release.sh -s -n -p -c
so just skip the refresh for now.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: update initramfs upon uninstall
Luis R. Rodriguez [Tue, 19 Jun 2012 19:28:19 +0000 (12:28 -0700)]
compat-wireless: update initramfs upon uninstall

This is needed upon uninstallation.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: remove alx and atl1c drivers upon uninstallation
Luis R. Rodriguez [Tue, 19 Jun 2012 19:27:28 +0000 (12:27 -0700)]
compat-wireless: remove alx and atl1c drivers upon uninstallation

We were only removing atl1c drivers before.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: move alx pending patches to crap
Luis R. Rodriguez [Tue, 19 Jun 2012 19:22:18 +0000 (12:22 -0700)]
compat-wireless: move alx pending patches to crap

The alx driver needs to remove the old devices that atl1c
already supports. This work is being done but users can
still use the alx driver. To help these users move the
alx patch to crap/ and add a new patch that disables all
the atl1c devices from the alx driver. This means we no
longer need a script to disable atlc.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: update directory paths for Atheros Ethernet drivers
Luis R. Rodriguez [Mon, 18 Jun 2012 23:00:13 +0000 (16:00 -0700)]
compat-wireless: update directory paths for Atheros Ethernet drivers

This is used when git grep'ing out for stable patches with
./scripts/admin-update.sh -s

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix stable alias on admin-update.sh
Luis R. Rodriguez [Mon, 18 Jun 2012 22:54:49 +0000 (15:54 -0700)]
compat-wireless: fix stable alias on admin-update.sh

When running ./scripts/admin-update.sh -s -- the code will look
for all pathces on linux-next since the current head tag on the
stable release we are on that have the stable@kernel.org
on the commit log. The e-mail address alias has changed
to stable@vger.kernel.org. This patch updates that alias so
we can continue to run:

./scripts/admin-update.sh -s

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120614
Luis R. Rodriguez [Thu, 14 Jun 2012 22:41:14 +0000 (15:41 -0700)]
compat-wireless: refresh patches for next-20120614

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: remove patches/63-request_module_nowait.patch
Luis R. Rodriguez [Thu, 14 Jun 2012 22:39:59 +0000 (15:39 -0700)]
compat-wireless: remove patches/63-request_module_nowait.patch

This is no longer required due to patch:

commit d4b10483223cf1a3fd2057785b12e2790a961867
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Tue Jun 12 19:50:43 2012 +0200

    iwlwifi: use request_module instead of _nowait

    Since request_module_nowait() can't be backported
    use request_module() instead -- we don't need the
    asynchronous behaviour of request_module_nowait()
    here since we're running in the firmware request
    work struct.

Tested-by: Donald H Fry <donald.h.fry@intel.com>
Reviewed-by: Donald H Fry <donald.h.fry@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix kernel check for CONFIG_WL18XX
Luis R. Rodriguez [Wed, 13 Jun 2012 05:13:22 +0000 (22:13 -0700)]
compat-wireless: fix kernel check for CONFIG_WL18XX

I meant you need at least 2.6.30 so the check should
be for ifdef CONFIG_COMPAT_KERNEL_2_6_30 as if
CONFIG_COMPAT_KERNEL_2_6_30 is defined it means we
have a kernel < 2.6.30

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: enable CONFIG_WL18XX on >= 2.6.30
Luis R. Rodriguez [Wed, 13 Jun 2012 03:55:02 +0000 (20:55 -0700)]
compat-wireless: enable CONFIG_WL18XX  on >= 2.6.30

Compilation breaks on older kernels.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add TI WiLink 8 chipsets support
Luis R. Rodriguez [Wed, 13 Jun 2012 02:05:28 +0000 (19:05 -0700)]
compat-wireless: add TI WiLink 8 chipsets support

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120612
Luis R. Rodriguez [Wed, 13 Jun 2012 01:47:19 +0000 (18:47 -0700)]
compat-wireless: refresh patches for next-20120612

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: address intel wireless driver file rename
Luis R. Rodriguez [Wed, 13 Jun 2012 01:41:51 +0000 (18:41 -0700)]
compat-wireless: address intel wireless driver file rename

I like dark beers, and amber beers... Just saying.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix patches/09-threaded-irq.patch
Luis R. Rodriguez [Wed, 13 Jun 2012 01:00:04 +0000 (18:00 -0700)]
compat-wireless: fix patches/09-threaded-irq.patch

I'm tired of seeing this patch fail so I've moved
the struct that we add to the front. Each time the
data structure changes elements are added towards the
end, not the beginning. Hopefully this means we'll
have less required updates on this hunk! Only time
will tell.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: address usage of request_module_nowait() on iwlwifi
Luis R. Rodriguez [Tue, 12 Jun 2012 17:52:50 +0000 (10:52 -0700)]
compat-wireless: address usage of request_module_nowait() on iwlwifi

request_module_nowait() was added on 2.6.30 but we can't
backport it. Under some circumstances though request_module_nowait()
likely was not meant to be used on purpose and instead we can
assume request_module() will work. This patch addresses the few
places where request_module_nowait() was used but that we can
at least somewhat assume that this can work. We do not backport
this into compat.git as a direct static inline given that there
are surely some places where request_module() cannot be used.

All users of request_module_nowait() should revise their code and
snsure that is indeed what was meant.

In this patch we address using the regular request_module() on
iwlwifi given that it seems we can use it there. Someone can
hopefully however test and verify this is OK. For newer kernels
that have request_module_nowait() we leave the call.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120608
Luis R. Rodriguez [Mon, 11 Jun 2012 23:23:40 +0000 (16:23 -0700)]
compat-wireless: refresh patches for next-20120608

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: update some urls to git trees in docs
Hauke Mehrtens [Mon, 11 Jun 2012 22:13:49 +0000 (00:13 +0200)]
compat-wireless: update some urls to git trees in docs

Changes some references to compat and compat-wireless git tree hosted
at git.kernel.org to github and changed some references from wireless-
testing to linux-next and linux-2.6-allstable to linux-stable.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix syntax error introduced recently
Hauke Mehrtens [Wed, 30 May 2012 22:55:10 +0000 (00:55 +0200)]
compat-wireless: fix syntax error introduced recently

A closing parenthesis was accentually removed in this commit:
ommit 86596a46269e9b317ef3ee92f21453320d855018
Author: Luis R. Rodriguez <mcgrof@frijolero.org>
Date:   Tue May 29 12:50:42 2012 -0700

    compat-wireless: fix patches/24-pcmcia.patch for next-20120524

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add additional header file for bluetooth
Hauke Mehrtens [Sun, 3 Jun 2012 14:30:13 +0000 (16:30 +0200)]
compat-wireless: add additional header file for bluetooth

This fixes a compile problem with all kernel versions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120529 again
Luis R. Rodriguez [Wed, 30 May 2012 00:00:21 +0000 (17:00 -0700)]
compat-wireless: refresh patches for next-20120529 again

After applying Hauke's patches I needed to refresh the patches.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add include/net/bluetooth/{hci_mon.h,sco.h}
Hauke Mehrtens [Tue, 29 May 2012 22:39:42 +0000 (00:39 +0200)]
compat-wireless: add include/net/bluetooth/{hci_mon.h,sco.h}

These two header files used by the bluetooth system are not included in
compat-wireless, but should be.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add bluetooth to sdio suspend remove patch
Hauke Mehrtens [Tue, 29 May 2012 22:39:41 +0000 (00:39 +0200)]
compat-wireless: add bluetooth to sdio suspend remove patch

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add bluetooth to pr_fmt patch
Hauke Mehrtens [Tue, 29 May 2012 22:39:40 +0000 (00:39 +0200)]
compat-wireless: add bluetooth to pr_fmt patch

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add asm/unaligned.h include to ath6kl
Hauke Mehrtens [Tue, 29 May 2012 22:39:39 +0000 (00:39 +0200)]
compat-wireless: add asm/unaligned.h include to ath6kl

Some old kernel versions are missing this include and we get a compile
error because of missing get_unaligned_le16() prototype.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add linux/compat.h header
Hauke Mehrtens [Tue, 29 May 2012 22:39:38 +0000 (00:39 +0200)]
compat-wireless: add linux/compat.h header

For some older kernel versions we have to include linux/compat.h in
some bluetooth code, otherwise it will not find functions like
compat_ptr().

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: deactivate wl1251 for kernel < 2.6.37
Hauke Mehrtens [Tue, 29 May 2012 22:39:37 +0000 (00:39 +0200)]
compat-wireless: deactivate wl1251 for kernel < 2.6.37

wl1251_sdio and wl1251_spi are depending on irq_set_status_flags() since

commit f380f2c4a12e913356bd49f8790ec1063c4fe9f8
Author: Grazvydas Ignotas <notasas@gmail.com>
Date:   Fri May 18 03:04:08 2012 +0300

    wl1251: fix oops on early interrupt

irq_set_status_flags() was added to the kernel in version 2.6.37 and
backporting it is hard, so do not build wl1251_sdio and wl1251_spi for
older kernel versions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: add usb driver lpm
Hauke Mehrtens [Tue, 29 May 2012 22:39:36 +0000 (00:39 +0200)]
compat-wireless: add usb driver lpm

This adds a patch to backport:
commit e1f12eb6ba6f1e74007eb01ed26fad7c5239d62b
Author: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Date:   Mon Apr 23 10:08:51 2012 -0700

    USB: Disable hub-initiated LPM for comms devices.

This patch should be replaced with something in compat, but I do not
have the time now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120529
Luis R. Rodriguez [Tue, 29 May 2012 20:24:19 +0000 (13:24 -0700)]
compat-wireless: refresh patches for next-20120529

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120524
Luis R. Rodriguez [Tue, 29 May 2012 20:03:04 +0000 (13:03 -0700)]
compat-wireless: refresh patches for next-20120524

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix patches/46-use_other_workqueue.patch for next-20120524
Luis R. Rodriguez [Tue, 29 May 2012 20:01:13 +0000 (13:01 -0700)]
compat-wireless: fix patches/46-use_other_workqueue.patch for next-20120524

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix patches/24-pcmcia.patch for next-20120524
Luis R. Rodriguez [Tue, 29 May 2012 19:50:42 +0000 (12:50 -0700)]
compat-wireless: fix patches/24-pcmcia.patch for next-20120524

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix b/patches/16-bluetooth.patch for next-20120524
Luis R. Rodriguez [Tue, 29 May 2012 16:31:02 +0000 (09:31 -0700)]
compat-wireless: fix b/patches/16-bluetooth.patch for next-20120524

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: fix patches/05-usb.patch for next-20120524
Luis R. Rodriguez [Tue, 29 May 2012 16:12:13 +0000 (09:12 -0700)]
compat-wireless: fix patches/05-usb.patch for next-20120524

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches
Luis R. Rodriguez [Thu, 17 May 2012 23:20:57 +0000 (16:20 -0700)]
compat-wireless: refresh patches

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: remove patches/51-in-header.patch
Luis R. Rodriguez [Thu, 17 May 2012 23:16:55 +0000 (16:16 -0700)]
compat-wireless: remove patches/51-in-header.patch

This is no longer required as the respective upstream patch
is already merged.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
12 years agocompat-wireless: fix patches/11-dev-pm-ops.patch
Luis R. Rodriguez [Thu, 17 May 2012 23:13:53 +0000 (16:13 -0700)]
compat-wireless: fix patches/11-dev-pm-ops.patch

One hunk no longer applied.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
12 years agocompat-wireless: copy over rndis.h
Luis R. Rodriguez [Thu, 17 May 2012 03:50:49 +0000 (20:50 -0700)]
compat-wireless: copy over rndis.h

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
12 years agocompat-wireless: refresh patches for next-20120516
Luis R. Rodriguez [Thu, 17 May 2012 03:38:48 +0000 (20:38 -0700)]
compat-wireless: refresh patches for next-20120516

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>