rpms/kernel/devel config-generic, 1.92, 1.93 kernel.spec, 1.570, 1.571 linux-2.6-wireless-pending.patch, 1.41, 1.42 linux-2.6-wireless.patch, 1.31, 1.32 linux-2.6-mac80211-gcc-bug.patch, 1.1, NONE
John W. Linville (linville)
fedora-extras-commits at redhat.com
Wed Apr 2 01:22:26 UTC 2008
Author: linville
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23460
Modified Files:
config-generic kernel.spec linux-2.6-wireless-pending.patch
linux-2.6-wireless.patch
Removed Files:
linux-2.6-mac80211-gcc-bug.patch
Log Message:
wireless fixes/updates from 2008-04-01
Index: config-generic
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/config-generic,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- config-generic 1 Apr 2008 02:14:18 -0000 1.92
+++ config-generic 2 Apr 2008 01:21:33 -0000 1.93
@@ -1301,6 +1301,7 @@
CONFIG_LIBERTAS_SDIO=m
CONFIG_LIBERTAS_DEBUG=y
CONFIG_IWLWIFI_LEDS=y
+CONFIG_IWLCORE_RFKILL=y
CONFIG_IWL4965=m
CONFIG_IWLWIFI_DEBUG=y
CONFIG_IWLWIFI_DEBUGFS=y
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.570
retrieving revision 1.571
diff -u -r1.570 -r1.571
--- kernel.spec 1 Apr 2008 21:37:22 -0000 1.570
+++ kernel.spec 2 Apr 2008 01:21:33 -0000 1.571
@@ -609,7 +609,6 @@
Patch680: linux-2.6-wireless.patch
Patch681: linux-2.6-wireless-pending.patch
-Patch682: linux-2.6-mac80211-gcc-bug.patch
Patch690: linux-2.6-at76.patch
Patch1101: linux-2.6-default-mmf_dump_elf_headers.patch
@@ -1117,9 +1116,6 @@
# wireless patches headed for 2.6.26
ApplyPatch linux-2.6-wireless-pending.patch
-# avoid endless loop while compiling on ia64 and some other arches
-ApplyPatch linux-2.6-mac80211-gcc-bug.patch
-
# Add misc wireless bits from upstream wireless tree
ApplyPatch linux-2.6-at76.patch
@@ -1755,6 +1751,41 @@
%kernel_variant_files -a /%{image_install_path}/xen*-%{KVERREL} -e /etc/ld.so.conf.d/kernelcap-%{KVERREL}.conf %{with_xen} xen
%changelog
+* Tue Apr 01 2008 John W. Linville <linville at redhat.com>
+- mac80211: trigger ieee80211_sta_work after opening interface
+- b43: Add DMA mapping failure messages
+- b43: Fix PCMCIA IRQ routing
+- mac80211: correct use_short_preamble handling
+- endianness annotations: drivers/net/wireless/rtl8180_dev.c
+- net/mac80211/debugfs_netdev.c: use of bool triggers a gcc bug
+- libertas: convert CMD_802_11_MAC_ADDRESS to a direct command
+- libertas: convert CMD_802_11_EEPROM_ACCESS to a direct command
+- libertas: convert sleep/wake config direct commands
+- libertas: don't depend on IEEE80211
+- rt2x00: Invert scheduled packet_filter check
+- rt2x00: TO_DS filter depends on intf_ap_count
+- rt2x00: Remove MAC80211_LEDS dependency
+- mac80211 ibss: flush only stations belonging to current interface
+- mac80211: fix sta_info_destroy(NULL)
+- mac80211: automatically free sta struct when insertion fails
+- mac80211: clean up sta_info_destroy() users wrt. RCU/locking
+- mac80211: sta_info_flush() fixes
+- mac80211: fix sparse complaint in ieee80211_sta_def_wmm_params
+- rt2x00: fixup some non-functional merge errors
+- wireless: fix various printk warnings on ia64 (and others)
+- mac80211: fix deadlocks in debugfs_netdev.c
+- mac80211: fix spinlock recursion on sta expiration
+- mac80211: use recent multicast table for all mesh multicast frames
+- mac80211: check for mesh_config length on incoming management frames
+- mac80211: use a struct for bss->mesh_config
+- iwlwifi: add notification infrastructure to iwlcore
+- iwlwifi: hook iwlwifi with Linux rfkill
+- iwlwifi: fix race condition during driver unload
+- iwlwifi: move rate registration to module load
+- iwlwifi: unregister to upper stack before releasing resources
+- iwlwifi: LED initialize before registering
+- iwlwifi: Fix synchronous host command
+
* Tue Apr 01 2008 Dave Jones <davej at redhat.com>
- 2.6.25-rc8
linux-2.6-wireless-pending.patch:
View full diff with command:
/usr/bin/cvs -f diff -kk -u -N -r 1.41 -r 1.42 linux-2.6-wireless-pending.patch
Index: linux-2.6-wireless-pending.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-wireless-pending.patch,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- linux-2.6-wireless-pending.patch 28 Mar 2008 19:54:38 -0000 1.41
+++ linux-2.6-wireless-pending.patch 2 Apr 2008 01:21:33 -0000 1.42
@@ -1,3 +1,412 @@
+commit 06501d29ada4457349f4f4427bbf0bbb7c59b8f6
+Author: John W. Linville <linville at tuxdriver.com>
+Date: Tue Apr 1 17:38:47 2008 -0400
+
+ wireless: fix various printk warnings on ia64 (and others)
+
+ drivers/net/wireless/ath5k/base.c: In function `ath5k_check_ibss_tsf':
+ drivers/net/wireless/ath5k/base.c:1740: warning: long long unsigned int format, u64 arg (arg 5)
+ drivers/net/wireless/ath5k/base.c:1740: warning: long long unsigned int format, u64 arg (arg 6)
+ drivers/net/wireless/ath5k/base.c:1740: warning: long long int format, u64 arg (arg 7)
+ drivers/net/wireless/ath5k/base.c:1740: warning: long long unsigned int format, u64 arg (arg 8)
+ drivers/net/wireless/ath5k/base.c:1757: warning: long long unsigned int format, u64 arg (arg 5)
+ drivers/net/wireless/ath5k/base.c:1757: warning: long long unsigned int format, u64 arg (arg 6)
+ drivers/net/wireless/iwlwifi/iwl4965-base.c: In function `iwl4965_tx_status_reply_tx':
+ drivers/net/wireless/iwlwifi/iwl4965-base.c:3105: warning: long long unsigned int format, u64 arg (arg 6)
+ drivers/net/wireless/iwlwifi/iwl-4965.c: In function `iwl4965_rx_reply_rx':
+ drivers/net/wireless/iwlwifi/iwl-4965.c:3978: warning: long long unsigned int format, u64 arg (arg 7)
+
+ Cc: Andrew Morton <akpm at linux-foundation.org>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit 6c4711b4697d93424e4b1f76a9929ba844d714a5
+Author: Luis Carlos Cobo <luisca at cozybit.com>
+Date: Mon Mar 31 17:39:18 2008 -0700
+
+ mac80211: use a struct for bss->mesh_config
+
+ This allows cleaner code when accesing bss->mesh_config components.
+
+ Signed-off-by: Luis Carlos Cobo <luisca at cozybit.com>
+ Acked-by: Johannes Berg <johannes at sipsolutions.net>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit 05e5e88373d91c75e9262a3f984be511960e510d
+Author: Luis Carlos Cobo <luisca at cozybit.com>
+Date: Mon Mar 31 16:00:13 2008 -0700
+
+ mac80211: check for mesh_config length on incoming management frames
+
+ Signed-off-by: Luis Carlos Cobo <luisca at cozybit.com>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit 966a54282257ce1c43a5410dab2f2778a6f4dcf9
+Author: Luis Carlos Cobo <luisca at cozybit.com>
+Date: Mon Mar 31 15:33:39 2008 -0700
+
+ mac80211: use recent multicast table for all mesh multicast frames
+
+ ...not only broadcast.
+
+ Signed-off-by: Luis Carlos Cobo <luisca at cozybit.com>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit cb585bccfedab0c228344ffa258950c417dea6b5
+Author: Luis Carlos Cobo <luisca at cozybit.com>
+Date: Mon Mar 31 15:21:23 2008 -0700
+
+ mac80211: fix spinlock recursion on sta expiration
+
+ Signed-off-by: Luis Carlos Cobo <luisca at cozybit.com>
+ Acked-by: Johannes Berg <johannes at sipsolutions.net>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit 73bb3e4a7a9f1b8d5f89c3991bd0c904ab0b8e27
+Author: Luis Carlos Cobo <luisca at cozybit.com>
+Date: Mon Mar 31 15:10:22 2008 -0700
+
+ mac80211: fix deadlocks in debugfs_netdev.c
+
+ The bug shows up with CONFIG_PREEMPT enabled. Pointed out by Andrew Morton.
+
+ Cc: Andrew Morton <akpm at linux-foundation.org>
+ Cc: Johannes Berg <johannes at sipsolutions.net>
+ Signed-off-by: Luis Carlos Cobo <luisca at cozybit.com>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit 7e879b551f1ada78d66fa5c6914aa1744b9c97d2
+Author: Johannes Berg <johannes at sipsolutions.net>
+Date: Mon Mar 31 19:23:04 2008 +0200
+
+ mac80211: fix sparse complaint in ieee80211_sta_def_wmm_params
+
+ A variable 'i' is being shadowed by another one, but the second
+ one can just be removed.
+
+ Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
+ Cc: Vladimir Koutny <vlado at work.ksp.sk>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit dc6676b7f2c2072ec05254aaca32e99f87a8a417
+Author: Johannes Berg <johannes at sipsolutions.net>
+Date: Mon Mar 31 19:23:03 2008 +0200
+
+ mac80211: sta_info_flush() fixes
+
+ When the IBSS code tries to flush the STA list, it does so in
+ an atomic context. Flushing isn't safe there, however, and
+ requires the RTNL, so we need to defer it to a workqueue.
+
+ Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit 4f6fab472c4c7c21d577f85fabec7628d4a05637
+Author: Johannes Berg <johannes at sipsolutions.net>
+Date: Mon Mar 31 19:23:02 2008 +0200
+
+ mac80211: clean up sta_info_destroy() users wrt. RCU/locking
+
+ Calling sta_info_destroy() doesn't require RCU-synchronisation
+ before-hand because it does that internally. However, it does
+ require rtnl-locking so insert that where necessary.
+
+ Also clean up the code doing it internally to be a bit clearer and
+ not synchronize twice if keys are configured.
+
+ Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit 93e5deb1ae39b56f4743955e76c72251256f23c1
+Author: Johannes Berg <johannes at sipsolutions.net>
+Date: Tue Apr 1 15:21:00 2008 +0200
+
+ mac80211: automatically free sta struct when insertion fails
+
+ When STA structure insertion fails, it has been allocated but isn't
+ really alive yet, it isn't reachable by any other code and also can't
+ yet have much configured. This patch changes the code so that when
+ the insertion fails, the resulting STA pointer is no longer valid
+ because it is freed.
+
+ Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit 97bff8ecf4e4e26749a67dcfbb7565d8a0f4acb4
+Author: Johannes Berg <johannes at sipsolutions.net>
+Date: Mon Mar 31 19:23:00 2008 +0200
+
+ mac80211: fix sta_info_destroy(NULL)
+
+ sta_info_destroy(NULL) should be valid, but currently isn't because
+ the argument is dereferenced before the NULL check. There are no
+ users that currently pass in NULL, i.e. all check before calling the
+ function, but I want to change that.
+
+ Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit 9dd6aed05b8859265cd79f1e47e4f844bbe1548b
+Author: Johannes Berg <johannes at sipsolutions.net>
+Date: Mon Mar 31 19:22:59 2008 +0200
+
+ mac80211 ibss: flush only stations belonging to current interface
+
+ When joining a new IBSS, all old stations are flushed, but currently
+ all stations belonging to all virtual interfaces are flushed, which
+ is wrong. This patch fixes it.
+
+ Signed-off-by: Johannes Berg <johannes at sipsolutions.net>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit a2e1d52a32eab53f8ab03c4023310f65aaa054a7
+Author: Ivo van Doorn <ivdoorn at gmail.com>
+Date: Mon Mar 31 15:53:44 2008 +0200
+
+ rt2x00: Remove MAC80211_LEDS dependency
+
+ Implement triggers inside rt2x00 itself based
+ on input from mac80211. This replaces the method
+ of using the mac80211 trigger events which do
+ not work for USB drivers due to the scheduling
+ requirement.
+
+ After this patch RT2500USB_LEDS and RT73USB_LEDS
+ no longer need to be tagged as broken since they
+ now support LED handling again without having to
+ check for in_atomic().
+
+ Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit e0b005fa1479045fe879944036268af3ebcd1835
+Author: Ivo van Doorn <ivdoorn at gmail.com>
+Date: Mon Mar 31 15:24:53 2008 +0200
+
+ rt2x00: TO_DS filter depends on intf_ap_count
+
+ The TO_DS filter does not only depend on the FIF_PROMISC_IN_BSS flag
+ provided by mac80211, but also on the intf_ap_count count.
+ This makes sense, since when Master mode is active, we should all frames
+ that are send to the active AP (the device itself).
+
[...15518 lines suppressed...]
-+++ linux-2.6.24.noarch/drivers/net/wireless/rtl8180_max2820.c 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/drivers/net/wireless/rtl8180_max2820.c.orig 2008-04-01 20:38:30.000000000 -0400
++++ linux-2.6.24.noarch/drivers/net/wireless/rtl8180_max2820.c 2008-04-01 20:48:59.000000000 -0400
@@ -78,8 +78,9 @@ static void max2820_rf_set_channel(struc
struct ieee80211_conf *conf)
{
@@ -91159,8 +93014,8 @@
/* While philips SA2400 drive the PA bias from
diff -up linux-2.6.24.noarch/drivers/net/wireless/adm8211.c.orig linux-2.6.24.noarch/drivers/net/wireless/adm8211.c
---- linux-2.6.24.noarch/drivers/net/wireless/adm8211.c.orig 2008-03-28 10:30:43.000000000 -0400
-+++ linux-2.6.24.noarch/drivers/net/wireless/adm8211.c 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/drivers/net/wireless/adm8211.c.orig 2008-04-01 20:38:28.000000000 -0400
++++ linux-2.6.24.noarch/drivers/net/wireless/adm8211.c 2008-04-01 20:48:59.000000000 -0400
@@ -48,6 +48,32 @@ static struct pci_device_id adm8211_pci_
{ 0 }
};
@@ -91330,8 +93185,8 @@
err = ieee80211_register_hw(dev);
if (err) {
diff -up linux-2.6.24.noarch/drivers/ssb/Makefile.orig linux-2.6.24.noarch/drivers/ssb/Makefile
---- linux-2.6.24.noarch/drivers/ssb/Makefile.orig 2008-03-28 10:30:47.000000000 -0400
-+++ linux-2.6.24.noarch/drivers/ssb/Makefile 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/drivers/ssb/Makefile.orig 2008-04-01 20:38:33.000000000 -0400
++++ linux-2.6.24.noarch/drivers/ssb/Makefile 2008-04-01 20:48:59.000000000 -0400
@@ -1,6 +1,7 @@
# core
ssb-y += main.o scan.o
@@ -91349,8 +93204,8 @@
# b43 pci-ssb-bridge driver
# Not strictly a part of SSB, but kept here for convenience
diff -up linux-2.6.24.noarch/drivers/ssb/pcmcia.c.orig linux-2.6.24.noarch/drivers/ssb/pcmcia.c
---- linux-2.6.24.noarch/drivers/ssb/pcmcia.c.orig 2008-03-28 10:30:47.000000000 -0400
-+++ linux-2.6.24.noarch/drivers/ssb/pcmcia.c 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/drivers/ssb/pcmcia.c.orig 2008-04-01 20:38:33.000000000 -0400
++++ linux-2.6.24.noarch/drivers/ssb/pcmcia.c 2008-04-01 20:48:59.000000000 -0400
@@ -3,7 +3,7 @@
* PCMCIA-Hostbus related functions
*
@@ -92023,8 +93878,8 @@
+ return err;
}
diff -up linux-2.6.24.noarch/drivers/ssb/main.c.orig linux-2.6.24.noarch/drivers/ssb/main.c
---- linux-2.6.24.noarch/drivers/ssb/main.c.orig 2008-03-28 10:30:47.000000000 -0400
-+++ linux-2.6.24.noarch/drivers/ssb/main.c 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/drivers/ssb/main.c.orig 2008-04-01 20:38:33.000000000 -0400
++++ linux-2.6.24.noarch/drivers/ssb/main.c 2008-04-01 20:48:59.000000000 -0400
@@ -14,6 +14,7 @@
#include <linux/io.h>
#include <linux/ssb/ssb.h>
@@ -92163,7 +94018,7 @@
}
diff -up linux-2.6.24.noarch/drivers/ssb/driver_mipscore.c.orig linux-2.6.24.noarch/drivers/ssb/driver_mipscore.c
--- linux-2.6.24.noarch/drivers/ssb/driver_mipscore.c.orig 2008-01-24 17:58:37.000000000 -0500
-+++ linux-2.6.24.noarch/drivers/ssb/driver_mipscore.c 2008-03-28 11:55:11.000000000 -0400
++++ linux-2.6.24.noarch/drivers/ssb/driver_mipscore.c 2008-04-01 20:48:59.000000000 -0400
@@ -209,6 +209,7 @@ void ssb_mipscore_init(struct ssb_mipsco
/* fallthrough */
case SSB_DEV_PCI:
@@ -92173,8 +94028,8 @@
case SSB_DEV_USB20_HOST:
/* These devices get their own IRQ line if available, the rest goes on IRQ0 */
diff -up linux-2.6.24.noarch/drivers/ssb/ssb_private.h.orig linux-2.6.24.noarch/drivers/ssb/ssb_private.h
---- linux-2.6.24.noarch/drivers/ssb/ssb_private.h.orig 2008-03-28 10:30:47.000000000 -0400
-+++ linux-2.6.24.noarch/drivers/ssb/ssb_private.h 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/drivers/ssb/ssb_private.h.orig 2008-04-01 20:38:33.000000000 -0400
++++ linux-2.6.24.noarch/drivers/ssb/ssb_private.h 2008-04-01 20:48:59.000000000 -0400
@@ -81,6 +81,7 @@ extern int ssb_pcmcia_switch_segment(str
u8 seg);
extern int ssb_pcmcia_get_invariants(struct ssb_bus *bus,
@@ -92221,8 +94076,8 @@
/* b43_pci_bridge.c */
#ifdef CONFIG_SSB_B43_PCI_BRIDGE
diff -up /dev/null linux-2.6.24.noarch/drivers/ssb/driver_gige.c
---- /dev/null 2008-03-28 08:58:45.220448129 -0400
-+++ linux-2.6.24.noarch/drivers/ssb/driver_gige.c 2008-03-28 11:55:11.000000000 -0400
+--- /dev/null 2008-04-01 10:36:34.721293558 -0400
++++ linux-2.6.24.noarch/drivers/ssb/driver_gige.c 2008-04-01 20:48:59.000000000 -0400
@@ -0,0 +1,294 @@
+/*
+ * Sonics Silicon Backplane
@@ -92519,8 +94374,8 @@
+ return ssb_driver_register(&ssb_gige_driver);
+}
diff -up linux-2.6.24.noarch/drivers/ssb/pci.c.orig linux-2.6.24.noarch/drivers/ssb/pci.c
---- linux-2.6.24.noarch/drivers/ssb/pci.c.orig 2008-03-28 10:30:47.000000000 -0400
-+++ linux-2.6.24.noarch/drivers/ssb/pci.c 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/drivers/ssb/pci.c.orig 2008-04-01 20:38:33.000000000 -0400
++++ linux-2.6.24.noarch/drivers/ssb/pci.c 2008-04-01 20:48:59.000000000 -0400
@@ -227,7 +227,7 @@ static u8 ssb_sprom_crc(const u16 *sprom
return crc;
}
@@ -92737,8 +94592,8 @@
if (err)
goto out;
diff -up linux-2.6.24.noarch/drivers/ssb/driver_chipcommon.c.orig linux-2.6.24.noarch/drivers/ssb/driver_chipcommon.c
---- linux-2.6.24.noarch/drivers/ssb/driver_chipcommon.c.orig 2008-03-28 10:30:47.000000000 -0400
-+++ linux-2.6.24.noarch/drivers/ssb/driver_chipcommon.c 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/drivers/ssb/driver_chipcommon.c.orig 2008-04-01 20:38:33.000000000 -0400
++++ linux-2.6.24.noarch/drivers/ssb/driver_chipcommon.c 2008-04-01 20:48:59.000000000 -0400
@@ -353,6 +353,16 @@ void ssb_chipco_watchdog_timer_set(struc
chipco_write32(cc, SSB_CHIPCO_WATCHDOG, ticks);
}
@@ -92757,8 +94612,8 @@
{
return chipco_read32(cc, SSB_CHIPCO_GPIOIN) & mask;
diff -up linux-2.6.24.noarch/drivers/ssb/Kconfig.orig linux-2.6.24.noarch/drivers/ssb/Kconfig
---- linux-2.6.24.noarch/drivers/ssb/Kconfig.orig 2008-03-28 10:30:47.000000000 -0400
-+++ linux-2.6.24.noarch/drivers/ssb/Kconfig 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/drivers/ssb/Kconfig.orig 2008-04-01 20:38:33.000000000 -0400
++++ linux-2.6.24.noarch/drivers/ssb/Kconfig 2008-04-01 20:48:59.000000000 -0400
@@ -20,6 +20,10 @@ config SSB
If unsure, say N.
@@ -92801,8 +94656,8 @@
+
endmenu
diff -up linux-2.6.24.noarch/drivers/ssb/embedded.c.orig linux-2.6.24.noarch/drivers/ssb/embedded.c
---- linux-2.6.24.noarch/drivers/ssb/embedded.c.orig 2008-03-28 10:30:47.000000000 -0400
-+++ linux-2.6.24.noarch/drivers/ssb/embedded.c 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/drivers/ssb/embedded.c.orig 2008-04-01 20:38:33.000000000 -0400
++++ linux-2.6.24.noarch/drivers/ssb/embedded.c 2008-04-01 20:48:59.000000000 -0400
@@ -10,6 +10,9 @@
#include <linux/ssb/ssb.h>
@@ -92905,8 +94760,8 @@
+ return -ENODEV;
+}
diff -up linux-2.6.24.noarch/drivers/ssb/driver_pcicore.c.orig linux-2.6.24.noarch/drivers/ssb/driver_pcicore.c
---- linux-2.6.24.noarch/drivers/ssb/driver_pcicore.c.orig 2008-03-28 10:30:47.000000000 -0400
-+++ linux-2.6.24.noarch/drivers/ssb/driver_pcicore.c 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/drivers/ssb/driver_pcicore.c.orig 2008-04-01 20:38:33.000000000 -0400
++++ linux-2.6.24.noarch/drivers/ssb/driver_pcicore.c 2008-04-01 20:48:59.000000000 -0400
@@ -60,77 +60,6 @@ static DEFINE_SPINLOCK(cfgspace_lock);
/* Core to access the external PCI config space. Can only have one. */
static struct ssb_pcicore *extpci_core;
@@ -93082,8 +94937,8 @@
{
u32 val;
diff -up /dev/null linux-2.6.24.noarch/drivers/ssb/sprom.c
---- /dev/null 2008-03-28 08:58:45.220448129 -0400
-+++ linux-2.6.24.noarch/drivers/ssb/sprom.c 2008-03-28 11:55:11.000000000 -0400
+--- /dev/null 2008-04-01 10:36:34.721293558 -0400
++++ linux-2.6.24.noarch/drivers/ssb/sprom.c 2008-04-01 20:48:59.000000000 -0400
@@ -0,0 +1,133 @@
+/*
+ * Sonics Silicon Backplane
@@ -93219,8 +95074,8 @@
+ return err ? err : count;
+}
diff -up linux-2.6.24.noarch/Documentation/laptops/acer-wmi.txt.orig linux-2.6.24.noarch/Documentation/laptops/acer-wmi.txt
---- linux-2.6.24.noarch/Documentation/laptops/acer-wmi.txt.orig 2008-03-28 10:30:27.000000000 -0400
-+++ linux-2.6.24.noarch/Documentation/laptops/acer-wmi.txt 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/Documentation/laptops/acer-wmi.txt.orig 2008-04-01 20:38:03.000000000 -0400
++++ linux-2.6.24.noarch/Documentation/laptops/acer-wmi.txt 2008-04-01 20:48:59.000000000 -0400
@@ -80,7 +80,7 @@ once you enable the radio, will depend o
e.g. With the BCM4318 on the Acer Aspire 5020 series:
@@ -93232,7 +95087,7 @@
acer-wmi come with built-in wireless. However, should you feel so inclined to
diff -up linux-2.6.24.noarch/Documentation/networking/bcm43xx.txt.orig linux-2.6.24.noarch/Documentation/networking/bcm43xx.txt
--- linux-2.6.24.noarch/Documentation/networking/bcm43xx.txt.orig 2008-01-24 17:58:37.000000000 -0500
-+++ linux-2.6.24.noarch/Documentation/networking/bcm43xx.txt 2008-03-28 11:55:11.000000000 -0400
++++ linux-2.6.24.noarch/Documentation/networking/bcm43xx.txt 2008-04-01 20:48:59.000000000 -0400
@@ -1,89 +0,0 @@
-
- BCM43xx Linux Driver Project
@@ -93324,8 +95179,8 @@
-and CONFIG_IEEE80211_SOFTMAC_DEBUG. The log information provided is
-essential for solving any problems.
diff -up /dev/null linux-2.6.24.noarch/Documentation/DocBook/mac80211.tmpl
---- /dev/null 2008-03-28 08:58:45.220448129 -0400
-+++ linux-2.6.24.noarch/Documentation/DocBook/mac80211.tmpl 2008-03-28 11:55:11.000000000 -0400
+--- /dev/null 2008-04-01 10:36:34.721293558 -0400
++++ linux-2.6.24.noarch/Documentation/DocBook/mac80211.tmpl 2008-04-01 20:48:59.000000000 -0400
@@ -0,0 +1,335 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
@@ -93663,8 +95518,8 @@
+ </part>
+</book>
diff -up linux-2.6.24.noarch/Documentation/DocBook/Makefile.orig linux-2.6.24.noarch/Documentation/DocBook/Makefile
---- linux-2.6.24.noarch/Documentation/DocBook/Makefile.orig 2008-03-28 11:53:57.000000000 -0400
-+++ linux-2.6.24.noarch/Documentation/DocBook/Makefile 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/Documentation/DocBook/Makefile.orig 2008-04-01 20:48:01.000000000 -0400
++++ linux-2.6.24.noarch/Documentation/DocBook/Makefile 2008-04-01 20:48:59.000000000 -0400
@@ -11,7 +11,8 @@ DOCBOOKS := wanbook.xml z8530book.xml mc
procfs-guide.xml writing_usb_driver.xml networking.xml \
kernel-api.xml filesystems.xml lsm.xml usb.xml \
@@ -93676,8 +95531,8 @@
###
# The build process is as follows (targets):
diff -up linux-2.6.24.noarch/Documentation/feature-removal-schedule.txt.orig linux-2.6.24.noarch/Documentation/feature-removal-schedule.txt
---- linux-2.6.24.noarch/Documentation/feature-removal-schedule.txt.orig 2008-03-28 10:30:27.000000000 -0400
-+++ linux-2.6.24.noarch/Documentation/feature-removal-schedule.txt 2008-03-28 11:55:11.000000000 -0400
+--- linux-2.6.24.noarch/Documentation/feature-removal-schedule.txt.orig 2008-04-01 20:38:03.000000000 -0400
++++ linux-2.6.24.noarch/Documentation/feature-removal-schedule.txt 2008-04-01 20:48:59.000000000 -0400
@@ -230,33 +230,6 @@ Who: Jean Delvare <khali at linux-fr.org>
---------------------------
linux-2.6-wireless.patch:
Index: linux-2.6-wireless.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-wireless.patch,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- linux-2.6-wireless.patch 28 Mar 2008 19:54:39 -0000 1.31
+++ linux-2.6-wireless.patch 2 Apr 2008 01:21:33 -0000 1.32
@@ -1,3 +1,61 @@
+commit d43c7b37ad787173d08683f05eadeea0398fefdf
+Author: Vladimir Koutny <vlado at work.ksp.sk>
+Date: Mon Mar 31 17:05:03 2008 +0200
+
+ mac80211: correct use_short_preamble handling
+
+ ERP IE bit for preamble mode is 0 for short and 1 for long, not the other
+ way around. This fixes the value reported to the driver via
+ bss_conf->use_short_preamble field.
+
+ Signed-off-by: Vladimir Koutny <vlado at ksp.sk>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit e645890115004fa6c4dd1f9541bb834970c8bcae
+Author: Michael Buesch <mb at bu3sch.de>
+Date: Fri Mar 28 11:48:53 2008 +0100
+
+ b43: Fix PCMCIA IRQ routing
+
+ This fixes the IRQ routing on PCMCIA devices.
+ With this patch the card will finally be able to receive IRQs.
+
+ Signed-off-by: Michael Buesch <mb at bu3sch.de>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit 539e6f8cffe9299fbf813ad574535b90ac370031
+Author: Michael Buesch <mb at bu3sch.de>
+Date: Fri Mar 28 11:46:58 2008 +0100
+
+ b43: Add DMA mapping failure messages
+
+ This adds messages for some DMA mapping failures.
+ These are useful for debugging DMA address problems, as they appear
+ on x86_64 machines with IOMMU enabled.
+
+ Signed-off-by: Michael Buesch <mb at bu3sch.de>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
+commit 64f851e410ae37a0990212ae34f0c96b641478f7
+Author: Jan Niehusmann <jan at gondor.com>
+Date: Sun Mar 23 20:23:56 2008 +0100
+
+ mac80211: trigger ieee80211_sta_work after opening interface
+
+ ieee80211_sta_work is disabled while network interface
+ is down. Therefore, if you configure wireless parameters
+ before bringing the interface up, these configurations are
+ not yet effective and association fails.
+
+ A workaround from userspace is calling a command like
+ 'iwconfig wlan0 ap any' after the interface is brought up.
+
+ To fix this behaviour, trigger execution of ieee80211_sta_work from
+ ieee80211_open when in STA or IBSS mode.
+
+ Signed-off-by: Jan Niehusmann <jan at gondor.com>
+ Signed-off-by: John W. Linville <linville at tuxdriver.com>
+
commit 3e05e6703fb663fb8a394615d16c3a93cbef001e
Author: Ivo van Doorn <ivdoorn at gmail.com>
Date: Thu Mar 27 17:15:24 2008 +0100
@@ -66,9 +124,111 @@
Acked-by: Dan Williams <dcbw at redhat.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
+diff -up linux-2.6.24.noarch/net/mac80211/ieee80211.c.orig linux-2.6.24.noarch/net/mac80211/ieee80211.c
+--- linux-2.6.24.noarch/net/mac80211/ieee80211.c.orig 2008-04-01 20:39:01.000000000 -0400
++++ linux-2.6.24.noarch/net/mac80211/ieee80211.c 2008-04-01 20:41:26.000000000 -0400
+@@ -375,6 +375,18 @@ static int ieee80211_open(struct net_dev
+ if (need_hw_reconfig)
+ ieee80211_hw_config(local);
+
++ /*
++ * ieee80211_sta_work is disabled while network interface
++ * is down. Therefore, some configuration changes may not
++ * yet be effective. Trigger execution of ieee80211_sta_work
++ * to fix this.
++ */
++ if(sdata->vif.type == IEEE80211_IF_TYPE_STA ||
++ sdata->vif.type == IEEE80211_IF_TYPE_IBSS) {
++ struct ieee80211_if_sta *ifsta = &sdata->u.sta;
++ queue_work(local->hw.workqueue, &ifsta->work);
++ }
++
+ netif_start_queue(dev);
+
+ return 0;
+diff -up linux-2.6.24.noarch/net/mac80211/ieee80211_sta.c.orig linux-2.6.24.noarch/net/mac80211/ieee80211_sta.c
+--- linux-2.6.24.noarch/net/mac80211/ieee80211_sta.c.orig 2008-04-01 20:39:01.000000000 -0400
++++ linux-2.6.24.noarch/net/mac80211/ieee80211_sta.c 2008-04-01 20:41:26.000000000 -0400
+@@ -360,7 +360,7 @@ static u32 ieee80211_handle_erp_ie(struc
+ struct ieee80211_bss_conf *bss_conf = &sdata->bss_conf;
+ struct ieee80211_if_sta *ifsta = &sdata->u.sta;
+ bool use_protection = (erp_value & WLAN_ERP_USE_PROTECTION) != 0;
+- bool preamble_mode = (erp_value & WLAN_ERP_BARKER_PREAMBLE) != 0;
++ bool use_short_preamble = (erp_value & WLAN_ERP_BARKER_PREAMBLE) == 0;
+ DECLARE_MAC_BUF(mac);
+ u32 changed = 0;
+
+@@ -376,16 +376,15 @@ static u32 ieee80211_handle_erp_ie(struc
+ changed |= BSS_CHANGED_ERP_CTS_PROT;
+ }
+
+- if (preamble_mode != bss_conf->use_short_preamble) {
++ if (use_short_preamble != bss_conf->use_short_preamble) {
+ if (net_ratelimit()) {
+ printk(KERN_DEBUG "%s: switched to %s barker preamble"
+ " (BSSID=%s)\n",
+ sdata->dev->name,
+- (preamble_mode == WLAN_ERP_PREAMBLE_SHORT) ?
+- "short" : "long",
++ use_short_preamble ? "short" : "long",
+ print_mac(mac, ifsta->bssid));
+ }
+- bss_conf->use_short_preamble = preamble_mode;
++ bss_conf->use_short_preamble = use_short_preamble;
+ changed |= BSS_CHANGED_ERP_PREAMBLE;
+ }
+
+diff -up linux-2.6.24.noarch/drivers/net/wireless/b43/pcmcia.c.orig linux-2.6.24.noarch/drivers/net/wireless/b43/pcmcia.c
+--- linux-2.6.24.noarch/drivers/net/wireless/b43/pcmcia.c.orig 2008-01-24 17:58:37.000000000 -0500
++++ linux-2.6.24.noarch/drivers/net/wireless/b43/pcmcia.c 2008-04-01 20:41:26.000000000 -0400
+@@ -91,6 +91,8 @@ static int __devinit b43_pcmcia_probe(st
+
+ dev->conf.ConfigBase = parse.config.base;
+ dev->conf.Present = parse.config.rmask[0];
++ dev->conf.Attributes = CONF_ENABLE_IRQ;
++ dev->conf.IntType = INT_MEMORY_AND_IO;
+
+ dev->io.BasePort2 = 0;
+ dev->io.NumPorts2 = 0;
+@@ -112,8 +114,8 @@ static int __devinit b43_pcmcia_probe(st
+ if (res != CS_SUCCESS)
+ goto err_disable;
+
+- dev->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING | IRQ_FIRST_SHARED;
+- dev->irq.IRQInfo1 = IRQ_LEVEL_ID | IRQ_SHARE_ID;
++ dev->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING;
++ dev->irq.IRQInfo1 = IRQ_LEVEL_ID;
+ dev->irq.Handler = NULL; /* The handler is registered later. */
+ dev->irq.Instance = NULL;
+ res = pcmcia_request_irq(dev, &dev->irq);
+diff -up linux-2.6.24.noarch/drivers/net/wireless/b43/dma.c.orig linux-2.6.24.noarch/drivers/net/wireless/b43/dma.c
+--- linux-2.6.24.noarch/drivers/net/wireless/b43/dma.c.orig 2008-04-01 20:39:01.000000000 -0400
++++ linux-2.6.24.noarch/drivers/net/wireless/b43/dma.c 2008-04-01 20:41:26.000000000 -0400
+@@ -574,6 +574,7 @@ static int setup_rx_descbuffer(struct b4
+ }
+
+ if (b43_dma_mapping_error(ring, dmaaddr, ring->rx_buffersize, 0)) {
++ b43err(ring->dev->wl, "RX DMA buffer allocation failed\n");
+ dev_kfree_skb_any(skb);
+ return -EIO;
+ }
+@@ -829,8 +830,12 @@ struct b43_dmaring *b43_setup_dmaring(st
+ DMA_TO_DEVICE);
+
+ if (b43_dma_mapping_error(ring, dma_test,
+- b43_txhdr_size(dev), 1))
++ b43_txhdr_size(dev), 1)) {
++
++ b43err(dev->wl,
++ "TXHDR DMA allocation failed\n");
+ goto err_kfree_txhdr_cache;
++ }
+ }
+
+ dma_unmap_single(dev->dev->dev,
diff -up linux-2.6.24.noarch/drivers/net/wireless/libertas/if_cs.c.orig linux-2.6.24.noarch/drivers/net/wireless/libertas/if_cs.c
---- linux-2.6.24.noarch/drivers/net/wireless/libertas/if_cs.c.orig 2008-03-28 12:22:08.000000000 -0400
-+++ linux-2.6.24.noarch/drivers/net/wireless/libertas/if_cs.c 2008-03-28 15:17:08.000000000 -0400
+--- linux-2.6.24.noarch/drivers/net/wireless/libertas/if_cs.c.orig 2008-04-01 20:40:36.000000000 -0400
++++ linux-2.6.24.noarch/drivers/net/wireless/libertas/if_cs.c 2008-04-01 20:40:41.000000000 -0400
@@ -677,9 +677,7 @@ sbi_get_int_status_exit:
/* Card has a command result for us */
@@ -80,9 +240,9 @@
lbs_pr_err("could not receive cmd from card\n");
}
diff -up linux-2.6.24.noarch/drivers/net/wireless/iwlwifi/iwl-4965.c.orig linux-2.6.24.noarch/drivers/net/wireless/iwlwifi/iwl-4965.c
---- linux-2.6.24.noarch/drivers/net/wireless/iwlwifi/iwl-4965.c.orig 2008-03-28 12:22:07.000000000 -0400
-+++ linux-2.6.24.noarch/drivers/net/wireless/iwlwifi/iwl-4965.c 2008-03-28 15:17:08.000000000 -0400
-@@ -4589,7 +4589,7 @@ static u8 iwl4965_is_fat_tx_allowed(stru
+--- linux-2.6.24.noarch/drivers/net/wireless/iwlwifi/iwl-4965.c.orig 2008-04-01 20:40:36.000000000 -0400
++++ linux-2.6.24.noarch/drivers/net/wireless/iwlwifi/iwl-4965.c 2008-04-01 20:40:41.000000000 -0400
+@@ -4602,7 +4602,7 @@ static u8 iwl4965_is_fat_tx_allowed(stru
if (sta_ht_inf) {
if ((!sta_ht_inf->ht_supported) ||
@@ -92,9 +252,9 @@
}
diff -up linux-2.6.24.noarch/drivers/net/wireless/rt2x00/rt2x00dev.c.orig linux-2.6.24.noarch/drivers/net/wireless/rt2x00/rt2x00dev.c
---- linux-2.6.24.noarch/drivers/net/wireless/rt2x00/rt2x00dev.c.orig 2008-03-28 12:22:08.000000000 -0400
-+++ linux-2.6.24.noarch/drivers/net/wireless/rt2x00/rt2x00dev.c 2008-03-28 15:17:08.000000000 -0400
-@@ -1393,11 +1393,20 @@ int rt2x00lib_suspend(struct rt2x00_dev
+--- linux-2.6.24.noarch/drivers/net/wireless/rt2x00/rt2x00dev.c.orig 2008-04-01 20:40:36.000000000 -0400
++++ linux-2.6.24.noarch/drivers/net/wireless/rt2x00/rt2x00dev.c 2008-04-01 20:40:41.000000000 -0400
+@@ -1246,11 +1246,20 @@ int rt2x00lib_suspend(struct rt2x00_dev
exit:
/*
--- linux-2.6-mac80211-gcc-bug.patch DELETED ---
More information about the fedora-extras-commits
mailing list