rpms/wl-kmod/devel wl-kmod-004_kernel_3.15.patch, NONE, 1.1 wl-kmod-005_gcc_4.9.patch, NONE, 1.1 .cvsignore, 1.12, 1.13 sources, 1.13, 1.14 wl-kmod-001_license.patch, 1.1, 1.2 wl-kmod-002_wext_workaround.patch, 1.1, 1.2 wl-kmod-003_kernel_3.8.patch, 1.1, 1.2 wl-kmod.spec, 1.84, 1.85 wl-kmod-004_kernel_3.10.patch, 1.1, NONE wl-kmod-005-2_devinit_late.patch, 1.1, NONE wl-kmod-005_kernel_3.15.patch, 1.2, NONE wl-kmod-006_gcc_4.9.patch, 1.1, NONE

Nicolas Viéville nvieville at rpmfusion.org
Tue Jul 15 23:38:56 CEST 2014


Author: nvieville

Update of /cvs/nonfree/rpms/wl-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv22662

Modified Files:
	.cvsignore sources wl-kmod-001_license.patch 
	wl-kmod-002_wext_workaround.patch wl-kmod-003_kernel_3.8.patch 
	wl-kmod.spec 
Added Files:
	wl-kmod-004_kernel_3.15.patch wl-kmod-005_gcc_4.9.patch 
Removed Files:
	wl-kmod-004_kernel_3.10.patch wl-kmod-005-2_devinit_late.patch 
	wl-kmod-005_kernel_3.15.patch wl-kmod-006_gcc_4.9.patch 
Log Message:
* Tue Jul 15 2014 Nicolas Viéville <nicolas.vieville at univ-valenciennes.fr> - 6.30.223.248-1
- Upstream update to 6.30.223.248
- Patches cleaned-up and removed


wl-kmod-004_kernel_3.15.patch:
 wl_cfg80211_hybrid.c |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

--- NEW FILE wl-kmod-004_kernel_3.15.patch ---
diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/src/wl/sys/wl_cfg80211_hybrid.c hybrid-v35_64-nodebug-pcoem-6_30_223_248/src/wl/sys/wl_cfg80211_hybrid.c
--- hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/src/wl/sys/wl_cfg80211_hybrid.c	2014-06-26 12:42:08.000000000 +0200
+++ hybrid-v35_64-nodebug-pcoem-6_30_223_248/src/wl/sys/wl_cfg80211_hybrid.c	2014-07-15 21:31:11.183250006 +0200
@@ -2036,6 +2036,12 @@
 	u32 event = EVENT_TYPE(e);
 	u16 flags = EVENT_FLAGS(e);
 	u32 status = EVENT_STATUS(e);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
+	struct wl_bss_info *bi;
+	u16 bss_info_channel;
+	struct ieee80211_channel *channel;
+	u32 freq;
+#endif
 
 	WL_DBG(("\n"));
 
@@ -2071,7 +2077,19 @@
 			wl_get_assoc_ies(wl);
 			memcpy(&wl->bssid, &e->addr, ETHER_ADDR_LEN);
 			wl_update_bss_info(wl);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
+			bi = (struct wl_bss_info *)(wl->extra_buf + 4);
+			bss_info_channel = bi->ctl_ch ? bi->ctl_ch : CHSPEC_CHANNEL(bi->chanspec);
+
+			freq = ieee80211_channel_to_frequency(bss_info_channel,
+				(bss_info_channel <= CH_MAX_2G_CHANNEL) ?
+				IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ);
+
+			channel = ieee80211_get_channel(wl_to_wiphy(wl), freq);
+			cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, channel, GFP_KERNEL);
+#else
 			cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);
+#endif
 			set_bit(WL_STATUS_CONNECTED, &wl->status);
 			wl->profile->active = true;
 		}

wl-kmod-005_gcc_4.9.patch:
 wl_linux.c |    5 +++++
 1 file changed, 5 insertions(+)

