Luis R. Rodriguez [Wed, 25 Aug 2010 23:48:28 +0000 (16:48 -0700)]
compat-wireless: fix unintended merge of changes
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 25 Aug 2010 23:36:59 +0000 (16:36 -0700)]
compat-wireless: fix driver select for ath9k
Select enabling only down to 2.6.24 for ath9k, 2.6.23
requires a little more trivial work.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 25 Aug 2010 23:10:22 +0000 (16:10 -0700)]
compat-wireless: enable compilation of ath9k on >= 2.6.24
Re-enabling 2.6.23 requires a little bit of more work:
mcgrof@tux ~/devel/compat-wireless-2.6 (git::linux-2.6.36.y)$ make V=1 KLIB=/lib/modules/2.6.23.17-dirty/build KLIB_BUILD=/lib/modules/2.6.23.17-dirty/build
make -C /lib/modules/2.6.23.17-dirty/build M=/home/mcgrof/devel/compat-wireless-2.6 modules
make[1]: Entering directory `/home/mcgrof/linux-2.6-allstable'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /home/mcgrof/devel/compat-wireless-2.6/.tmp_versions
rm -f /home/mcgrof/devel/compat-wireless-2.6/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/mcgrof/devel/compat-wireless-2.6
make -f scripts/Makefile.build obj=/home/mcgrof/devel/compat-wireless-2.6/compat
gcc -Wp,-MD,/home/mcgrof/devel/compat-wireless-2.6/compat/.main.o.d -I/home/mcgrof/devel/compat-wireless-2.6/include/ -include /home/mcgrof/devel/compat-wireless-2.6/include/linux/compat-2.6.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(main)" -D"KBUILD_MODNAME=KBUILD_STR(compat)" -c -o /home/mcgrof/devel/compat-wireless-2.6/compat/main.o /home/mcgrof/devel/compat-wireless-2.6/compat/main.c
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:8:2: error: #error "You need a COMPAT_BASE_TREE"
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:12:2: error: #error "You need a COMPAT_BASE_TREE_VERSION"
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:16:2: error: #error "You need a COMPAT_VERSION"
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:19: error: ‘COMPAT_BASE_TREE’ undeclared here (not in a function)
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:20: error: ‘COMPAT_BASE_TREE_VERSION’ undeclared here (not in a function)
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:21: error: ‘COMPAT_VERSION’ undeclared here (not in a function)
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c: In function ‘compat_init’:
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:41: error: expected ‘)’ before ‘COMPAT_PROJECT’
/home/mcgrof/devel/compat-wireless-2.6/compat/main.c:45: error: expected ‘)’ before ‘COMPAT_BASE_TREE’
make[3]: *** [/home/mcgrof/devel/compat-wireless-2.6/compat/main.o] Error 1
make[2]: *** [/home/mcgrof/devel/compat-wireless-2.6/compat] Error 2
make[1]: *** [_module_/home/mcgrof/devel/compat-wireless-2.6] Error 2
make[1]: Leaving directory `/home/mcgrof/linux-2.6-allstable'
make: *** [modules] Error 2
So we need to figure out why this:
CFLAGS += \
-DCOMPAT_BASE_TREE="\"$(shell cat compat_base_tree)\"" \
-DCOMPAT_BASE_TREE_VERSION="\"$(shell cat compat_base_tree_version)\"" \
-DCOMPAT_PROJECT="\"Compat-wireless\"" \
-DCOMPAT_VERSION="\"$(shell cat compat_version)\""
is not being picked up on 2.6.23 and/or work our way around it.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 24 Aug 2010 00:08:37 +0000 (17:08 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 24 Aug 2010 00:08:08 +0000 (17:08 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 23 Aug 2010 23:59:19 +0000 (16:59 -0700)]
compat-wireless: remove the v from the release name
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 17 Aug 2010 23:37:39 +0000 (16:37 -0700)]
compat-wireless: make gen-stable-release.sh use new release number for dirs
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Tue, 17 Aug 2010 18:31:09 +0000 (20:31 +0200)]
compat-wireless: fix hidp_output_raw_report
The report_type parameter was added with kenrel 2.6.34
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Tue, 17 Aug 2010 18:31:08 +0000 (20:31 +0200)]
compat-wireless: make compat-2.6.37.c build
This is needed to set CONFIG_COMPAT_KERNEL_37
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Tue, 17 Aug 2010 18:31:07 +0000 (20:31 +0200)]
compat-wireless: deactivate namespace
Namespace support was introduced with kernel 2.6.35 in struct class.
Deactivate it for older kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Mon, 16 Aug 2010 23:30:20 +0000 (16:30 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 16 Aug 2010 23:29:52 +0000 (16:29 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Sun, 15 Aug 2010 12:28:10 +0000 (14:28 +0200)]
compat-wireless: make patches apply again.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 7 Aug 2010 13:34:44 +0000 (15:34 +0200)]
compat-wireless: activate more bluetooth drivers
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 7 Aug 2010 13:34:43 +0000 (15:34 +0200)]
compat-wireless: backport pcmcia api changes
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Fri, 6 Aug 2010 23:15:57 +0000 (16:15 -0700)]
compat-wireless: use new br_port_exists() from compat.git
This lets us simplify the way we backport the new bridge port
changes on the bridge code. We can nuke this new patch file
if we later get br_port_exists() accepted to be used on drivers.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Kshitij Kulshreshtha [Wed, 4 Aug 2010 14:18:36 +0000 (16:18 +0200)]
compat-wireless: more PCMCIA backporting
to fix build, these changes are leftovers from commit
commit
dedb69815e9608360249e62a794e3dea6a867ab8
Author: Luis R. Rodriguez <lrodriguez@atheros.com>
Date: Tue Aug 3 13:30:01 2010 -0700
compat-wireless: backport and fix new PCMCIA changes
Signed-off-by: Kshitij Kulshreshtha <kkhere.geo@gmail.com>
Luis R. Rodriguez [Tue, 3 Aug 2010 20:32:07 +0000 (13:32 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 3 Aug 2010 20:31:39 +0000 (13:31 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 3 Aug 2010 20:30:01 +0000 (13:30 -0700)]
compat-wireless: backport and fix new PCMCIA changes
The arguments have been mucked around with for 2.6.36. Other
changes existed on 2.6.35.. and older kernels requires some other
format.. To make the differences between kernels easier to read
and patch up we split them up between kernel revisions completley.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Kshitij Kulshreshtha [Sun, 1 Aug 2010 22:02:53 +0000 (00:02 +0200)]
compat-wireless: copy headers in include/pcmcia from compat
this is needed after the removal of pcmcia/cs_types.h in v2.6.36
Signed-off-by: Kshitij Kulshreshtha <kshitij@math.hu-berlin.de>
Kshitij Kulshreshtha [Sun, 1 Aug 2010 22:02:52 +0000 (00:02 +0200)]
compat-wireless: allow compilation of compat-2.6.35.c from compat
Signed-off-by: Kshitij Kulshreshtha <kshitij@math.hu-berlin.de>
Hauke Mehrtens [Wed, 21 Jul 2010 19:27:14 +0000 (21:27 +0200)]
compat-wireless: refresh patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 15 Jul 2010 18:50:54 +0000 (20:50 +0200)]
compat-wireless: refresh patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 14 Jul 2010 20:49:58 +0000 (22:49 +0200)]
compat-wireless: backport threaded-irq for rt2x00
This backport was done like for the b43 driver. This was just build tested.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Wed, 14 Jul 2010 01:23:27 +0000 (18:23 -0700)]
compta-wireless: update unload script
This wasn't removing the ath9k_hw module, and ath9k_htc.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 13 Jul 2010 22:32:38 +0000 (15:32 -0700)]
compat-wireless: backport sk_add_backlog() calls through a patch
v2.6.34-rc2~48 got
8eae939f net: add limit for socket backlog
This adds sk_add_backlog_limitted() which makes the backlog
have a size, and therefore adding an skb to the backlog can
fail, a later patch changed all non-limitted calls to use the
limitted caller via
a3a858ff. The older kernels don't have a
size and as such always are successfull when adding to the
backlog.
An overload is possible but complex in C so just backport this
via a patch. This fixes this compile issue with compat-wireless
when on kernels older than 2.6.34:
CC [M] /home/philipp/kernel/build_i586/compat-wireless-2010-07-12/net/bluetooth/l2cap.o
/home/philipp/kernel/build_i586/compat-wireless-2010-07-12/net/bluetooth/l2cap.c: In function 'l2cap_data_channel':
/home/philipp/kernel/build_i586/compat-wireless-2010-07-12/net/bluetooth/l2cap.c:4352: error: void value not ignored as it ought to be
make[4]: *** [/home/philipp/kernel/build_i586/compat-wireless-2010-07-12/net/bluetooth/l2cap.o] Error 1
make[3]: *** [/home/philipp/kernel/build_i586/compat-wireless-2010-07-12/net/bluetooth] Error 2
make[2]: *** [_module_/home/philipp/kernel/build_i586/compat-wireless-2010-07-12] Error 2
make[2]: Leaving directory `/home/philipp/kernel/build_i586/linux-2.6.27.48-astlinux'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/philipp/kernel/build_i586/compat-wireless-2010-07-12'
make: *** [/home/philipp/kernel/build_i586/compat-wireless-2010-07-12/net/wireless/lib80211.ko] Error 2
Reported-by: "Philip A. Prindeville" <philipp_subx@redfish-solutions.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 13 Jul 2010 21:07:23 +0000 (14:07 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 13 Jul 2010 21:06:43 +0000 (14:06 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 12 Jul 2010 15:44:18 +0000 (08:44 -0700)]
compat-wireless: patch refresh
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Sun, 11 Jul 2010 20:23:11 +0000 (22:23 +0200)]
compat-wireless: fix build of ath5k for CONFIG_PM_SLEEP=n
suspend and resume are activated in ath5k if CONFIG_PM_SLEEP is set and
not if just CONFIG_PM is set.
This should fix the problems reported by Philip Prindeville.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 8 Jul 2010 21:13:48 +0000 (23:13 +0200)]
compat-wireless: fix build problems
Fix some minor build problems in patch.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Thu, 8 Jul 2010 20:46:42 +0000 (13:46 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 8 Jul 2010 20:16:59 +0000 (13:16 -0700)]
compat-wireless: scripts/admin-update.sh refresh
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 8 Jul 2010 20:13:02 +0000 (13:13 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 8 Jul 2010 20:12:13 +0000 (13:12 -0700)]
compat-wireless: scripts/admin-update.sh refresh
Refresh patch hunk offsets.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 8 Jul 2010 19:40:04 +0000 (12:40 -0700)]
compat-wireless: update 28-pm-qos-params.patch
This patch is required because now pm-qos has 3 different flavors:
On kernels >= 2.6.36 the pm qos req is kzalloc()'d by pm-qos itself
On kernel = 2.6.35 the pm qos req uses the stack
On kernels < 2.6.35 the pm qos req is pegged to a unique name
On newer kernels we don't use a name to tag a pm-qos requirement, and on
older kernels we do. Although we can port over the struct pm_qos_request_list
to older kernels it provides no variable with any unique name we can use
for older kernels. Perhaps there's a way.. right now I just don't see it.
We also should probably not bother updating pm-qos to newer versions unless
we are willing to treat the oldest kernels as newer ones and that'd be a
little wierd. Update the header of 28-pm-qos-params.patch while at it
with a little explanation as to why this is all needed.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 8 Jul 2010 19:38:58 +0000 (12:38 -0700)]
compat-wireless: update 07-change-default-rate-alg.patch
The hunk context changed so it would no longer apply with
a fuzz. This required some manual updating of the patch.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Pavel Roskin [Tue, 6 Jul 2010 20:24:08 +0000 (16:24 -0400)]
compat-wireless: update 07-change-default-rate-alg.patch
Hauke Mehrtens [Tue, 29 Jun 2010 20:36:15 +0000 (22:36 +0200)]
compat-wireless: refresh patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 24 Jun 2010 21:00:05 +0000 (23:00 +0200)]
compat-wireless: activate iwmc3200wifi and WL1271_SDIO
netdev_ops for iwmc3200wifi is backported now.
CONFIG_WL1271_SDIO does not depend on ARM any more in mainline, but it
needs at least kernel 2.6.32.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Thu, 24 Jun 2010 21:00:04 +0000 (23:00 +0200)]
compat-wireless: refresh patches
refresh patches and backport netdev_ops for iwmc3200wifi
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Pavel Roskin [Tue, 22 Jun 2010 20:40:48 +0000 (16:40 -0400)]
compat-wireless: "crap" code is "not yet posted", not "not yet merged"
Luis R. Rodriguez [Mon, 21 Jun 2010 19:06:20 +0000 (12:06 -0700)]
compat-wireless: refresh patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Paul Fertser [Sun, 20 Jun 2010 09:44:57 +0000 (13:44 +0400)]
compat-wireless: fix compilation for 2.6.32
2.6.32 was the latest version using CONFIG_WIRELESS_EXT. Without this patch
compilation produced
net/wireless/wext-compat.c:443: error: ‘struct wireless_dev’ has no member named ‘wext’
since config.mk defined CONFIG_CFG80211_WEXT but autoconf.sh didn't.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Luis R. Rodriguez [Thu, 17 Jun 2010 20:28:58 +0000 (13:28 -0700)]
compat-wireles: fix compilation when you have disabled CONFIG_CFG80211_WEXT
On newer kernels you can disable CONFIG_CFG80211_WEXT. If you try to
compile compat-wireless with CONFIG_CFG80211_WEXT disabled you get:
CC [M] /home/mcgrof/devel/compat-wireless-2.6/net/wireless/core.o
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/core.c: In function ‘cfg80211_netdev_notifier_call’:
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/core.c:703: error: ‘struct net_device’ has no member named ‘wireless_handlers’
/home/mcgrof/devel/compat-wireless-2.6/net/wireless/core.c:704: error: ‘struct net_device’ has no member named ‘wireless_handlers’
make[3]: *** [/home/mcgrof/devel/compat-wireless-2.6/net/wireless/core.o] Error 1
make[2]: *** [/home/mcgrof/devel/compat-wireless-2.6/net/wireless] Error 2
make[1]: *** [_module_/home/mcgrof/devel/compat-wireless-2.6] Error 2
This is because we currently force CONFIG_CFG80211_WEXT to be enabled
on the compat_autoconf.h. Instead we should enable it conditionally
based on CONFIG_CFG80211_WEXT for older kernels and simply leave it
out for newer kernels, so we can respect your kernel config. For
newer kernels you cannot enable CONFIG_CFG80211_WEXT since
the net_device structure changes based on CONFIG_CFG80211_WEXT,
the wireless_handlers are not added to the net_device if you don't
have it enabled.
Reported-by: Mathieu Olivari <Mathieu.Olivari@Atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Wed, 16 Jun 2010 20:49:26 +0000 (22:49 +0200)]
compat-wireless: backport netdev->br_port
In commit
f350a0a87374418635689471606454abc7beaa3a the br_port
attribute was replaced with a private flag.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Thu, 17 Jun 2010 05:32:36 +0000 (22:32 -0700)]
compat-wireless: refresh patches for next-
20100617
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 17 Jun 2010 05:30:35 +0000 (22:30 -0700)]
compat-wireless: remove pending AR9003 IBSS fix
Remove 0001-ath9k_hw-avoid-setting-cwmin-cwmax-to-0-for-IBSS-for.patch
as it is upstream now.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 16 Jun 2010 00:19:27 +0000 (17:19 -0700)]
compat-wireless: increase the code-metric percent resolution two fold
If we only carry one patch then the two decimals will
not cut it to reflect a real percentage of all the code we
are pulling from upstream so use two more decimals.
This is what I get now:
compat-wireless code metrics
498409 - Total upstream lines of code being pulled
1398 - backport code changes
1167 - backport code additions
231 - backport code deletions
5748 - backport from compat module
7146 - total backport code
1.4338 - % of code consists of backport work
13 - Code changes posted but not yet merged
8 - Code additions posted but not yet merged
5 - Code deletions posted but not yet merged
0.0026 - % of code not yet merged
Base tree: linux-next.git
Base tree version: next-
20100615
compat-wireless release:
compat-wireless-2010-06-10-10-g0c66bc8
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 16 Jun 2010 00:15:07 +0000 (17:15 -0700)]
compat-wireless: fix code-metrics for 1 patch
If we only have one patch then the currently grep will
not parse correctly, force the grep to always include the
filename so that the existing computation can be used for
both the case we use only one patch file in the directories:
linux-next-pending/
linux-next-cherry-pick/
crap/
This fixes the computation for linux-next-pending/ right
now.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 15 Jun 2010 21:34:06 +0000 (14:34 -0700)]
compat-wireless: change admin-update to clarify lines of code
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 15 Jun 2010 21:21:03 +0000 (14:21 -0700)]
compat-wireless: refresh crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 15 Jun 2010 21:06:27 +0000 (14:06 -0700)]
compat-wireless: add one pending patch for ath9k_hw for adhoc for AR9003
This is not merged yet but required for testing.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Tue, 15 Jun 2010 20:56:35 +0000 (22:56 +0200)]
compat-wireless: refresh patches
make the patches apply against recent linux-next.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Tue, 15 Jun 2010 20:59:35 +0000 (13:59 -0700)]
compat-wireless: remove all pending patches
These are all merged now
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Sat, 12 Jun 2010 06:03:14 +0000 (23:03 -0700)]
compt-wireless: fix crap/0002-ath9k-Add-pktlog-support.patch
Due to the new pending patches the seond hunk for the
packet log patch touching hw.h needed to be adjusted.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Sat, 12 Jun 2010 05:53:17 +0000 (22:53 -0700)]
compat-wireless: add new AR9003 series for pending patches
Some new AR9003 patches have been posted, merge them into
the pending diretory for now until they get merged.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Sat, 12 Jun 2010 05:50:40 +0000 (22:50 -0700)]
compat-wireless: remove AR9003 PCI ID patch from crap/
This has now been posted
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 11 Jun 2010 01:19:00 +0000 (18:19 -0700)]
compat-wireless: add script to grep out colors
This is useful for a cronjobs that do not want the
color fluff on output.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 11 Jun 2010 01:14:47 +0000 (18:14 -0700)]
compat-wireless: refresh of crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 11 Jun 2010 01:14:18 +0000 (18:14 -0700)]
compat-wireless: refresh of patches for June 10 2010
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Sun, 6 Jun 2010 09:11:58 +0000 (11:11 +0200)]
compat-wireless: activate CONFIG_MAC80211_RC_MINSTREL_HT
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 6 Jun 2010 09:11:57 +0000 (11:11 +0200)]
compat-wireless: deactivate atl1c for kernel < 2.6.27
atl1c uses pci_prepare_to_sleep that is not backported.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sun, 6 Jun 2010 09:11:56 +0000 (11:11 +0200)]
compat-wireless: deactivate libertas sdio suspend for < 2.6.34
libertas sdio suspend and resume depends on some new features of the
sdio framework in kernel 2.6.34.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Richard Farina [Sun, 6 Jun 2010 05:54:10 +0000 (22:54 -0700)]
compat-wireless: Enable rt2800usb in compat-wireless stable branch
This patch enables the new RT307x and RT357x chips.
Propagate-to: 2.6.35.y
Signed-off-by: Richard Farina <sidhayn@gmail.com>
Luis R. Rodriguez [Fri, 4 Jun 2010 22:50:34 +0000 (15:50 -0700)]
compat-wireless: add Ethernet support for driver-select
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 4 Jun 2010 21:54:46 +0000 (14:54 -0700)]
compat-wireless: refresh of crap for 2010-06-04
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 4 Jun 2010 21:54:13 +0000 (14:54 -0700)]
compat-wireless: refresh for 2010-06-04
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 4 Jun 2010 15:06:35 +0000 (08:06 -0700)]
compat-wireless: fix config.mk
Ooops, forgot to revert config.mk after cp'ing it to defconfigs/
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Fri, 4 Jun 2010 15:03:44 +0000 (08:03 -0700)]
compat-wireless: add defconfigs directory
This lets you stuff custom config.mk files for debugging purposes
or other reasons.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 3 Jun 2010 22:30:47 +0000 (15:30 -0700)]
compat-wireless: ./scripts/admin-update.sh -c refresh
Refreshes the crap patches for today's linux-next.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 3 Jun 2010 22:29:57 +0000 (15:29 -0700)]
compat-wireless: run ./scripts/admin-update.sh refresh for 2010-06-03
Synchs up with linux-next tag next-
20100603
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 3 Jun 2010 22:26:16 +0000 (15:26 -0700)]
compat-wireless: remove all the pending patches
The merge window is over, so John just merged all of these
posted pending patches.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 2 Jun 2010 00:15:39 +0000 (17:15 -0700)]
compat-wireless: fix target kernel expecations on gen-stable-release.sh
We were computing the target kernel too early, we need to do this
*after* we have updated the stable tree.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Wed, 2 Jun 2010 00:07:45 +0000 (17:07 -0700)]
compat-wireless: update the usage() print for gen-stable-release.sh
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 1 Jun 2010 23:59:36 +0000 (16:59 -0700)]
compat-wireless: optimize branch selection on gen-stable-release.sh
This lets us optimize the way we use gen-stable-release.sh so that
by default we don't do a git fetch or reset of the branch if we are
already on it. To force an update use -f.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 1 Jun 2010 23:20:01 +0000 (16:20 -0700)]
compat-wireless: add -n -p -c support for gen-stable-release.sh
This lets us make stable compat-wireless releases with -n -p
and/or -c. We also annotate the REMOTE_BRANCH is unused for
now and will change the way this is used next.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 31 May 2010 22:40:52 +0000 (15:40 -0700)]
compat-wireless: accept extra arguments for scripts/gen-stable-release.sh
This lets us use -n -p -c to generate stable compat-wireless releases.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Hauke Mehrtens [Sat, 29 May 2010 13:44:32 +0000 (15:44 +0200)]
compat-wireless: run refresh only on last applied directory
Running "./scripts/admin-refresh.sh -n -p -c refresh" failed because
patchRefresh refreshes and applies every patch form the series and
then reverse them all. If a patch from the next series in an other
directory depends on that it will not apply any more.
Now only the last series/directory will be refresh.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 29 May 2010 13:35:06 +0000 (15:35 +0200)]
compat-wireless: use /etc/init.d/ and not sudo service
sudo is not installed and used on all distributions. the user should
call the script with the needed rights and the script should not
include sudo. This fails on debian lenny.
service is only available on very recent distributions and not on old
ons like debian lenny in the default configuration. Use the old init.d
script. This also works on ubuntu 10.04.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 29 May 2010 13:35:05 +0000 (15:35 +0200)]
compat-wireless: update clean scripts
Without this patch make fails after calling make clean because compat_*
files were deleted.
Delete all files generated by scripts/admin-update.sh in
scripts/admin-clean.sh and not in make clean
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Luis R. Rodriguez [Thu, 27 May 2010 02:47:05 +0000 (19:47 -0700)]
compat-wireless: add pending fix patch for ath9k
This adds this pending patch:
From: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Subject: [PATCH] ath9k: Fix bug in the way "bf_tx_aborted" of struct ath_buf is used
Date: Wed, 26 May 2010 19:06:53 -0700
This bug was introduced by the following commit
Author: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Date: Thu Apr 15 17:38:46 2010 -0400
ath9k: Remove ATH9K_TX_SW_ABORTED and introduce a bool for this purpose
Wrong buffer is checked for bf_tx_aborted field in ath_tx_num_badfrms(),
this may result in a rate scaling with wrong feedback (number
of unacked frames in this case). It is the last one in the chain
of buffers for an aggregate frame that should be checked.
Also it misses the initialization of this field in the buffer,
this may lead to a situation where we stop the sw retransmission
of failed subframes associated to this buffer.
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Thu, 27 May 2010 00:27:05 +0000 (17:27 -0700)]
compat-wireless: remove two pending patches now upstream
These patches are now upstream:
commit
a65e4cb402b5f3e120570ba1faca4354d47e8f2f
Author: Felix Fietkau <nbd@openwrt.org>
Date: Thu May 13 20:37:25 2010 +0200
ath9k: remove VEOL support for ad-hoc
With VEOL, Beacon transmission in ad-hoc does not currently work.
I believe for larger ad-hoc networks, VEOL is too unreliable, as
it can get beacon transmissions stuck during synchronization.
Use SWBA based beacon trasmission similar to AP mode instead.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Benoit Papillault <benoit.papillault@free.fr>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
commit
774610e4f26cb3d9da14a8b5974324c9e51017bd
Author: Felix Fietkau <nbd@openwrt.org>
Date: Thu May 13 20:37:24 2010 +0200
ath9k: change beacon allocation to prefer the first beacon slot
This fixes IBSS beacon transmissions without VEOL enabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This reduces the pending stuff:
7132 - Code changes posted but not yet merged
4449 - Code additions posted but not yet merged
2683 - Code deletions posted but not yet merged
1.45 - % of code not yet merged
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 25 May 2010 23:19:58 +0000 (16:19 -0700)]
compat-wireless: clarify usage of linux-next-cherry-pick for bleeding edge
Bleeding edge releaseas are already using linux-next so the
linux-next-cherry-pick directory will be empty for those releases.
The linux-next-cherry-pick is more of a helper for stable RC
releases, once we start making releases from the linux-2.6-allstable
git tree.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 25 May 2010 23:16:31 +0000 (16:16 -0700)]
compat-wireless: update the atheros crap patches
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 25 May 2010 23:05:48 +0000 (16:05 -0700)]
compat-wireless: add new set of pending patches for 2010-05-25
This just adds three patches by Felix posted today. To generate
these and merge these back into this tree though I am using
a very crude technique though:
I cherry pick patches from the mailing lists, I then git am
them onto a local wireless-testing tree, then I
git format-patch -o compat-pending-05-25 origin..pending-sha1sum
Then I git rm linux-next-pending/*.patch and add the new series.
This is a bit sloppy, I admit it but it works well for how I am
managing it. If you need a patch sucked into this series let me
know and I'll go ahead and merge it as well. For now I am just
taking in things I see as important for ath9k, mac80211 and
cfg80211. If you want to consider your drivers just ask in the
linux-wireless / linux-bluetooth list (cc'ing me or something)
annotating the patch for me to be picked up. At least lets try
it for now this way and see it how it goes. If you think of
something better let me know.
These pending patches are applied with the -p option of
./scripts/admin-update.sh -p
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 25 May 2010 22:55:14 +0000 (15:55 -0700)]
compat-wireless: fix typo for used color for nagometer
s/REG/RED/
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 25 May 2010 22:48:26 +0000 (15:48 -0700)]
compat-wireless: ./scripts/admin-update.sh -p refresh
Runs reresh on the pending patches. There are no automatic
tarballs using this yet.
6809 - Code changes posted but not yet merged
4398 - Code additions posted but not yet merged
2411 - Code deletions posted but not yet merged
1.39 - % of code not yet merged
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 25 May 2010 22:45:47 +0000 (15:45 -0700)]
compat-wireless: only copy existing Kconfig files
If no Kconfig file exist don't try to copy it to avoid
the warning.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 25 May 2010 22:40:32 +0000 (15:40 -0700)]
compat-wireless: fix backport code calculation
The current computation was not taking into account the
compat/*.[ch] files and the include/linux/compat*.h files.
Additionally these files were just being counted towards the
total sum of the upstream code.
Remove the compat code from the total sum of upstream code,
and add the compat code to the backport sum. This also adds
a new line to indicate to us the size of the total backport
work (patches + compat) and compat alone.
These are the stats I get today:
compat-wireless code metrics
491620 - Total upstream code being pulled
1393 - backport code changes
1163 - backport code additions
230 - backport code deletions
5679 - backport from compat module
7072 - total backport code
1.44 - % of code consists of backport work
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 25 May 2010 21:39:27 +0000 (14:39 -0700)]
compat-wireless: ./scripts/admin-update.sh refresh
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Tue, 25 May 2010 21:37:27 +0000 (14:37 -0700)]
compat-wireless: remove pending patches as of next-
20100525
This only affects tarballs created with the
./scripts/admin-update.sh -p option
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 24 May 2010 17:05:20 +0000 (10:05 -0700)]
Revert "compat-wireless: run ./scripts/compat_firmware_install"
We were calling this script.. it was just being called from the
compat/ directory. Revert this change.
This reverts commit
4e916644a5810da831bb716ea274c72967cf8d24.
Luis R. Rodriguez [Mon, 24 May 2010 17:01:41 +0000 (10:01 -0700)]
compat-wireless: add the new versioning files to .gitignore
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 24 May 2010 17:01:00 +0000 (10:01 -0700)]
compat-wireless: remove some new files upon make clean
The new versioning files were not being removed.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Mon, 24 May 2010 16:57:24 +0000 (09:57 -0700)]
compat-wireless: run ./scripts/compat_firmware_install
We were not running this before so users of compat-wireless would
not get the compat_firmware stuff properly installed. Since the
compat_firmware_*() API is used for *all* compat-wireless drivers
this should mean loading of the firmware would have failed for
all those requiring firmware.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Sat, 22 May 2010 01:21:54 +0000 (18:21 -0700)]
compat-wireless: add some Atheros crap patches
The reasoning for reach patch not being posted is explained
on the top of each patch.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Sat, 22 May 2010 01:15:19 +0000 (18:15 -0700)]
compat-wireless: add the Kconfig for drivers
The linux-next-chery-pick, linux-next-pending, and crap
patches all would rely on the Kconfig so add the Kconfig
files internally.
We could eventually use these as well to modify the
build system for compat-wireless so we can use mconf
intsead. For that we'd need to modify each kconfig option
though with some heroic effort.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis R. Rodriguez [Sat, 22 May 2010 01:09:56 +0000 (18:09 -0700)]
compat-wireless: add a set of pending patches for linux-wireless
We're in the merge window, so this adds all the patches pending
merge from Atheros. Note that these are not applied by default,
to apply then you must use the "-p" flag for ./scripts/admin-update.sh
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>