rpms/wl-kmod/F-17 broadcom-wl-5.100.82.112-wext_workaround.patch, NONE, 1.1 broadcom-wl-5.100.82.112-kernel-3.2.patch, 1.1, 1.2 broadcom-wl-5.100.82.112-kernel-3.6.patch, 1.2, 1.3 broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch, 1.1, 1.2 broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch, 1.1, 1.2 wl-kmod.spec, 1.99, 1.100
by Nicolas Viéville
Author: nvieville
Update of /cvs/nonfree/rpms/wl-kmod/F-17
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv22739
Modified Files:
broadcom-wl-5.100.82.112-kernel-3.2.patch
broadcom-wl-5.100.82.112-kernel-3.6.patch
broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch
broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch
wl-kmod.spec
Added Files:
broadcom-wl-5.100.82.112-wext_workaround.patch
Log Message:
* Wed Nov 21 2012 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-7
- Added patch to choose API at build time (WEXT or CFG80211) to workaround #2548 #2562
- Others patches cleaned-up
broadcom-wl-5.100.82.112-wext_workaround.patch:
Makefile | 14 ++++++++++++++
1 file changed, 14 insertions(+)
--- NEW FILE broadcom-wl-5.100.82.112-wext_workaround.patch ---
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/Makefile hybrid-portsrc_x86_32-v5_100_82_112/Makefile
--- hybrid-portsrc_x86_32-v5_100_82_112.orig/Makefile 2012-10-10 14:34:17.000000000 +0200
+++ hybrid-portsrc_x86_32-v5_100_82_112/Makefile 2012-11-09 14:25:09.755455777 +0100
@@ -13,6 +13,8 @@
#
# $Id: Makefile_kbuild_portsrc,v 1.6.54.4 2011-01-27 00:55:34 Exp $
+API_ETC_FILE := /etc/akmods/akmod-wl/api
+
ifneq ($(KERNELRELEASE),)
LINUXVER_GOODFOR_CFG80211:=$(strip $(shell \
@@ -31,6 +33,18 @@
fi \
))
+ API_FILE:=$(strip $(shell \
+ if [ -r "$(API_ETC_FILE)" ]; then \
+ echo TRUE; \
+ else \
+ echo FALSE; \
+ fi \
+ ))
+
+ ifeq ($(API_FILE), TRUE)
+ include $(API_ETC_FILE)
+ endif
+
ifneq ($(API),)
ifeq ($(API), CFG80211)
APICHOICE := FORCE_CFG80211
broadcom-wl-5.100.82.112-kernel-3.2.patch:
wl_linux.c | 4 ++++
1 file changed, 4 insertions(+)
Index: broadcom-wl-5.100.82.112-kernel-3.2.patch
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-17/broadcom-wl-5.100.82.112-kernel-3.2.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- broadcom-wl-5.100.82.112-kernel-3.2.patch 9 Jan 2012 21:36:14 -0000 1.1
+++ broadcom-wl-5.100.82.112-kernel-3.2.patch 21 Nov 2012 12:11:09 -0000 1.2
@@ -5,7 +5,7 @@
#endif
.ndo_get_stats = wl_get_stats,
.ndo_set_mac_address = wl_set_mac_address,
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 42) && LINUX_VERSION_CODE < KERNEL_VERSION(3, 0, 0))
+ .ndo_set_rx_mode = wl_set_multicast_list,
+#else
.ndo_set_multicast_list = wl_set_multicast_list,
broadcom-wl-5.100.82.112-kernel-3.6.patch:
wl_cfg80211.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
Index: broadcom-wl-5.100.82.112-kernel-3.6.patch
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-17/broadcom-wl-5.100.82.112-kernel-3.6.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- broadcom-wl-5.100.82.112-kernel-3.6.patch 17 Oct 2012 05:58:56 -0000 1.2
+++ broadcom-wl-5.100.82.112-kernel-3.6.patch 21 Nov 2012 12:11:09 -0000 1.3
@@ -1,33 +1,32 @@
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.c hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c
--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.c 2011-10-22 18:56:55.000000000 +0200
-+++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c 2012-10-16 22:04:18.718673254 +0200
-@@ -42,7 +42,11 @@
++++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c 2012-11-07 17:34:38.141769328 +0100
+@@ -42,7 +42,10 @@
enum nl80211_iftype type, u32 *flags, struct vif_params *params);
static s32 __wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
struct cfg80211_scan_request *request, struct cfg80211_ssid *this_ssid);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0)
+-static s32 wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
+static s32 wl_cfg80211_scan(struct wiphy *wiphy,
-+#else
- static s32 wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0)
++ struct net_device *ndev,
+#endif
struct cfg80211_scan_request *request);
static s32 wl_cfg80211_set_wiphy_params(struct wiphy *wiphy, u32 changed);
static s32 wl_cfg80211_join_ibss(struct wiphy *wiphy, struct net_device *dev,
-@@ -570,10 +574,18 @@
+@@ -570,10 +573,16 @@
}
static s32
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0)
+-wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
+wl_cfg80211_scan(struct wiphy *wiphy,
-+#else
- wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0)
++ struct net_device *ndev,
+#endif
struct cfg80211_scan_request *request)
{
s32 err = 0;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0)
-+ struct wl_priv *wl = wiphy_to_wl(wiphy);
-+ struct net_device *ndev = wl_to_ndev(wl);
++ struct net_device *ndev = request->wdev->netdev;
+#endif
CHECK_SYS_UP();
broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch:
wl_cfg80211.c | 14 ++++++++------
wl_linux.c | 6 +-----
2 files changed, 9 insertions(+), 11 deletions(-)
Index: broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-17/broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch 20 Oct 2012 16:00:59 -0000 1.1
+++ broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch 21 Nov 2012 12:11:09 -0000 1.2
@@ -1,21 +1,31 @@
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.c hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c
---- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.c 2012-10-16 22:04:18.718673254 +0200
-+++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c 2012-10-20 16:16:20.071738204 +0200
-@@ -1478,7 +1478,10 @@
+--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.c 2012-11-07 17:34:38.141769328 +0100
++++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c 2012-11-07 18:16:51.342521040 +0100
+@@ -1475,13 +1475,15 @@
scb_val.val = 0;
err = wl_dev_ioctl(dev, WLC_GET_RSSI, &scb_val, sizeof(scb_val_t));
if (err) {
- WL_ERR(("Could not get rssi (%d)\n", err));
-+ if (err != -EINVAL) {
+- return err;
++ if (err != -EINVAL)
+ // Don't fill syslog with EINVAL error
+ WL_ERR(("Could not get rssi (%d)\n", err));
-+ }
- return err;
++ } else {
++ rssi = dtoh32(scb_val.val);
++ sinfo->filled |= STATION_INFO_SIGNAL;
++ sinfo->signal = rssi;
++ WL_DBG(("RSSI %d dBm\n", rssi));
}
- rssi = dtoh32(scb_val.val);
+- rssi = dtoh32(scb_val.val);
+- sinfo->filled |= STATION_INFO_SIGNAL;
+- sinfo->signal = rssi;
+- WL_DBG(("RSSI %d dBm\n", rssi));
+ }
+
+ return err;
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_linux.c hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_linux.c
---- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_linux.c 2012-10-16 14:26:28.087617125 +0200
-+++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_linux.c 2012-10-20 16:16:20.447738352 +0200
+--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_linux.c 2012-11-07 17:52:29.434087011 +0100
++++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_linux.c 2012-11-07 17:59:01.626202471 +0100
@@ -1587,11 +1587,7 @@
}
broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch:
wl_cfg80211.h | 2 ++
wl_iw.h | 1 +
wl_linux.h | 2 ++
3 files changed, 5 insertions(+)
Index: broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-17/broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch 20 Oct 2012 16:00:59 -0000 1.1
+++ broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch 21 Nov 2012 12:11:09 -0000 1.2
@@ -1,3 +1,15 @@
+diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.h hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.h
+--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.h 2011-10-22 18:56:55.000000000 +0200
++++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.h 2012-11-07 18:04:55.286309234 +0100
+@@ -16,6 +16,8 @@
+ #ifndef _wl_cfg80211_h_
+ #define _wl_cfg80211_h_
+
++#include <linux/semaphore.h>
++
+ #include <net/cfg80211.h>
+ #include <wlioctl.h>
+
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_iw.h hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_iw.h
--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_iw.h 2011-10-22 18:56:55.000000000 +0200
+++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_iw.h 2012-10-20 16:16:20.396738313 +0200
@@ -9,3 +21,15 @@
#include <linux/wireless.h>
#include <typedefs.h>
+diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_linux.h hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_linux.h
+--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_linux.h 2011-10-22 18:56:55.000000000 +0200
++++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_linux.h 2012-11-07 18:04:55.394309261 +0100
+@@ -15,6 +15,8 @@
+ #ifndef _wl_linux_h_
+ #define _wl_linux_h_
+
++#include <linux/semaphore.h>
++
+ #include <wlc_types.h>
+
+ typedef struct wl_timer {
Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-17/wl-kmod.spec,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- wl-kmod.spec 20 Nov 2012 00:30:56 -0000 1.99
+++ wl-kmod.spec 21 Nov 2012 12:11:09 -0000 1.100
@@ -3,11 +3,11 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-%define buildforkernels newest
+%define buildforkernels current
Name: wl-kmod
Version: 5.100.82.112
-Release: 6%{?dist}.4
+Release: 7%{?dist}
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -22,6 +22,7 @@
Patch4: broadcom-wl-5.100.82.112-kernel-3.6.patch
Patch5: broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch
Patch6: broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch
+Patch7: broadcom-wl-5.100.82.112-wext_workaround.patch
BuildRequires: %{_bindir}/kmodtool
@@ -40,7 +41,9 @@
BCM4322-, BCM43224-, and BCM43225-, BCM43227- and BCM43228-based hardware.
NOTE: You must read the LICENSE.txt file in the docs directory before using
-this software.
+this software. You should read the fedora.readme file in the docs directory
+in order to know how to configure this software if you encounter problems
+while boot sequence or with the CFG80211 API (revert to the WEXT API).
%prep
# error out if there was something wrong with kmodtool
@@ -64,6 +67,7 @@
%patch4 -p1 -b .kernel-3.6
%patch5 -p1 -b .recent_kernel_semaphore
%patch6 -p1 -b .recent_kernel_ioctl
+%patch7 -p1 -b .wext_workaround.patch
popd
for kernel_version in %{?kernel_versions} ; do
@@ -93,6 +97,10 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Nov 21 2012 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-7
+- Added patch to choose API at build time (WEXT or CFG80211) to workaround #2548 #2562
+- Others patches cleaned-up
+
* Tue Nov 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 5.100.82.112-6.4
- Rebuilt for updated kernel
12 years
rpms/broadcom-wl/F-17 20-wl.conf, NONE, 1.1 api, NONE, 1.1 fedora.readme, NONE, 1.1 broadcom-wl.spec, 1.19, 1.20
by Nicolas Viéville
Author: nvieville
Update of /cvs/nonfree/rpms/broadcom-wl/F-17
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv22401
Modified Files:
broadcom-wl.spec
Added Files:
20-wl.conf api fedora.readme
Log Message:
* Wed Nov 21 2012 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-3
- Added /etc/dracut.conf.d/20-wl.conf to workaround #2526
- Added /etc/akmods/akmod-wl/api to workaround #2548 #2562
- fedora.readme added to explain usage of the above
--- NEW FILE 20-wl.conf ---
## /etc/dracut.conf.d/20-wl.conf file
##
## Explanation:
##
## Use only with Broadcom STA wireless driver provided by RPMFusion
## broadcom-wl, akmod-wl and kmod-wl packages.
## Provides required modules in order to avoid kernel 3.6.X panic at
## boot time on certain platforms such as HP Pavilion dm1 Notebook PC.
## See https://bugzilla.rpmfusion.org/show_bug.cgi?id=2526#c29 for an
## example of possible issues.
## To be able to boot the failing kernel, one should add wl.disable=1
## to the grub boot command.
##
## Usage:
##
## - Uncomment the line beginning with "add_drivers+=" below to add the
## required module to your current and future kernels. Then Rebuild
## the current kernel initramfs file by typing "dracut" in a root
## console.
##
## - Comment the line beginning with "add_drivers+=" below to remove the
## required module of your current and future kernels. Then Rebuild
## the current kernel initramfs file by typing "dracut" in a root
## console.
##
## Caution:
##
## Consider to rebuild your initramfs file every time it is needed.
##
## See http://people.redhat.com/harald/dracut.html#id489921 and
## http://people.redhat.com/harald/dracut.html#dracutconf5 for
## complete explanations on using dracut.
##
## State:
##
## Disabled by default
##
#add_drivers+="lib80211 lib80211_crypt_tkip wl"
--- NEW FILE api ---
#API=WEXT
--- NEW FILE fedora.readme ---
This file provides some basic information about Broadcom STA wireless
driver configuration files on Fedora with RPMFusion packages.
------------------------------------------------------------------------
Version 0.1 - Tue Nov 06 2012 - initial release
------------------------------------------------------------------------
0. Cautions
===========
The files mentioned in this document should not be used in a wireless
operational system. Only failing wireless system should give a try to
this file proposed solutions.
Use them at your own risk and only if your system could not boot
properly or if your Broadcom wireless device doesn't work correctly.
1. Choosing between WEXT or CFG80211 API
========================================
Some configurations require the user to choose between the WEXT API or
CFG80211 API in order to get Broadcom STA wireless driver properly
loaded, and correctly usable by third-party softwares.
Since this driver cannot be configured on-the-fly, the only solution is
to use RPMFusion akmod-wl package only and set the
/etc/akmods/akmod-wl/api file correctly.
No RPMFusion kmod-wl package installed will take care of the settings
provided in the /etc/akmods/akmod-wl/api file, and using this file
requires an exclusive usage of the akmod-wl package.
/etc/akmods/akmod-wl/api file should contain only one line depending on
the API choosen:
API=WEXT
to force building the module with WEXT API or
API=CFG80211
to force building the module with CFG80211 API or
#API=WEXT
or
#API=CFG80211
to let the Broadcom included Makefile do the right choice according to
your current kernel version.
#API=WEXT is the default setting.
Once this file modified, one should rebuild current kmod-wl package for
the current kernel by typing this command:
akmods --force --kernel `uname -r` --akmod wl
Reboot should be needed in order to get last wl module correctly loaded.
Caution :
---------
WEXT API will be dropped from future kernels according to
https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi...
This workaround should only used on compatibles kernels with the
WEXT API.
One should considere to switch to higher wireless compatible Fedora
Release in order to get the most recent CFG80211 API with most recent
kernel.
This workaround will be dropped from the future broadcom-wl, kmod-wl and
akmod-wl packages when the WEXT API will be dropped too.
2. Initramfs configuration file usage
=====================================
Please read comments in /etc/dracut.conf.d/20-wl.conf file in order to
configure loading modules needed by the Broadcom STA wireless driver in
kernel's init ramdisks.
Edit the /etc/dracut.conf.d/20-wl.conf file and comment/uncomment the
one line "add_drivers+=" directive depending on your choice.
For example
# nano /etc/dracut.conf.d/20-wl.conf
or
# sudo nano /etc/dracut.conf.d/20-wl.conf
should let you to modify this file, ctrl+o would save the file, and
ctrl+x should quit nano.
Then use dracut command to rebuild your current kernel initramfs file.
See http://people.redhat.com/harald/dracut.html#id489921 and
http://people.redhat.com/harald/dracut.html#dracutconf5 for complete
explanations on using dracut.
3. Support
==========
Support only about these configuration files will be provided on:
https://bugzilla.rpmfusion.org/enter_bug.cgi?product=Fedora
Index: broadcom-wl.spec
===================================================================
RCS file: /cvs/nonfree/rpms/broadcom-wl/F-17/broadcom-wl.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- broadcom-wl.spec 23 Apr 2012 14:20:35 -0000 1.19
+++ broadcom-wl.spec 21 Nov 2012 12:05:09 -0000 1.20
@@ -1,6 +1,6 @@
Name: broadcom-wl
Version: 5.100.82.112
-Release: 2%{?dist}.1
+Release: 3%{?dist}
Summary: Common files for Broadcom 802.11 STA driver
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -9,6 +9,9 @@
Source1: http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_64-v5_100_82_11...
Source2: http://www.broadcom.com/docs/linux_sta/README.txt
Source3: broadcom-wl-blacklist.conf
+Source4: 20-wl.conf
+Source5: api
+Source6: fedora.readme
Patch0: broadcom-wl-5.100.82.112-license.patch
BuildArch: noarch
@@ -29,7 +32,8 @@
iconv -f iso8859-1 -t UTF8 lib/LICENSE.txt -o lib/LICENSE.txt
sed -i 's/\r$//' lib/LICENSE.txt
cp -p %{SOURCE2} .
-chmod 644 lib/LICENSE.txt README.txt
+cp -p %{SOURCE6} .
+chmod 644 lib/LICENSE.txt README.txt fedora.readme
%patch0 -p1 -b .license
%build
@@ -37,18 +41,29 @@
%install
rm -rf $RPM_BUILD_ROOT
-mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/modprobe.d/
-install -p -m0644 %{SOURCE3} ${RPM_BUILD_ROOT}/%{_sysconfdir}/modprobe.d/
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/modprobe.d/
+install -p -m0644 %{SOURCE3} ${RPM_BUILD_ROOT}%{_sysconfdir}/modprobe.d/
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/dracut.conf.d/
+install -p -m0644 %{SOURCE4} ${RPM_BUILD_ROOT}%{_sysconfdir}/dracut.conf.d/
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/akmods/akmod-wl/
+install -p -m0644 %{SOURCE5} ${RPM_BUILD_ROOT}%{_sysconfdir}/akmods/akmod-wl/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc lib/LICENSE.txt README.txt
+%doc lib/LICENSE.txt README.txt fedora.readme
%config(noreplace) %{_sysconfdir}/modprobe.d/broadcom-wl-blacklist.conf
+%config(noreplace) %{_sysconfdir}/dracut.conf.d/20-wl.conf
+%config(noreplace) %{_sysconfdir}/akmods/akmod-wl/api
%changelog
+* Wed Nov 21 2012 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-3
+- Added /etc/dracut.conf.d/20-wl.conf to workaround #2526
+- Added /etc/akmods/akmod-wl/api to workaround #2548 #2562
+- fedora.readme added to explain usage of the above
+
* Mon Apr 23 2012 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-2.1
- Rebuilt with correct cvs tag number to allow upgrade from F-16
12 years
rpms/broadcom-wl/F-16 20-wl.conf, NONE, 1.1 api, NONE, 1.1 fedora.readme, NONE, 1.1 broadcom-wl.spec, 1.15, 1.16
by Nicolas Viéville
Author: nvieville
Update of /cvs/nonfree/rpms/broadcom-wl/F-16
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv22005
Modified Files:
broadcom-wl.spec
Added Files:
20-wl.conf api fedora.readme
Log Message:
* Wed Nov 21 2012 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-3
- Added /etc/dracut.conf.d/20-wl.conf to workaround #2526
- Added /etc/akmods/akmod-wl/api to workaround #2548 #2562
- fedora.readme added to explain usage of the above
--- NEW FILE 20-wl.conf ---
## /etc/dracut.conf.d/20-wl.conf file
##
## Explanation:
##
## Use only with Broadcom STA wireless driver provided by RPMFusion
## broadcom-wl, akmod-wl and kmod-wl packages.
## Provides required modules in order to avoid kernel 3.6.X panic at
## boot time on certain platforms such as HP Pavilion dm1 Notebook PC.
## See https://bugzilla.rpmfusion.org/show_bug.cgi?id=2526#c29 for an
## example of possible issues.
## To be able to boot the failing kernel, one should add wl.disable=1
## to the grub boot command.
##
## Usage:
##
## - Uncomment the line beginning with "add_drivers+=" below to add the
## required module to your current and future kernels. Then Rebuild
## the current kernel initramfs file by typing "dracut" in a root
## console.
##
## - Comment the line beginning with "add_drivers+=" below to remove the
## required module of your current and future kernels. Then Rebuild
## the current kernel initramfs file by typing "dracut" in a root
## console.
##
## Caution:
##
## Consider to rebuild your initramfs file every time it is needed.
##
## See http://people.redhat.com/harald/dracut.html#id489921 and
## http://people.redhat.com/harald/dracut.html#dracutconf5 for
## complete explanations on using dracut.
##
## State:
##
## Disabled by default
##
#add_drivers+="lib80211 lib80211_crypt_tkip wl"
--- NEW FILE api ---
#API=WEXT
--- NEW FILE fedora.readme ---
This file provides some basic information about Broadcom STA wireless
driver configuration files on Fedora with RPMFusion packages.
------------------------------------------------------------------------
Version 0.1 - Tue Nov 06 2012 - initial release
------------------------------------------------------------------------
0. Cautions
===========
The files mentioned in this document should not be used in a wireless
operational system. Only failing wireless system should give a try to
this file proposed solutions.
Use them at your own risk and only if your system could not boot
properly or if your Broadcom wireless device doesn't work correctly.
1. Choosing between WEXT or CFG80211 API
========================================
Some configurations require the user to choose between the WEXT API or
CFG80211 API in order to get Broadcom STA wireless driver properly
loaded, and correctly usable by third-party softwares.
Since this driver cannot be configured on-the-fly, the only solution is
to use RPMFusion akmod-wl package only and set the
/etc/akmods/akmod-wl/api file correctly.
No RPMFusion kmod-wl package installed will take care of the settings
provided in the /etc/akmods/akmod-wl/api file, and using this file
requires an exclusive usage of the akmod-wl package.
/etc/akmods/akmod-wl/api file should contain only one line depending on
the API choosen:
API=WEXT
to force building the module with WEXT API or
API=CFG80211
to force building the module with CFG80211 API or
#API=WEXT
or
#API=CFG80211
to let the Broadcom included Makefile do the right choice according to
your current kernel version.
#API=WEXT is the default setting.
Once this file modified, one should rebuild current kmod-wl package for
the current kernel by typing this command:
akmods --force --kernel `uname -r` --akmod wl
Reboot should be needed in order to get last wl module correctly loaded.
Caution :
---------
WEXT API will be dropped from future kernels according to
https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi...
This workaround should only used on compatibles kernels with the
WEXT API.
One should considere to switch to higher wireless compatible Fedora
Release in order to get the most recent CFG80211 API with most recent
kernel.
This workaround will be dropped from the future broadcom-wl, kmod-wl and
akmod-wl packages when the WEXT API will be dropped too.
2. Initramfs configuration file usage
=====================================
Please read comments in /etc/dracut.conf.d/20-wl.conf file in order to
configure loading modules needed by the Broadcom STA wireless driver in
kernel's init ramdisks.
Edit the /etc/dracut.conf.d/20-wl.conf file and comment/uncomment the
one line "add_drivers+=" directive depending on your choice.
For example
# nano /etc/dracut.conf.d/20-wl.conf
or
# sudo nano /etc/dracut.conf.d/20-wl.conf
should let you to modify this file, ctrl+o would save the file, and
ctrl+x should quit nano.
Then use dracut command to rebuild your current kernel initramfs file.
See http://people.redhat.com/harald/dracut.html#id489921 and
http://people.redhat.com/harald/dracut.html#dracutconf5 for complete
explanations on using dracut.
3. Support
==========
Support only about these configuration files will be provided on:
https://bugzilla.rpmfusion.org/enter_bug.cgi?product=Fedora
Index: broadcom-wl.spec
===================================================================
RCS file: /cvs/nonfree/rpms/broadcom-wl/F-16/broadcom-wl.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- broadcom-wl.spec 16 Nov 2011 11:07:54 -0000 1.15
+++ broadcom-wl.spec 21 Nov 2012 11:59:09 -0000 1.16
@@ -1,6 +1,6 @@
Name: broadcom-wl
Version: 5.100.82.112
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Common files for Broadcom 802.11 STA driver
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -9,6 +9,9 @@
Source1: http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_64-v5_100_82_11...
Source2: http://www.broadcom.com/docs/linux_sta/README.txt
Source3: broadcom-wl-blacklist.conf
+Source4: 20-wl.conf
+Source5: api
+Source6: fedora.readme
Patch0: broadcom-wl-5.100.82.112-license.patch
BuildArch: noarch
@@ -29,7 +32,8 @@
iconv -f iso8859-1 -t UTF8 lib/LICENSE.txt -o lib/LICENSE.txt
sed -i 's/\r$//' lib/LICENSE.txt
cp -p %{SOURCE2} .
-chmod 644 lib/LICENSE.txt README.txt
+cp -p %{SOURCE6} .
+chmod 644 lib/LICENSE.txt README.txt fedora.readme
%patch0 -p1 -b .license
%build
@@ -37,18 +41,29 @@
%install
rm -rf $RPM_BUILD_ROOT
-mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/modprobe.d/
-install -p -m0644 %{SOURCE3} ${RPM_BUILD_ROOT}/%{_sysconfdir}/modprobe.d/
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/modprobe.d/
+install -p -m0644 %{SOURCE3} ${RPM_BUILD_ROOT}%{_sysconfdir}/modprobe.d/
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/dracut.conf.d/
+install -p -m0644 %{SOURCE4} ${RPM_BUILD_ROOT}%{_sysconfdir}/dracut.conf.d/
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/akmods/akmod-wl/
+install -p -m0644 %{SOURCE5} ${RPM_BUILD_ROOT}%{_sysconfdir}/akmods/akmod-wl/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc lib/LICENSE.txt README.txt
+%doc lib/LICENSE.txt README.txt fedora.readme
%config(noreplace) %{_sysconfdir}/modprobe.d/broadcom-wl-blacklist.conf
+%config(noreplace) %{_sysconfdir}/dracut.conf.d/20-wl.conf
+%config(noreplace) %{_sysconfdir}/akmods/akmod-wl/api
%changelog
+* Wed Nov 21 2012 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-3
+- Added /etc/dracut.conf.d/20-wl.conf to workaround #2526
+- Added /etc/akmods/akmod-wl/api to workaround #2548 #2562
+- fedora.readme added to explain usage of the above
+
* Wed Nov 16 2011 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-2
- Added brcmsmac to broadcom-wl-blacklist.conf
12 years
rpms/wl-kmod/F-16 broadcom-wl-5.100.82.112-wext_workaround.patch, NONE, 1.1 broadcom-wl-5.100.82.112-kernel-3.6.patch, 1.1, 1.2 broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch, 1.1, 1.2 broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch, 1.1, 1.2 wl-kmod.spec, 1.112, 1.113
by Nicolas Viéville
Author: nvieville
Update of /cvs/nonfree/rpms/wl-kmod/F-16
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv20521
Modified Files:
broadcom-wl-5.100.82.112-kernel-3.6.patch
broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch
broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch
wl-kmod.spec
Added Files:
broadcom-wl-5.100.82.112-wext_workaround.patch
Log Message:
* Wed Nov 21 2012 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-5
- Added patch to choose API at build time (WEXT or CFG80211) to workaround #2548 #2562
- Others patches cleaned-up
broadcom-wl-5.100.82.112-wext_workaround.patch:
Makefile | 14 ++++++++++++++
1 file changed, 14 insertions(+)
--- NEW FILE broadcom-wl-5.100.82.112-wext_workaround.patch ---
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/Makefile hybrid-portsrc_x86_32-v5_100_82_112/Makefile
--- hybrid-portsrc_x86_32-v5_100_82_112.orig/Makefile 2012-10-10 14:34:17.000000000 +0200
+++ hybrid-portsrc_x86_32-v5_100_82_112/Makefile 2012-11-09 14:25:09.755455777 +0100
@@ -13,6 +13,8 @@
#
# $Id: Makefile_kbuild_portsrc,v 1.6.54.4 2011-01-27 00:55:34 Exp $
+API_ETC_FILE := /etc/akmods/akmod-wl/api
+
ifneq ($(KERNELRELEASE),)
LINUXVER_GOODFOR_CFG80211:=$(strip $(shell \
@@ -31,6 +33,18 @@
fi \
))
+ API_FILE:=$(strip $(shell \
+ if [ -r "$(API_ETC_FILE)" ]; then \
+ echo TRUE; \
+ else \
+ echo FALSE; \
+ fi \
+ ))
+
+ ifeq ($(API_FILE), TRUE)
+ include $(API_ETC_FILE)
+ endif
+
ifneq ($(API),)
ifeq ($(API), CFG80211)
APICHOICE := FORCE_CFG80211
broadcom-wl-5.100.82.112-kernel-3.6.patch:
wl_cfg80211.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
Index: broadcom-wl-5.100.82.112-kernel-3.6.patch
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-16/broadcom-wl-5.100.82.112-kernel-3.6.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- broadcom-wl-5.100.82.112-kernel-3.6.patch 20 Oct 2012 17:22:06 -0000 1.1
+++ broadcom-wl-5.100.82.112-kernel-3.6.patch 21 Nov 2012 11:25:40 -0000 1.2
@@ -1,33 +1,32 @@
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.c hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c
--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.c 2011-10-22 18:56:55.000000000 +0200
-+++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c 2012-10-16 22:04:18.718673254 +0200
-@@ -42,7 +42,11 @@
++++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c 2012-11-07 17:34:38.141769328 +0100
+@@ -42,7 +42,10 @@
enum nl80211_iftype type, u32 *flags, struct vif_params *params);
static s32 __wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
struct cfg80211_scan_request *request, struct cfg80211_ssid *this_ssid);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0)
+-static s32 wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
+static s32 wl_cfg80211_scan(struct wiphy *wiphy,
-+#else
- static s32 wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0)
++ struct net_device *ndev,
+#endif
struct cfg80211_scan_request *request);
static s32 wl_cfg80211_set_wiphy_params(struct wiphy *wiphy, u32 changed);
static s32 wl_cfg80211_join_ibss(struct wiphy *wiphy, struct net_device *dev,
-@@ -570,10 +574,18 @@
+@@ -570,10 +573,16 @@
}
static s32
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0)
+-wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
+wl_cfg80211_scan(struct wiphy *wiphy,
-+#else
- wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0)
++ struct net_device *ndev,
+#endif
struct cfg80211_scan_request *request)
{
s32 err = 0;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0)
-+ struct wl_priv *wl = wiphy_to_wl(wiphy);
-+ struct net_device *ndev = wl_to_ndev(wl);
++ struct net_device *ndev = request->wdev->netdev;
+#endif
CHECK_SYS_UP();
broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch:
wl_cfg80211.c | 14 ++++++++------
wl_linux.c | 6 +-----
2 files changed, 9 insertions(+), 11 deletions(-)
Index: broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-16/broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch 20 Oct 2012 17:22:06 -0000 1.1
+++ broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch 21 Nov 2012 11:25:40 -0000 1.2
@@ -1,21 +1,31 @@
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.c hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c
---- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.c 2012-10-16 22:04:18.718673254 +0200
-+++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c 2012-10-20 16:16:20.071738204 +0200
-@@ -1478,7 +1478,10 @@
+--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.c 2012-11-07 17:34:38.141769328 +0100
++++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.c 2012-11-07 18:16:51.342521040 +0100
+@@ -1475,13 +1475,15 @@
scb_val.val = 0;
err = wl_dev_ioctl(dev, WLC_GET_RSSI, &scb_val, sizeof(scb_val_t));
if (err) {
- WL_ERR(("Could not get rssi (%d)\n", err));
-+ if (err != -EINVAL) {
+- return err;
++ if (err != -EINVAL)
+ // Don't fill syslog with EINVAL error
+ WL_ERR(("Could not get rssi (%d)\n", err));
-+ }
- return err;
++ } else {
++ rssi = dtoh32(scb_val.val);
++ sinfo->filled |= STATION_INFO_SIGNAL;
++ sinfo->signal = rssi;
++ WL_DBG(("RSSI %d dBm\n", rssi));
}
- rssi = dtoh32(scb_val.val);
+- rssi = dtoh32(scb_val.val);
+- sinfo->filled |= STATION_INFO_SIGNAL;
+- sinfo->signal = rssi;
+- WL_DBG(("RSSI %d dBm\n", rssi));
+ }
+
+ return err;
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_linux.c hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_linux.c
---- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_linux.c 2012-10-16 14:26:28.087617125 +0200
-+++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_linux.c 2012-10-20 16:16:20.447738352 +0200
+--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_linux.c 2012-11-07 17:52:29.434087011 +0100
++++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_linux.c 2012-11-07 17:59:01.626202471 +0100
@@ -1587,11 +1587,7 @@
}
broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch:
wl_cfg80211.h | 2 ++
wl_iw.h | 1 +
wl_linux.h | 2 ++
3 files changed, 5 insertions(+)
Index: broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-16/broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch 20 Oct 2012 17:22:06 -0000 1.1
+++ broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch 21 Nov 2012 11:25:41 -0000 1.2
@@ -1,3 +1,15 @@
+diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.h hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.h
+--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_cfg80211.h 2011-10-22 18:56:55.000000000 +0200
++++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_cfg80211.h 2012-11-07 18:04:55.286309234 +0100
+@@ -16,6 +16,8 @@
+ #ifndef _wl_cfg80211_h_
+ #define _wl_cfg80211_h_
+
++#include <linux/semaphore.h>
++
+ #include <net/cfg80211.h>
+ #include <wlioctl.h>
+
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_iw.h hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_iw.h
--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_iw.h 2011-10-22 18:56:55.000000000 +0200
+++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_iw.h 2012-10-20 16:16:20.396738313 +0200
@@ -9,3 +21,15 @@
#include <linux/wireless.h>
#include <typedefs.h>
+diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_linux.h hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_linux.h
+--- hybrid-portsrc_x86_32-v5_100_82_112.orig/src/wl/sys/wl_linux.h 2011-10-22 18:56:55.000000000 +0200
++++ hybrid-portsrc_x86_32-v5_100_82_112/src/wl/sys/wl_linux.h 2012-11-07 18:04:55.394309261 +0100
+@@ -15,6 +15,8 @@
+ #ifndef _wl_linux_h_
+ #define _wl_linux_h_
+
++#include <linux/semaphore.h>
++
+ #include <wlc_types.h>
+
+ typedef struct wl_timer {
Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-16/wl-kmod.spec,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -r1.112 -r1.113
--- wl-kmod.spec 20 Nov 2012 00:33:43 -0000 1.112
+++ wl-kmod.spec 21 Nov 2012 11:25:41 -0000 1.113
@@ -3,11 +3,11 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-%define buildforkernels newest
+%define buildforkernels current
Name: wl-kmod
Version: 5.100.82.112
-Release: 4%{?dist}.4
+Release: 5%{?dist}
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -22,6 +22,7 @@
Patch4: broadcom-wl-5.100.82.112-kernel-3.6.patch
Patch5: broadcom-wl-5.100.82.112-recent_kernel_semaphore.patch
Patch6: broadcom-wl-5.100.82.112-recent_kernel_ioctl.patch
+Patch7: broadcom-wl-5.100.82.112-wext_workaround.patch
BuildRequires: %{_bindir}/kmodtool
@@ -40,7 +41,9 @@
BCM4322-, BCM43224-, and BCM43225-, BCM43227- and BCM43228-based hardware.
NOTE: You must read the LICENSE.txt file in the docs directory before using
-this software.
+this software. You should read the fedora.readme file in the docs directory
+in order to know how to configure this software if you encounter problems
+while boot sequence or with the CFG80211 API (revert to the WEXT API).
%prep
# error out if there was something wrong with kmodtool
@@ -64,6 +67,7 @@
%patch4 -p1 -b .kernel-3.6
%patch5 -p1 -b .recent_kernel_semaphore
%patch6 -p1 -b .recent_kernel_ioctl
+%patch7 -p1 -b .wext_workaround.patch
popd
for kernel_version in %{?kernel_versions} ; do
@@ -93,6 +97,10 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Nov 21 2012 Nicolas Viéville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-5
+- Added patch to choose API at build time (WEXT or CFG80211) to workaround #2548 #2562
+- Others patches cleaned-up
+
* Tue Nov 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 5.100.82.112-4.4
- Rebuilt for updated kernel
12 years
rpms/buildsys-build-rpmfusion/F-16 buildsys-build-rpmfusion-kerneldevpkgs-current, 1.76, 1.77 buildsys-build-rpmfusion.spec, 1.87, 1.88
by Nicolas Chauvet
Author: kwizart
Update of /cvs/free/rpms/buildsys-build-rpmfusion/F-16
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv13894
Modified Files:
buildsys-build-rpmfusion-kerneldevpkgs-current
buildsys-build-rpmfusion.spec
Log Message:
* Wed Nov 21 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 10:16-60
- rebuild for kernel 3.6.7-4.fc16
Index: buildsys-build-rpmfusion-kerneldevpkgs-current
===================================================================
RCS file: /cvs/free/rpms/buildsys-build-rpmfusion/F-16/buildsys-build-rpmfusion-kerneldevpkgs-current,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- buildsys-build-rpmfusion-kerneldevpkgs-current 20 Nov 2012 00:26:33 -0000 1.76
+++ buildsys-build-rpmfusion-kerneldevpkgs-current 21 Nov 2012 08:29:26 -0000 1.77
@@ -1,3 +1,3 @@
-3.6.7-2.fc16
-3.6.7-2.fc16smp
-3.6.7-2.fc16PAE
+3.6.7-4.fc16
+3.6.7-4.fc16smp
+3.6.7-4.fc16PAE
Index: buildsys-build-rpmfusion.spec
===================================================================
RCS file: /cvs/free/rpms/buildsys-build-rpmfusion/F-16/buildsys-build-rpmfusion.spec,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- buildsys-build-rpmfusion.spec 20 Nov 2012 00:26:33 -0000 1.87
+++ buildsys-build-rpmfusion.spec 21 Nov 2012 08:29:26 -0000 1.88
@@ -3,7 +3,7 @@
Name: buildsys-build-%{repo}
Epoch: 10
Version: 16
-Release: 59
+Release: 60
Summary: Tools and files used by the %{repo} buildsys
Group: Development/Tools
@@ -86,6 +86,9 @@
%changelog
+* Wed Nov 21 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 10:16-60
+- rebuild for kernel 3.6.7-4.fc16
+
* Tue Nov 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 10:16-59
- rebuild for kernel 3.6.7-2.fc16
12 years
rpms/buildsys-build-rpmfusion/F-17 buildsys-build-rpmfusion-kerneldevpkgs-current, 1.60, 1.61 buildsys-build-rpmfusion.spec, 1.74, 1.75
by Nicolas Chauvet
Author: kwizart
Update of /cvs/free/rpms/buildsys-build-rpmfusion/F-17
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv13725
Modified Files:
buildsys-build-rpmfusion-kerneldevpkgs-current
buildsys-build-rpmfusion.spec
Log Message:
* Wed Nov 21 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 10:17-30
- rebuild for kernel 3.6.7-4.fc17
Index: buildsys-build-rpmfusion-kerneldevpkgs-current
===================================================================
RCS file: /cvs/free/rpms/buildsys-build-rpmfusion/F-17/buildsys-build-rpmfusion-kerneldevpkgs-current,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- buildsys-build-rpmfusion-kerneldevpkgs-current 20 Nov 2012 00:25:33 -0000 1.60
+++ buildsys-build-rpmfusion-kerneldevpkgs-current 21 Nov 2012 08:28:00 -0000 1.61
@@ -1,3 +1,3 @@
-3.6.7-2.fc17
-3.6.7-2.fc17smp
-3.6.7-2.fc17PAE
+3.6.7-4.fc17
+3.6.7-4.fc17smp
+3.6.7-4.fc17PAE
Index: buildsys-build-rpmfusion.spec
===================================================================
RCS file: /cvs/free/rpms/buildsys-build-rpmfusion/F-17/buildsys-build-rpmfusion.spec,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- buildsys-build-rpmfusion.spec 20 Nov 2012 00:25:34 -0000 1.74
+++ buildsys-build-rpmfusion.spec 21 Nov 2012 08:28:00 -0000 1.75
@@ -3,7 +3,7 @@
Name: buildsys-build-%{repo}
Epoch: 10
Version: 17
-Release: 29
+Release: 30
Summary: Tools and files used by the %{repo} buildsys
Group: Development/Tools
@@ -86,6 +86,9 @@
%changelog
+* Wed Nov 21 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 10:17-30
+- rebuild for kernel 3.6.7-4.fc17
+
* Tue Nov 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 10:17-29
- rebuild for kernel 3.6.7-2.fc17
12 years
rpms/wl-kmod/F-16 wl-kmod.spec,1.111,1.112
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/wl-kmod/F-16
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv21671
Modified Files:
wl-kmod.spec
Log Message:
* Tue Nov 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 5.100.82.112-4.4
- Rebuilt for updated kernel
Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-16/wl-kmod.spec,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -r1.111 -r1.112
--- wl-kmod.spec 8 Nov 2012 08:15:16 -0000 1.111
+++ wl-kmod.spec 20 Nov 2012 00:33:43 -0000 1.112
@@ -7,7 +7,7 @@
Name: wl-kmod
Version: 5.100.82.112
-Release: 4%{?dist}.3
+Release: 4%{?dist}.4
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -93,6 +93,9 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Nov 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 5.100.82.112-4.4
+- Rebuilt for updated kernel
+
* Thu Nov 08 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 5.100.82.112-4.3
- Rebuilt for updated kernel
12 years
rpms/nvidia-kmod/F-16 nvidia-kmod.spec,1.161,1.162
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/nvidia-kmod/F-16
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv20875
Modified Files:
nvidia-kmod.spec
Log Message:
* Tue Nov 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1:304.60-1.3
- Rebuilt for updated kernel
Index: nvidia-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-kmod/F-16/nvidia-kmod.spec,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -r1.161 -r1.162
--- nvidia-kmod.spec 8 Nov 2012 08:15:01 -0000 1.161
+++ nvidia-kmod.spec 20 Nov 2012 00:33:28 -0000 1.162
@@ -9,7 +9,7 @@
Epoch: 1
Version: 304.60
# Taken over by kmodtool
-Release: 1%{?dist}.2
+Release: 1%{?dist}.3
Summary: NVIDIA display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -77,6 +77,9 @@
%changelog
+* Tue Nov 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1:304.60-1.3
+- Rebuilt for updated kernel
+
* Thu Nov 08 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1:304.60-1.2
- Rebuilt for updated kernel
12 years
rpms/nvidia-96xx-kmod/F-16 nvidia-96xx-kmod.spec,1.47,1.48
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/nvidia-96xx-kmod/F-16
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv20566
Modified Files:
nvidia-96xx-kmod.spec
Log Message:
* Tue Nov 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 96.43.23-1.8
- Rebuilt for updated kernel
Index: nvidia-96xx-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-96xx-kmod/F-16/nvidia-96xx-kmod.spec,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- nvidia-96xx-kmod.spec 8 Nov 2012 08:14:49 -0000 1.47
+++ nvidia-96xx-kmod.spec 20 Nov 2012 00:33:15 -0000 1.48
@@ -7,7 +7,7 @@
Name: nvidia-96xx-kmod
Version: 96.43.23
-Release: 1%{?dist}.7
+Release: 1%{?dist}.8
# Taken over by kmodtool
Summary: NVIDIA 96xx display driver kernel module
Group: System Environment/Kernel
@@ -92,6 +92,9 @@
%changelog
+* Tue Nov 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 96.43.23-1.8
+- Rebuilt for updated kernel
+
* Thu Nov 08 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 96.43.23-1.7
- Rebuilt for updated kernel
12 years
rpms/nvidia-173xx-kmod/F-16 nvidia-173xx-kmod.spec,1.64,1.65
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/nvidia-173xx-kmod/F-16
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv19950
Modified Files:
nvidia-173xx-kmod.spec
Log Message:
* Tue Nov 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 173.14.35-2.7
- Rebuilt for updated kernel
Index: nvidia-173xx-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-173xx-kmod/F-16/nvidia-173xx-kmod.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- nvidia-173xx-kmod.spec 8 Nov 2012 08:14:36 -0000 1.64
+++ nvidia-173xx-kmod.spec 20 Nov 2012 00:32:57 -0000 1.65
@@ -8,7 +8,7 @@
Name: nvidia-173xx-kmod
Version: 173.14.35
# Taken over by kmodtool
-Release: 2%{?dist}.6
+Release: 2%{?dist}.7
Summary: NVIDIA 173xx display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -95,6 +95,9 @@
%changelog
+* Tue Nov 20 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 173.14.35-2.7
+- Rebuilt for updated kernel
+
* Thu Nov 08 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 173.14.35-2.6
- Rebuilt for updated kernel
12 years