--- NEW FILE wl-kmod-005_gcc_4.9.patch ---
diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/src/wl/sys/wl_linux.c hybrid-v35_64-nodebug-pcoem-6_30_223_248/src/wl/sys/wl_linux.c
--- hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/src/wl/sys/wl_linux.c	2014-07-15 16:34:34.359230000 +0200
+++ hybrid-v35_64-nodebug-pcoem-6_30_223_248/src/wl/sys/wl_linux.c	2014-07-15 17:27:12.550312091 +0200
@@ -2051,8 +2051,13 @@
 void
 wl_dump_ver(wl_info_t *wl, struct bcmstrbuf *b)
 {
+#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9)
 	bcm_bprintf(b, "wl%d: %s %s version %s\n", wl->pub->unit,
 		__DATE__, __TIME__, EPI_VERSION_STR);
+#else
+	bcm_bprintf(b, "wl%d: version %s\n", wl->pub->unit,
+		EPI_VERSION_STR);
+#endif
 }
 
 #if defined(BCMDBG)


Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/devel/.cvsignore,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- .cvsignore	15 Sep 2013 14:24:22 -0000	1.12
+++ .cvsignore	15 Jul 2014 21:38:56 -0000	1.13
@@ -1,3 +1,3 @@
-hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz
-hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz
+hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz
+hybrid-v35-nodebug-pcoem-6_30_223_248.tar.gz
 wl-kmod-kmodtool-excludekernel-filterfile


Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/devel/sources,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- sources	15 Sep 2013 14:24:22 -0000	1.13
+++ sources	15 Jul 2014 21:38:56 -0000	1.14
@@ -1,3 +1,3 @@
-039f33d2a3ff2890e42717092d1eb0c4  hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz
-f4809d9149e8e60ef95021ae93a4bf21  hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz
+0237917f75d121589ec16a44eac5f5b0  hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz
+e048154b3f4c7ad6bee36cab5b37486d  hybrid-v35-nodebug-pcoem-6_30_223_248.tar.gz
 5df50b59ac8a311c81c9ad569ffc2225  wl-kmod-kmodtool-excludekernel-filterfile

wl-kmod-001_license.patch:
 wl_linux.c |    2 ++
 1 file changed, 2 insertions(+)

Index: wl-kmod-001_license.patch
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/devel/wl-kmod-001_license.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- wl-kmod-001_license.patch	15 Sep 2013 14:24:22 -0000	1.1
+++ wl-kmod-001_license.patch	15 Jul 2014 21:38:56 -0000	1.2
@@ -1,7 +1,7 @@
-diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_141.orig/src/wl/sys/wl_linux.c hybrid-v35_64-nodebug-pcoem-6_30_223_141/src/wl/sys/wl_linux.c
---- hybrid-v35_64-nodebug-pcoem-6_30_223_141.orig/src/wl/sys/wl_linux.c	2013-08-01 08:52:22.000000000 +0200
-+++ hybrid-v35_64-nodebug-pcoem-6_30_223_141/src/wl/sys/wl_linux.c	2013-09-14 16:06:43.404896532 +0200
-@@ -179,6 +179,8 @@
+diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/src/wl/sys/wl_linux.c hybrid-v35_64-nodebug-pcoem-6_30_223_248/src/wl/sys/wl_linux.c
+--- hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/src/wl/sys/wl_linux.c	2014-06-26 12:42:08.000000000 +0200
++++ hybrid-v35_64-nodebug-pcoem-6_30_223_248/src/wl/sys/wl_linux.c	2014-07-15 12:37:40.535352826 +0200
+@@ -156,6 +156,8 @@
  static void wl_report_radio_state(wl_info_t *wl);
  #endif
  

wl-kmod-002_wext_workaround.patch:
 Makefile |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

Index: wl-kmod-002_wext_workaround.patch
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/devel/wl-kmod-002_wext_workaround.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- wl-kmod-002_wext_workaround.patch	15 Sep 2013 14:24:22 -0000	1.1
+++ wl-kmod-002_wext_workaround.patch	15 Jul 2014 21:38:56 -0000	1.2
@@ -1,6 +1,6 @@
-diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_141.orig/Makefile hybrid-v35_64-nodebug-pcoem-6_30_223_141/Makefile
---- hybrid-v35_64-nodebug-pcoem-6_30_223_141.orig/Makefile	2013-08-01 08:52:22.000000000 +0200
-+++ hybrid-v35_64-nodebug-pcoem-6_30_223_141/Makefile	2013-09-14 17:56:21.206749114 +0200
+diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/Makefile hybrid-v35_64-nodebug-pcoem-6_30_223_248/Makefile
+--- hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/Makefile	2014-06-26 12:42:08.000000000 +0200
++++ hybrid-v35_64-nodebug-pcoem-6_30_223_248/Makefile	2014-07-15 14:24:54.607152512 +0200
 @@ -18,6 +18,8 @@
  #
  # $Id$

wl-kmod-003_kernel_3.8.patch:
 wl_linux.c |    4 ++++
 1 file changed, 4 insertions(+)

Index: wl-kmod-003_kernel_3.8.patch
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/devel/wl-kmod-003_kernel_3.8.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- wl-kmod-003_kernel_3.8.patch	15 Sep 2013 14:24:22 -0000	1.1
+++ wl-kmod-003_kernel_3.8.patch	15 Jul 2014 21:38:56 -0000	1.2
@@ -1,15 +1,15 @@
-diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_141.orig/src/wl/sys/wl_linux.c hybrid-v35_64-nodebug-pcoem-6_30_223_141/src/wl/sys/wl_linux.c
---- hybrid-v35_64-nodebug-pcoem-6_30_223_141.orig/src/wl/sys/wl_linux.c	2013-09-14 16:06:43.404896000 +0200
-+++ hybrid-v35_64-nodebug-pcoem-6_30_223_141/src/wl/sys/wl_linux.c	2013-09-14 18:22:15.929527944 +0200
-@@ -912,7 +912,11 @@
- 	pci_set_drvdata(pdev, NULL);
- }
+diff -Naur hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/src/wl/sys/wl_linux.c hybrid-v35_64-nodebug-pcoem-6_30_223_248/src/wl/sys/wl_linux.c
+--- hybrid-v35_64-nodebug-pcoem-6_30_223_248.orig/src/wl/sys/wl_linux.c	2014-07-15 12:37:40.535352000 +0200
++++ hybrid-v35_64-nodebug-pcoem-6_30_223_248/src/wl/sys/wl_linux.c	2014-07-15 16:34:34.359230514 +0200
+@@ -880,7 +880,11 @@
+ static SIMPLE_DEV_PM_OPS(wl_pm_ops, wl_suspend, wl_resume);
+ #endif
  
 +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 8, 0)
  static struct pci_driver wl_pci_driver = {
 +#else
 +static struct pci_driver wl_pci_driver __refdata = {
 +#endif
- 	name:		"wl",
- 	probe:		wl_pci_probe,
- 	suspend:	wl_suspend,
+ 	.name =		"wl",
+ 	.probe =	wl_pci_probe,
+ 	.remove =	__devexit_p(wl_remove),


Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/devel/wl-kmod.spec,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- wl-kmod.spec	8 Jul 2014 19:47:54 -0000	1.84
+++ wl-kmod.spec	15 Jul 2014 21:38:56 -0000	1.85
@@ -6,22 +6,20 @@
 %global buildforkernels akmod
 
 Name:       wl-kmod
-Version:    6.30.223.141
-Release:    8%{?dist}
+Version:    6.30.223.248
+Release:    1%{?dist}
 Summary:    Kernel module for Broadcom wireless devices
 Group:      System Environment/Kernel
 License:    Redistributable, no modification permitted
 URL:        http://www.broadcom.com/support/802.11/linux_sta.php
-Source0:    http://www.broadcom.com/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz
-Source1:    http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz
+Source0:    http://www.broadcom.com/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_248.tar.gz
+Source1:    http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz
 Source11:   wl-kmod-kmodtool-excludekernel-filterfile
 Patch0:     wl-kmod-001_license.patch
 Patch1:     wl-kmod-002_wext_workaround.patch
 Patch2:     wl-kmod-003_kernel_3.8.patch
-Patch3:     wl-kmod-004_kernel_3.10.patch
-Patch4:     wl-kmod-005-2_devinit_late.patch
-Patch5:     wl-kmod-005_kernel_3.15.patch
-Patch6:     wl-kmod-006_gcc_4.9.patch
+Patch3:     wl-kmod-004_kernel_3.15.patch
+Patch4:     wl-kmod-005_gcc_4.9.patch
 
 BuildRequires:  %{_bindir}/kmodtool
 
@@ -63,10 +61,8 @@
 %patch0  -p1 -b .license
 %patch1  -p1 -b .wext_workaround.patch
 %patch2  -p1 -b .kernel-3.8
-%patch3  -p1 -b .kernel-3.10
-%patch4  -p1 -b .devinit_late
-%patch5  -p1 -b .kernel-3.15
-%patch6  -p1 -b .gcc-4.9
+%patch3  -p1 -b .kernel-3.15
+%patch4  -p1 -b .gcc-4.9
 popd
 
 for kernel_version in %{?kernel_versions} ; do
@@ -96,6 +92,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Tue Jul 15 2014 Nicolas Viéville <nicolas.vieville at univ-valenciennes.fr> - 6.30.223.248-1
+- Upstream update to 6.30.223.248
+- Patches cleaned-up and removed
+
 * Tue Jul 08 2014 Nicolas Viéville <nicolas.vieville at univ-valenciennes.fr> - 6.30.223.141-8
 - Added late patch for __devinit since kernel 3.8
 - Modified patch to build for kernel >= 3.15


--- wl-kmod-004_kernel_3.10.patch DELETED ---


--- wl-kmod-005-2_devinit_late.patch DELETED ---


--- wl-kmod-005_kernel_3.15.patch DELETED ---


--- wl-kmod-006_gcc_4.9.patch DELETED ---


More information about the rpmfusion-commits mailing list