debian/0000755000000000000000000000000012215761515007173 5ustar debian/copyright0000644000000000000000000003120512215757047011134 0ustar Author: Broadcom Corporation Download: http://www.broadcom.com/support/802.11/linux_sta.php Files: * Copyright: (C) Broadcom Corporation License: other SOFTWARE LICENSE AGREEMENT . Unless you and Broadcom Corporation ("Broadcom") execute a separate written software license agreement governing use of the accompanying software, this software is licensed to you under the terms of this Software License Agreement ("Agreement"). . ANY USE, REPRODUCTION OR DISTRIBUTION OF THE SOFTWARE CONSTITUTES YOUR ACCEPTANCE OF THIS AGREEMENT. . 1. DEFINITIONS. . 1.1. "Broadcom Product" means any of the proprietary integrated circuit product(s) sold by Broadcom with which the Software was designed to be used, or their successors. . 1.2. "Licensee" means you or if you are accepting on behalf of an entity then the entity and its affiliates exercising rights under, and complying with all of the terms of this Agreement. . 1.3. "Software" shall mean that software made available by Broadcom to Licensee in binary code form with this Agreement. . 2. LICENSE GRANT; OWNERSHIP . 2.1. License Grants. Subject to the terms and conditions of this Agreement, Broadcom hereby grants to Licensee a non-exclusive, non-transferable, royalty-free license (i) to use and integrate the Software in conjunction with any other software; and (ii) to reproduce and distribute the Software complete, unmodified and only for use with a Broadcom Product. . 2.2. Restriction on Modification. If and to the extent that the Software is designed to be compliant with any published communications standard (including, without limitation, DOCSIS, HomePNA, IEEE, and ITU standards), Licensee may not make any modifications to the Software that would cause the Software or the accompanying Broadcom Products to be incompatible with such standard. . 2.3. Restriction on Distribution. Licensee shall only distribute the Software (a) under the terms of this Agreement and a copy of this Agreement accompanies such distribution, and (b) agrees to defend and indemnify Broadcom and its licensors from and against any damages, costs, liabilities, settlement amounts and/or expenses (including attorneys' fees) incurred in connection with any claim, lawsuit or action by any third party that arises or results from the use or distribution of any and all Software by the Licensee except as contemplated herein. . 2.4. Proprietary Notices. Licensee shall not remove, efface or obscure any copyright or trademark notices from the Software. Licensee shall include reproductions of the Broadcom copyright notice with each copy of the Software, except where such Software is embedded in a manner not readily accessible to the end user. Licensee acknowledges that any symbols, trademarks, tradenames, and service marks adopted by Broadcom to identify the Software belong to Broadcom and that Licensee shall have no rights therein. . 2.5. Ownership. Broadcom shall retain all right, title and interest, including all intellectual property rights, in and to the Software. Licensee hereby covenants that it will not assert any claim that the Software created by or for Broadcom infringe any intellectual property right owned or controlled by Licensee. . 2.6. No Other Rights Granted; Restrictions. Apart from the license rights expressly set forth in this Agreement, Broadcom does not grant and Licensee does not receive any ownership right, title or interest nor any security interest or other interest in any intellectual property rights relating to the Software, nor in any copy of any part of the foregoing. Licensee shall not (i) use, license, sell or otherwise distribute the Software except as provided in this Agreement, (ii) attempt to reverse engineer, decompile or disassemble any portion of the Software; or (iii) use the Software or other material in violation of any applicable law or regulation, including but not limited to any regulatory agency, such as FCC, rules. . 3. NO WARRANTY OR SUPPORT . 3.1. No Warranty. THE SOFTWARE IS OFFERED "AS IS," AND BROADCOM GRANTS AND LICENSEE RECEIVES NO WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR CONDUCT WITH LICENSEE, OR OTHERWISE. BROADCOM SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THE SOFTWARE OR ANY UPGRADES TO OR DOCUMENTATION FOR THE SOFTWARE. WITHOUT LIMITATION OF THE ABOVE, BROADCOM GRANTS NO WARRANTY THAT THE SOFTWARE IS ERROR-FREE OR WILL OPERATE WITHOUT INTERRUPTION, AND GRANTS NO WARRANTY REGARDING ITS USE OR THE RESULTS THEREFROM INCLUDING, WITHOUT LIMITATION, ITS CORRECTNESS, ACCURACY OR RELIABILITY. . 3.2. No Support. Nothing in this agreement shall obligate Broadcom to provide any support for the Software. Broadcom may, but shall be under no obligation to, correct any defects in the Software and/or provide updates to licensees of the Software. Licensee shall make reasonable efforts to promptly report to Broadcom any defects it finds in the Software, as an aid to creating improved revisions of the Software. . 3.3. Dangerous Applications. The Software is not designed, intended, or certified for use in components of systems intended for the operation of weapons, weapons systems, nuclear installations, means of mass transportation, aviation, life-support computers or equipment (including resuscitation equipment and surgical implants), pollution control, hazardous substances management, or for any other dangerous application in which the failure of the Software could create a situation where personal injury or death may occur. Licensee understands that use of the Software in such applications is fully at the risk of Licensee. . 4. TERM AND TERMINATION . 4.1. Termination. This Agreement will automatically terminate if Licensee fails to comply with any of the terms and conditions hereof. In such event, Licensee must destroy all copies of the Software and all of its component parts. . 4.2. Effect Of Termination. Upon any termination of this Agreement, the rights and licenses granted to Licensee under this Agreement shall immediately terminate. . 4.3. Survival. The rights and obligations under this Agreement which by their nature should survive termination will remain in effect after expiration or termination of this Agreement. . 5. CONFIDENTIALITY . 5.1. Obligations. Licensee acknowledges and agrees that any documentation relating to the Software, and any other information (if such other information is identified as confidential or should be recognized as confidential under the circumstances) provided to Licensee by Broadcom hereunder (collectively, "Confidential Information") constitute the confidential and proprietary information of Broadcom, and that Licensee's protection thereof is an essential condition to Licensee's use and possession of the Software. Licensee shall retain all Confidential Information in strict confidence and not disclose it to any third party or use it in any way except under a written agreement with terms and conditions at least as protective as the terms of this Section. Licensee will exercise at least the same amount of diligence in preserving the secrecy of the Confidential Information as it uses in preserving the secrecy of its own most valuable confidential information, but in no event less than reasonable diligence. Information shall not be considered Confidential Information if and to the extent that it: (i) was in the public domain at the time it was disclosed or has entered the public domain through no fault of Licensee; (ii) was known to Licensee, without restriction, at the time of disclosure as proven by the files of Licensee in existence at the time of disclosure; or (iii) becomes known to Licensee, without restriction, from a source other than Broadcom without breach of this Agreement by Licensee and otherwise not in violation of Broadcom's rights. . 5.2. Return of Confidential Information. Notwithstanding the foregoing, all documents and other tangible objects containing or representing Broadcom Confidential Information and all copies thereof which are in the possession of Licensee shall be and remain the property of Broadcom, and shall be promptly returned to Broadcom upon written request by Broadcom or upon termination of this Agreement. . 6. LIMITATION OF LIABILITY . TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM OR ANY OF BROADCOM'S LICENSORS HAVE ANY LIABILITY FOR ANY INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER FOR BREACH OF CONTRACT, TORT (INCLUDING NEGLIGENCE) OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS, EVEN IF SUCH PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Broadcom's liability whether in contract, tort (including negligence), or otherwise, exceed the amount paid by Licensee for Software under this Agreement. THESE LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED REMEDY. . 7. MISCELLANEOUS . 7.1. Assignment. This Agreement shall be binding upon and inure to the benefit of the parties and their respective successors and assigns, provided, however that Licensee may not assign this Agreement or any rights or obligation hereunder, directly or indirectly, by operation of law or otherwise, without the prior written consent of Broadcom, and any such attempted assignment shall be void. Notwithstanding the foregoing, Licensee may assign this Agreement to a successor to all or substantially all of its business or assets to which this Agreement relates that is not a competitor of Broadcom. . 7.2. Governing Law; Venue. This Agreement shall be governed by the laws of California without regard to any conflict-of-laws rules, and the United Nations Convention on Contracts for the International Sale of Goods is hereby excluded. The sole jurisdiction and venue for actions related to the subject matter hereof shall be the state and federal courts located in the County of Orange, California, and both parties hereby consent to such jurisdiction and venue. . 7.3. Severability. All terms and provisions of this Agreement shall, if possible, be construed in a manner which makes them valid, but in the event any term or provision of this Agreement is found by a court of competent jurisdiction to be illegal or unenforceable, the validity or enforceability of the remainder of this Agreement shall not be affected if the illegal or unenforceable provision does not materially affect the intent of this Agreement. If the illegal or unenforceable provision materially affects the intent of the parties to this Agreement, this Agreement shall become terminated. . 7.4. Equitable Relief. Licensee hereby acknowledges that its breach of this Agreement would cause irreparable harm and significant injury to Broadcom that may be difficult to ascertain and that a remedy at law would be inadequate. Accordingly, Licensee agrees that Broadcom shall have the right to seek and obtain immediate injunctive relief to enforce obligations under the Agreement in addition to any other rights and remedies it may have. . 7.5. Export Regulations. The parties agree that they shall each comply, at heir own expense, with the U.S. Foreign Corrupt Practices Act and all import and export laws, restrictions, national security controls and regulations of the United States and any applicable foreign agency or authority. The parties shall not import, export or re-export, or authorize the export or re-export of the Software or any other product, technology, or information that it obtains or learns hereunder, or any copy or direct product thereof, in violation of any of such laws, restrictions, or regulations or without any license or approval required thereunder. Any and all obligations of the parties to provide the Software or any other product, technology, or information hereunder shall be subject in all respects to such laws, restrictions, and regulations. . 7.6. Waiver. The waiver of, or failure to enforce, any breach or default hereunder shall not constitute the waiver of any other or subsequent breach or default. . 7.7. Entire Agreement. This Agreement sets forth the entire Agreement between the parties and supersedes any and all prior proposals, agreements and representations between them, whether written or oral concerning the Software. This Agreement may be changed only by mutual agreement of the parties in writing. Files: debian/* Copyright: (C) 2009-2012 Cyril Lacoux (C) 2009 Daniel Baumann License: PD The Debian packaging is hereby placed in the public domain (no rights reserved). debian/broadcom-sta-source.docs0000644000000000000000000000001312215757047013715 0ustar README.txt debian/broadcom-sta-common.README.Debian0000644000000000000000000000127312215757047015104 0ustar Important note ============== Driver from Broadcom conflicts with ssb module, so we have to blacklist the following modules: * b44, Broadcom 44xx/47xx 10/100 PCI ethernet driver (depends on ssb) * b43legacy, Broadcom B43legacy wireless driver (depends on ssb) * b43, Broadcom B43 wireless driver (free driver) * ssb, Sonics Silicon Backplane driver This is done in /etc/modprobe.d/broadcom-sta-common.conf file, you also should rebuild initrd file with the following command: # update-initramfs -u -k `uname -r` Please note that any network card that requires b44 module will stop working from now. -- Cyril Lacoux (Yack) Thu, 14 Jan 2010 22:33:24 +0400 debian/patches/0000755000000000000000000000000012215757047010627 5ustar debian/patches/05-kernel-3.10.0.patch0000644000000000000000000000600712215757047014072 0ustar Description: Enable compilation for kernel 3.10.0 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716999 Last-Update: 2013-09-16 Index: broadcom-sta-6.30.223.141/amd64/src/wl/sys/wl_linux.c =================================================================== --- broadcom-sta-6.30.223.141.orig/amd64/src/wl/sys/wl_linux.c 2013-09-16 10:43:49.350243529 +0400 +++ broadcom-sta-6.30.223.141/amd64/src/wl/sys/wl_linux.c 2013-09-16 10:43:49.346243529 +0400 @@ -3234,7 +3234,12 @@ wl_tkip_printstats(wl_info_t *wl, bool group_key) { #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0) + struct seq_file sfile; + struct seq_file *debug_buf = &sfile; +#else char debug_buf[512]; +#endif int idx; if (wl->tkipmodops) { if (group_key) { @@ -3247,7 +3252,11 @@ wl->tkipmodops->print_stats(debug_buf, wl->tkip_ucast_data); else return; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0) + printk("%s: TKIP stats from module: %s\n", debug_buf->buf, group_key?"Bcast":"Ucast"); +#else printk("%s: TKIP stats from module: %s\n", debug_buf, group_key?"Bcast":"Ucast"); +#endif } #endif } @@ -3406,17 +3415,24 @@ return 0; } +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0) static int wl_proc_read(char *buffer, char **start, off_t offset, int length, int *eof, void *data) +#else +static ssize_t +wl_proc_read (struct file *filp, char __user *buffer, size_t length, loff_t *data) +#endif { wl_info_t * wl = (wl_info_t *)data; int bcmerror, to_user; int len; +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0) if (offset > 0) { *eof = 1; return 0; } +#endif if (!length) { WL_ERROR(("%s: Not enough return buf space\n", __FUNCTION__)); @@ -3429,8 +3445,13 @@ return len; } +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0) static int wl_proc_write(struct file *filp, const char *buff, unsigned long length, void *data) +#else +static ssize_t +wl_proc_write (struct file *filp, const char __user *buff, size_t length, loff_t *data) +#endif { wl_info_t * wl = (wl_info_t *)data; int from_user = 0; @@ -3460,19 +3481,34 @@ return length; } +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0) +static const struct file_operations wl_fops = { + .owner = THIS_MODULE, + .read = wl_proc_read, + .write = wl_proc_write, +}; +#endif + static int wl_reg_proc_entry(wl_info_t *wl) { char tmp[32]; sprintf(tmp, "%s%d", HYBRID_PROC, wl->pub->unit); +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0) if ((wl->proc_entry = create_proc_entry(tmp, 0644, NULL)) == NULL) { WL_ERROR(("%s: create_proc_entry %s failed\n", __FUNCTION__, tmp)); +#else + if ((wl->proc_entry = proc_create(tmp, 0644, NULL, &wl_fops)) == NULL) { + WL_ERROR(("%s: proc_create %s failed\n", __FUNCTION__, tmp)); +#endif ASSERT(0); return -1; } +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0) wl->proc_entry->read_proc = wl_proc_read; wl->proc_entry->write_proc = wl_proc_write; wl->proc_entry->data = wl; +#endif return 0; } #ifdef WLOFFLD debian/patches/00-changelog.patch0000644000000000000000000001247312215757047014023 0ustar Description: Upstream changes introduced in version 5.60.48.36-4 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . broadcom-sta (5.60.48.36-4) unstable; urgency=low . * Switch to dpkg-source 3.0 (quilt) format. * Updated my e-mail. * Rebuild initrd when broadcom-sta-common is configured (Closes: #591869). * Added brcm80211 driver to blacklist as requested by Ben Hutchings (Closes: #597786). . The person named in the Author field signed this changelog entry. Author: Cyril Lacoux Bug-Debian: http://bugs.debian.org/591869 Bug-Debian: http://bugs.debian.org/597786 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: Index: broadcom-sta-5.100.82.112/CHANGELOG =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ broadcom-sta-5.100.82.112/CHANGELOG 2013-09-16 09:32:17.358228413 +0400 @@ -0,0 +1,88 @@ +WHAT'S NEW IN RELEASE 6.30.223.126 +---------------------------------- ++ Upgraded to Support 3.8.x ++ Added 43142 support ++ Added 4352 support ++ Dropped WEXT support + +WHAT'S NEW IN RELEASE 5.100.82.116 +---------------------------------- ++ Support for Linux kernels > 3.0 + +WHAT'S NEW IN RELEASE 5.100.82.115 +---------------------------------- ++ Added cfg80211 API support. The choice of API is done at compile time. If +kernel version >= 2.6.32, cfg80211 is used, otherwise wireless extension +is used. (End users should notice little difference.) ++ Supports Linux kernel 2.6.38 ++ Fix for problem with rebooting while wireless disabled via airline switch. ++ Fix for PR102197 STA does not connect to hidden SSID ++ Fix for PR102214: Could not get rssi (-22)" print comes in 'dmesg' output ++ Supports monitor mode ++ Supports hidden networks ++ Supports rfkill + +WHAT'S NEW IN RELEASE 5.100.82.112 +---------------------------------- ++ Fixed a kernel panic observed on some 64-bit systems + +WHAT'S NEW IN RELEASE 5.100.82.111 +---------------------------------- ++ Added cfg80211 API support. The choice of API is done at compile time. If +kernel version >= 2.6.32, cfg80211 is used, otherwise wireless extension +is used. (End users should notice little difference.) ++ Supports Linux kernel 2.6.38 ++ Fix for problem with rebooting while wireless disabled via airline switch. ++ Supports monitor mode + +WHAT'S NEW IN RELEASE 5.100.82.38 +--------------------------------- ++ Support for bcm43227 and bcm43228 ++ Fix for issue where iwconfig was sometime reporting rate incorrectly ++ Supports rfkill in kernels 2.6.31 to 2.6.36 ++ Supports scan complete event (SIOCGIWSCAN) ++ Adds EAGAIN (busy signal) to query of scan results + +WHAT'S NEW IN RELEASE 5.100.57.15 +--------------------------------- ++ Following fixes (issues introduced in 5.100.57.13) + Issue #87477 - 4313: DUT is not able to associate in WPA2-PSK TKIP/AES + Issue #87533 - NetworkManager: 4313: Unable to associate to APs with WPA2-PSK + +WHAT'S NEW IN RELEASE 5.100.57.13 +--------------------------------- ++ 4313 PHY fixes to improve throughput stability at different ranges ++ Fix for interop issues with different APs ++ Fix for hangs seen during Fn-F2 sequence +- Support for rfkill in kernels 2.6.31 to 2.6.36 + +WHAT'S NEW IN RELEASE 5.60.246.6 +-------------------------------- ++ Supports rfkill in kernels 2.6.31 to 2.6.36 ++ Fix for compile error with multicast list in kernel 2.6.34 ++ Fix for #76743 - Ubuntu9.04: Network manager displays n/w's with radio disabled + +WHAT'S NEW IN RELEASE 5.60.246.2 +-------------------------------- ++ Supports up to linux kernel 2.6.36 (from 2.6.32) ++ Fix for #86668: [Canonical] Bug #611575/617369: System will hang if + you use the F2 hot key to enable/disable wireless quickly while + wireless is still in the process of re-association with AP + +WHAT'S NEW IN RELEASE 5.60.48.36 +-------------------------------- ++ Supports up to linux kernel 2.6.32 ++ Supports hidden networks ++ Supports rfkill in kernels < 2.6.31 ++ Setting power level via 'iwconfig eth1 txpower X' now operational ++ Support for bcm4313 ++ Additional channels in both 2.4 and 5 Ghz bands ++ Fixed issue with tkip group keys that caused this message to repeat often: + TKIP: RX tkey->key_idx=2 frame keyidx=1 priv=ffff8800cf80e840 ++ Following fixes + Issue #72216 - Ubuntu 8.04: standby/resume with WPA2 and wpa_supplicant causes + a continuous assoc/disassoc loop (issue in 2.6.24 kernel) + Issue #72324 - Ubuntu 8.04: cannot ping when Linux STA is IBSS creator with WEP + Issue #76739 - Ubuntu 9.04: unable to connect to hidden network after stdby/resume + Issue #80392 - S4 resume hang with SuSE SLED 11 and 43225 + Issue #80792 - LSTA is not able to associate to AP with transition from AES to TKIP encryption debian/patches/03-rename-to-wlan0.patch0000644000000000000000000000523312215757047015001 0ustar Index: broadcom-sta-5.100.82.112/amd64/src/wl/sys/wl_linux.c =================================================================== --- broadcom-sta-5.100.82.112.orig/amd64/src/wl/sys/wl_linux.c 2013-09-16 09:47:48.938231694 +0400 +++ broadcom-sta-5.100.82.112/amd64/src/wl/sys/wl_linux.c 2013-09-16 09:48:19.286231801 +0400 @@ -237,7 +237,7 @@ #define to_str(s) #s #define quote_str(s) to_str(s) -#define BRCM_WLAN_IFNAME eth%d +#define BRCM_WLAN_IFNAME wlan%d static char intf_name[IFNAMSIZ] = quote_str(BRCM_WLAN_IFNAME); Index: broadcom-sta-5.100.82.112/README.txt =================================================================== --- broadcom-sta-5.100.82.112.orig/README.txt 2013-09-16 09:47:48.938231694 +0400 +++ broadcom-sta-5.100.82.112/README.txt 2013-09-16 09:49:49.514232118 +0400 @@ -277,7 +277,7 @@ TX POWER EXPLAINED ------------------ -'iwconfig eth1 txpower' & 'iwlist eth1 txpower' set and get the drivers +'iwconfig wlan0 txpower' & 'iwlist wlan0 txpower' set and get the drivers user-requested transmit power level. This can go up to 32 dbm and allows the user to lower the tx power to levels below the regulatory limit. Internally, the actual tx power is always kept within regulatory limits @@ -346,7 +346,7 @@ + Supports up to linux kernel 2.6.32 + Supports hidden networks + Supports rfkill in kernels < 2.6.31 -+ Setting power level via 'iwconfig eth1 txpower X' now operational ++ Setting power level via 'iwconfig wlan0 txpower X' now operational + Support for bcm4313 + Additional channels in both 2.4 and 5 Ghz bands + Fixed issue with tkip group keys that caused this message to repeat often: @@ -385,14 +385,14 @@ wpa_supplicant 0.6.3 + nl80211 + WEP - (Note: This would only affect you if you are using wpa_supplicant directly from the command line and specify -nl80211 interface, e.g. "wpa_supplicant -Dnl80211 -ieth1 ..". If you are using +nl80211 interface, e.g. "wpa_supplicant -Dnl80211 -iwlan0 ..". If you are using network manager GUI to connect it should work file.) wpa_supplicant 0.6.3 might have a bug that affect WEP connections created through nl80211. Upgrade to wpa_supplicant to 0.7.3 would solve this problem. Ubuntu 10.10 kernel + nl80211 + WPA/WPA2 - (Note: This would only affect you if you are using wpa_supplicant directly from the command line and specify -nl80211 interface, e.g. "wpa_supplicant -Dnl80211 -ieth1 ..". If you are using +nl80211 interface, e.g. "wpa_supplicant -Dnl80211 -iwlan0 ..". If you are using network manager GUI to connect it should work file.) Some kernel versions of Ubuntu such as 2.6.35-22 (released with Ubuntu 10.10) may have problems that affect WPA/WPA2 connections created through debian/patches/series0000644000000000000000000000020012215757047012034 0ustar 00-changelog.patch 01-shipped-module.patch 02-license.patch 03-rename-to-wlan0.patch 04-user_ioctl.patch 05-kernel-3.10.0.patch debian/patches/02-license.patch0000644000000000000000000000103712215757047013512 0ustar Index: broadcom-sta-5.100.82.112/amd64/src/wl/sys/wl_linux.c =================================================================== --- broadcom-sta-5.100.82.112.orig/amd64/src/wl/sys/wl_linux.c 2013-09-16 09:44:06.526230910 +0400 +++ broadcom-sta-5.100.82.112/amd64/src/wl/sys/wl_linux.c 2013-09-16 09:45:09.650231133 +0400 @@ -179,6 +179,8 @@ static void wl_report_radio_state(wl_info_t *wl); #endif +MODULE_LICENSE("MIXED/Proprietary"); + static struct pci_device_id wl_id_table[] = { { PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, debian/patches/04-user_ioctl.patch0000644000000000000000000000144112215757047014241 0ustar Description: Allow normal users to send ioctl requests Author: Cyril Lacoux Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672677 Last-Update: 2012-11-19 Index: broadcom-sta-5.100.82.112/amd64/src/wl/sys/wl_linux.c =================================================================== --- broadcom-sta-5.100.82.112.orig/amd64/src/wl/sys/wl_linux.c 2013-09-16 09:58:05.770233866 +0400 +++ broadcom-sta-5.100.82.112/amd64/src/wl/sys/wl_linux.c 2013-09-16 09:58:05.762233866 +0400 @@ -1683,11 +1683,7 @@ } WL_LOCK(wl); - if (!capable(CAP_NET_ADMIN)) { - bcmerror = BCME_EPERM; - } else { - bcmerror = wlc_ioctl(wl->wlc, ioc.cmd, buf, ioc.len, wlif->wlcif); - } + bcmerror = wlc_ioctl(wl->wlc, ioc.cmd, buf, ioc.len, wlif->wlcif); WL_UNLOCK(wl); done1: debian/patches/01-shipped-module.patch0000644000000000000000000000306512215757047015011 0ustar Index: broadcom-sta-5.100.82.112/amd64/Makefile =================================================================== --- broadcom-sta-5.100.82.112.orig/amd64/Makefile 2013-09-16 09:40:32.626230157 +0400 +++ broadcom-sta-5.100.82.112/amd64/Makefile 2013-09-16 09:42:51.862230647 +0400 @@ -126,17 +126,38 @@ EXTRA_CFLAGS += -I$(src)/src/shared/bcmwifi/include #EXTRA_CFLAGS += -DBCMDBG_ASSERT -EXTRA_LDFLAGS := $(src)/lib/wlc_hybrid.o_shipped +ifeq ($(KVER),) + KVER = $(shell uname -r) +endif -KBASE ?= /lib/modules/`uname -r` +KBASE ?= /lib/modules/$(KVER) KBUILD_DIR ?= $(KBASE)/build MDEST_DIR ?= $(KBASE)/kernel/drivers/net/wireless +PWD ?= $(shell pwd) +# Check for a config symbol that should always be defined, so we don't +# fail on 'make clean' which doesn't include .config +ifeq ($(CONFIG_NET),y) + ifeq ($(CONFIG_X86_32),y) + SHIPPED=wlc_hybrid.o_i386 + $(info Kernel architecture is X86_32) + else + ifeq ($(CONFIG_X86_64),y) + SHIPPED=wlc_hybrid.o_amd64 + $(info Kernel architecture is X86_64) + else # Error! + $(error Unsupported kernel architecture) + endif + endif +endif + +EXTRA_LDFLAGS := $(src)/lib/$(SHIPPED) + all: - KBUILD_NOPEDANTIC=1 make -C $(KBUILD_DIR) M=`pwd` + KBUILD_NOPEDANTIC=1 make -C $(KBUILD_DIR) M=$(PWD) clean: - KBUILD_NOPEDANTIC=1 make -C $(KBUILD_DIR) M=`pwd` clean + KBUILD_NOPEDANTIC=1 make -C $(KBUILD_DIR) M=$(PWD) clean install: install -D -m 755 wl.ko $(MDEST_DIR) debian/broadcom-sta-source.README.Debian0000644000000000000000000000303112215757047015106 0ustar Important note for kernel >= 2.6.32 =================================== You should now use the free b43 driver. Since kernel 2.6.32, support for low power consumption wireless network cards from Broadcom was added to the free b43 driver. In order to try it, please observe the following steps: - Install b43-fwcutter then fetch and extract firmwares - Shut down your wireless network card - Remove wl module with `modprobe -r wl` - Insert the b43 module with `modprobe b43` - Set up your wireless network card If the card is working, you should uninstall broadcom-sta-common, broadcom-sta-modules-KVER and this package. broadcom-sta for Debian ======================= Broadcom STA is a binary-only device driver to support the following IEEE 802.11a/b/g/n wireless network cards: BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-, BCM43224-, BCM43225-, BCM43227-, and BCM43228. You also need the wireless-tools package to get the necessary user-space support programs. The Debian broadcom-sta-source package can be used in several ways, * Using module-assistant(8) commands provided by the module-assistant Debian package: # module-assistant prepare broadcom-sta # module-assistant auto-install broadcom-sta * Using the make-kpkg(1) command provided by the kernel-package Debian package. See the "modules_image" section of the make-kpkg(1) man page. * Unpacking /usr/src/broadcom-sta-*.tar.bz2 and installing the module on your own. -- Cyril Lacoux (Yack) Sat, 19 Dec 2009 11:48:47 +0400 debian/source/0000755000000000000000000000000012215757047010500 5ustar debian/source/format0000644000000000000000000000001412215757047011706 0ustar 3.0 (quilt) debian/broadcom-sta-common.postinst0000644000000000000000000000255112215757047014651 0ustar #!/bin/sh # postinst script for broadcom-sta-common # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # # quoting from the policy: # Any necessary prompting should almost always be confined to the # post-installation script, and should be protected with a conditional # so that unnecessary prompting doesn't happen if a package's # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. case "$1" in configure) if [ -x /usr/sbin/update-initramfs -a -e /etc/initramfs-tools/initramfs.conf ] ; then update-initramfs -u fi exit 0 ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/control.modules.in0000644000000000000000000000236212215757047012662 0ustar Source: broadcom-sta Section: non-free/kernel Priority: optional Maintainer: Cyril Lacoux Build-Depends: debhelper (>= 8) Standards-Version: 3.9.4 Homepage: http://www.broadcom.com/support/802.11/linux_sta.php Package: broadcom-sta-modules-_KVERS_ Architecture: all Depends: linux-modules-_KVERS_ | linux-image-_KVERS_, broadcom-sta-common Provides: broadcom-sta-modules Recommends: wireless-tools Description: broadcom-sta modules for Linux (kernel _KVERS_) Broadcom STA is a binary-only device driver to support the following IEEE 802.11a/b/g/n wireless network cards: BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-, BCM43224-, BCM43225-, BCM43227-, and BCM43228-based hardware. . This package contains the set of loadable kernel modules for the broadcom-sta wireless network driver. The wireless-tools package is also required in order to make use of these modules. . This package contains the compiled kernel modules for _KVERS_ . If you have compiled your own kernel, you will most likely need to build your own broadcom-sta-modules. The broadcom-sta-source package has been provided for use with the Debian's module-assistant or kernel-package utilities to produce a version of broadcom-sta-modules for your kernel. debian/changelog0000644000000000000000000002221512215761172011046 0ustar broadcom-sta (6.30.223.141-1) unstable; urgency=low * New upstream release (Yeah!) (Closes: #688823). * Refreshed the following patch files: - 00-changelog.patch - 01-shipped-module.patch - 02-license.patch - 03-rename-to-wlan0.patch - 05-user_ioctl.patch (-> 04-user_ioctl.patch) * Dropped applied upstream patch files: - 04-linux-semaphore-include.patch - 06-2.6.39.patch - 07-3.0.0.patch - 08-3.2.0.patch - 09-3.4.0.patch - 10-3.6.0.patch - 11-3.8.0.patch - 12-3.9.0.patch * Added 05-3.10.0.patch for kernel 3.10 compatibility (Closes: #716999). -- Cyril Lacoux Mon, 16 Sep 2013 10:19:56 +0400 broadcom-sta (5.100.82.112-11) unstable; urgency=low * Added 12-3.9.0.patch for kernel 3.9 compatibility (Closes: #711227). * Bumped standards version to 3.9.4 (No changes). -- Cyril Lacoux Thu, 06 Jun 2013 17:32:29 +0400 broadcom-sta (5.100.82.112-10) unstable; urgency=low * Changed section from non-free/admin to non-free/kernel (See: #698894). * Added 11-3.8.0.patch for kernel 3.8 compatibility (Closes: #702788). -- Cyril Lacoux Tue, 12 Mar 2013 10:22:56 +0400 broadcom-sta (5.100.82.112-9) unstable; urgency=low * Added bcma (which brcmsmac depends on) to blacklist (Closes: #697496). * Added 10-3.6.0.patch to fix kernel oops with 3.6 serie (Closes: #698216). -- Cyril Lacoux Thu, 24 Jan 2013 09:36:20 +0400 broadcom-sta (5.100.82.112-8) unstable; urgency=low * Added 05-user_ioctl.patch to allow normal user to send ioctls. * Added 07-3.0.0.patch to use cfg80211 with 3.0 kernels, thanks to Jacopo Corbetta (Closes: #672677) * Added 09-3.4.0.patch to compile with 3.4 kernels, thanks to Eugene San * Reorded patches. * Export KVER variable to `make` (Closes: #651787) * Improved target kernel arch detection. (Closes: #651787) It was a pleasure, really. -- Cyril Lacoux Mon, 18 Nov 2012 10:56:27 +0400 broadcom-sta (5.100.82.112-7) unstable; urgency=low * Revert architecture to all (Closes: #659732, #659509, #664476) * Bumped standards version to 3.9.3 (No changes) -- Cyril Lacoux Tue, 17 Apr 2012 14:08:12 +0400 broadcom-sta (5.100.82.112-6) unstable; urgency=low * Added dkms support (Closes: #568034) * Remove modass override symlink * debian/control: - Set architecture to amd64 i386 - Removed wireless-tools from Suggests since module recommends it - Bumped debhelper version to 8 * debian/control.modules.in: - Bumped standards version to 3.9.2 (No changes) - Set architecture to amd64 i386 - Removed quilt from Depends and Build-Depends - Bumped debhelper version to 8 * debian/rules: - Moved module specific stuff to debian/rules.modules - Removed quilt stuff since it's natively supported by format 3.0 - Rewrote most of file -- Cyril Lacoux Sat, 28 Jan 2012 09:47:33 +0400 broadcom-sta (5.100.82.112-5) unstable; urgency=low * Re-add support for installation from sources (Closes: #655279). * Added 06-3.2.0.patch to compile with 3.2 kernels (Closes: #656600, #657049). -- Cyril Lacoux Fri, 20 Jan 2012 08:59:07 +0400 broadcom-sta (5.100.82.112-4) unstable; urgency=low * Enabled compilation for 64bits kernel on i386 architecture (Closes: #651787): - Provide one merged src tree with both amd64 and i386 shipped proprietary modules. - Patch Makefile to select correct shipped module depending on kernel configuration. - Removed all extra patches (from i386 tree). - Removed SOURCEDIR = f(dpkg-architecture) from rules file. - Updated series file as well. -- Cyril Lacoux Wed, 14 Dec 2011 08:03:53 +0400 broadcom-sta (5.100.82.112-3) unstable; urgency=low * Added a note to NEWS.Debian to inform the user that the interface has been renamed in 5.100.82.112-2 (Closes: #648396). -- Cyril Lacoux Fri, 11 Nov 2011 15:09:34 +0400 broadcom-sta (5.100.82.112-2) unstable; urgency=low * Added 02-rename-to-wlan0.patch to rename device from eth%d to wlan%d. * Added 04-2.6.39.patch to compile with 2.6.39.X kernels. * Thanks to Carlos Alberto Lopez Perez (Closes: #648169). -- Cyril Lacoux Thu, 10 Nov 2011 08:50:03 +0400 broadcom-sta (5.100.82.112-1) unstable; urgency=low * New upstream release. -- Cyril Lacoux Wed, 26 Oct 2011 08:51:03 +0400 broadcom-sta (5.100.82.111-1) unstable; urgency=low * New upstream release. * Refreshed changelog and license patches. * Removed obsolete patch 03-linux-2.6.37.patch. * Bumped standards version to 3.9.2 (No changes). -- Cyril Lacoux Tue, 25 Oct 2011 08:21:13 +0400 broadcom-sta (5.100.82.38-2) unstable; urgency=low * Updated supported chipset details, thanks to Geoff Simmons (Closes: #620149). * Added brcmsmac to blacklist, thanks to Geoff Simmons for the tip (Closes: #626283). -- Cyril Lacoux Wed, 11 May 2011 07:24:54 +0400 broadcom-sta (5.100.82.38-1) unstable; urgency=low * New upstream release (Closes: #605715). * Switch to dpkg-source 3.0 (quilt) format. * Updated my e-mail. * Rebuild initrd when broadcom-sta-common is configured (Closes: #591869). * Added brcm80211 driver to blacklist as requested by Ben Hutchings (Closes: #597786, #601009, #611539). * Added upstream changelog and README.txt files. * Removed applyed upstream patch for 2.6.33 compatibility. * Removed applyed upstream patch for 2.6.35 compatibility. * Added patch to compile with 2.6.37. * Added patch from Anisse Astier to compile with minimal kernel configuration (Closes: #612445). -- Cyril Lacoux Thu, 10 Feb 2011 09:21:50 +0400 broadcom-sta (5.60.48.36-3) unstable; urgency=low * Added upstream patch to compile with 2.6.35 (Closes: #591549). * Bumped standards version to 3.9.1 (No changes). -- Cyril Lacoux (Yack) Thu, 05 Aug 2010 11:44:37 +0400 broadcom-sta (5.60.48.36-2) unstable; urgency=low * Added patch to compile with 2.6.33 (Closes: #572314, #572429). * Added patch from Michael Tuschik for cross-compilation. (Closes: #579839) -- Cyril Lacoux (Yack) Mon, 24 May 2010 10:22:44 +0400 broadcom-sta (5.60.48.36-1) unstable; urgency=low * New upstream release (Closes: #571233). * Removed applyed upstream patch for 2.6.32 compatibility. * Refreshed 01-license.patch file. * Bumped standards version to 3.8.4 (No changes). * Added BCM4313 to the list of supported cards. -- Cyril Lacoux (Yack) Wed, 24 Feb 2010 21:12:29 +0400 broadcom-sta (5.10.91.9.3-3) unstable; urgency=low * Blacklisting b43legacy, b43, b44 and ssb modules (Closes: #545388). * Added a note to README.Debian (broadcom-sta-common) to explain why b44 module is blacklisted. -- Cyril Lacoux (Yack) Thu, 14 Jan 2010 22:33:24 +0400 broadcom-sta (5.10.91.9.3-2) unstable; urgency=low * Added patch from Emilio Coppa to compile with 2.6.32. * Added a note to README.Debian to inform the user that he should now use the free b43 driver (Closes: #542775). -- Cyril Lacoux (Yack) Sat, 19 Dec 2009 11:48:47 +0400 broadcom-sta (5.10.91.9.3-1) unstable; urgency=low * New maintainer (Closes: #543888). * New upstream release (Closes: #547373, #551364). * Compile with 2.6.31. * Removed applyed upstream patches. * Refreshed 01-license.patch file. * Fixed dh_installdeb called twice. * Added README.source file referring to /usr/share/doc/quilt/README.source -- Cyril Lacoux (Yack) Wed, 11 Nov 2009 14:12:55 +0400 broadcom-sta (5.10.91.9-3) unstable; urgency=low * Actually updating the maintainers field. -- Daniel Baumann Thu, 27 Aug 2009 10:53:07 +0200 broadcom-sta (5.10.91.9-2) unstable; urgency=low * Updating package to standards version 3.8.3. * Removing vcs fields. * Orphaning package. -- Daniel Baumann Thu, 27 Aug 2009 10:38:01 +0200 broadcom-sta (5.10.91.9-1) unstable; urgency=low * Merging upstream version 5.10.91.9. * Using correct rfc-2822 date formats in changelog. * Correcting broadcom-sta-common package description. * Adding patch from Chris Nolan to allow the driver to associate with hidden SSID networks using Network Manager. * Adding patch to export module license symbol. * Adding updated 2.6.29 patch from Alexander Feldman . * Adding patch from Victor Ashirov to compile with 2.6.30. * Removing wl-iw.patch, not required anymore. * Removing disabled patches. -- Daniel Baumann Tue, 19 May 2009 13:13:00 +0200 broadcom-sta (5.10.79.10-1) unstable; urgency=low * Initial release. -- Daniel Baumann Mon, 06 Apr 2009 00:08:00 +0200 debian/broadcom-sta-dkms.docs0000644000000000000000000000001312215757047013353 0ustar README.txt debian/README.source0000644000000000000000000000034712215757047011363 0ustar README.Debian-source The source package uses quilt for the modifications of the upstream source. If you want to change something it is best to use the quilt approach as documented in /usr/share/doc/quilt/README.source debian/broadcom-sta-source.NEWS0000644000000000000000000000134512215757047013552 0ustar broadcom-sta (5.100.82.112-2) unstable; urgency=low As of broadcom-sta version 5.100.82.112-2, interfaces created by the driver supplied in this package will use the "wlan" prefix (e.g. wlan0), following the convention set by mac80211 drivers. If you experience networking problems following an upgrade, edit /etc/network/interfaces and adjust lines relating to your wireless LAN configuration (e.g. "iface eth1 inet dhcp") with the new interface name. NetworkManager users should not be affected by this change. You can safely remove the old configuration parameters concerning the wl module from /etc/udev/rules.d/70-persistent-net.rules. -- Cyril Lacoux Thu, 10 Nov 2011 08:50:03 +0400 debian/control0000644000000000000000000000416012215757047010604 0ustar Source: broadcom-sta Section: non-free/kernel Priority: optional Maintainer: Cyril Lacoux Build-Depends: debhelper (>= 8), dkms Standards-Version: 3.9.4 Homepage: http://www.broadcom.com/support/802.11/linux_sta.php Package: broadcom-sta-common Architecture: all Depends: ${misc:Depends} Recommends: broadcom-sta-source, module-assistant Description: Common files for the Broadcom STA Wireless driver Broadcom STA is a binary-only device driver to support the following IEEE 802.11a/b/g/n wireless network cards: BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-, BCM43224-, BCM43225-, BCM43227-, and BCM43228-based hardware. . This package contains the common files. Package: broadcom-sta-dkms Architecture: all Depends: ${misc:Depends} Recommends: wireless-tools Breaks: broadcom-sta-common, broadcom-sta-modules (<< 5.100.82.112-6~), broadcom-sta-source Replaces: broadcom-sta-common, broadcom-sta-modules (<< 5.100.82.112-6~), broadcom-sta-source Provides: broadcom-sta-modules Description: dkms source for the Broadcom STA Wireless driver Broadcom STA is a binary-only device driver to support the following IEEE 802.11a/b/g/n wireless network cards: BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-, BCM43224-, BCM43225-, BCM43227-, and BCM43228-based hardware. . This package provides the source code for the wl kernel modules. The wireless-tools package is also required in order to make use of these modules. Kernel source or headers are required to compile these modules. Package: broadcom-sta-source Architecture: all Depends: ${misc:Depends}, debhelper (>= 8), bzip2, make Recommends: module-assistant Description: Source for the Broadcom STA Wireless driver Broadcom STA is a binary-only device driver to support the following IEEE 802.11a/b/g/n wireless network cards: BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-, BCM43224-, BCM43225-, BCM43227-, and BCM43228-based hardware. . This package provides the source code for the wl kernel modules. The wireless-tools package is also required in order to make use of these modules. Kernel source or headers are required to compile these modules. debian/broadcom-sta-common.modprobe0000644000000000000000000000041012215757047014565 0ustar # wl module from Broadcom conflicts with ssb # We must blacklist the following modules: blacklist b43 blacklist b43legacy blacklist b44 blacklist bcma blacklist brcm80211 blacklist brcmsmac blacklist ssb install wl /sbin/modprobe --ignore-install wl $CMDLINE_OPTS debian/broadcom-sta-dkms.modprobe0000644000000000000000000000026412215757047014242 0ustar # wl module from Broadcom conflicts with the following modules: blacklist b43 blacklist b43legacy blacklist b44 blacklist bcma blacklist brcm80211 blacklist brcmsmac blacklist ssb debian/rules0000755000000000000000000000325312215757047010263 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 version := $(shell dpkg-parsechangelog | sed -nr '/^Version:/s/Version: (.*:)?(.*)-(.*)/\2/p') source_name := broadcom-sta source_package := $(source_name)-source source_target := usr/src/modules/$(source_name) source_debdir := debian/$(source_package)/$(source_target)/debian dkms_package := $(source_name)-dkms dkms_target := usr/src/$(source_name)-$(version) %: dh $@ --with dkms install-tmp: mkdir -p debian/tmp cp -a amd64/* debian/tmp/ # Shipped proprietary precompiled driver rm -f debian/tmp/lib/wlc_hybrid.o_shipped rm -f debian/tmp/lib/LICENSE.txt # License is in copyright file cp amd64/lib/wlc_hybrid.o_shipped debian/tmp/lib/wlc_hybrid.o_amd64 cp i386/lib/wlc_hybrid.o_shipped debian/tmp/lib/wlc_hybrid.o_i386 install-dkms: install-tmp dh_installdirs -p $(dkms_package) $(dkms_target) dh_install -p $(dkms_package) debian/tmp/* $(dkms_target)/ install-source: install-tmp dh_installdirs -p $(source_package) $(source_target) dh_install -p $(source_package) debian/tmp/* README.txt $(source_target)/ # Copy Debian files install -D -m 0755 debian/rules.modules $(source_debdir)/rules for file in changelog compat control control.modules.in copyright; do \ install -m 644 debian/$$file $(source_debdir); \ done # Make suitable tarball for module-assisant and kernel-package cd debian/$(source_package)/usr/src && tar cfj $(source_name).tar.bz2 modules && rm -rf modules override_dh_install: install-dkms install-source override_dh_dkms: dh_dkms -V $(version) # do nothing override_dh_auto_configure override_dh_auto_build override_dh_auto_test override_dh_auto_install override_dh_auto_clean: debian/broadcom-sta-dkms.dkms0000644000000000000000000000030612215757047013366 0ustar PACKAGE_NAME="broadcom-sta" PACKAGE_VERSION="#MODULE_VERSION#" MAKE[0]="make KVER=$kernelver" BUILT_MODULE_NAME[0]="wl" DEST_MODULE_LOCATION[0]="/updates/dkms" AUTOINSTALL="YES" REMAKE_INITRD="YES" debian/broadcom-sta-dkms.lintian-overrides0000644000000000000000000000031212215757047016063 0ustar # Shipped libraries for i386 and amd64 arch-independent-package-contains-binary-or-object usr/src/broadcom-sta-*/lib/wlc_hybrid.o_* unstripped-binary-or-object usr/src/broadcom-sta-*/lib/wlc_hybrid.o_* debian/rules.modules0000644000000000000000000000131312215757047011722 0ustar #!/usr/bin/make -f # module-assistant stuff PACKAGE = broadcom-sta-modules MA_DIR ?= /usr/share/modass -include $(MA_DIR)/include/generic.make -include $(MA_DIR)/include/common-rules.make kdist_clean: prep-deb-files dh_clean $(MAKE) clean KBUILD=$(KSRC) KVERS=$(KVERS) kdist_config: prep-deb-files binary-modules: kdist_config dh_testdir dh_testroot dh_prep # Build and install the module make -C $(KSRC) M=$(CURDIR) install -D -m 0644 wl.ko debian/$(PACKAGE)-$(KVERS)/lib/modules/$(KVERS)/kernel/drivers/net/wireless/wl.ko dh_installdocs dh_installchangelogs dh_installmodules dh_compress dh_fixperms dh_installdeb dh_gencontrol -- -v$(VERSION) dh_md5sums dh_builddeb --destdir=$(DEB_DESTDIR) debian/compat0000644000000000000000000000000212215757047010376 0ustar 7 debian/broadcom-sta-dkms.README.Debian0000644000000000000000000000153612215757047014554 0ustar Important note ============== Driver from Broadcom conflicts with the following modules: * b44, Broadcom 44xx/47xx 10/100 PCI ethernet driver (depends on ssb) * b43legacy, Broadcom B43legacy wireless driver (depends on ssb) * b43, Broadcom B43 wireless driver (free driver) * brcm80211/brcmsmac, free driver from Broadcom for 802.11n wireless LAN driver * ssb, Sonics Silicon Backplane driver These modules are blacklisted in /etc/modprobe.d/broadcom-sta-dkms.conf file, initrd file is automatically rebuilt by dkms but you need to restart your computer at the first installation. Please note that any network card that requires b44 module will not work until broadcom-sta-dkms is installed. If it works, consider using one of the free drivers is better than using this one. -- Cyril Lacoux Fri, 27 Jan 2012 17:00:33 +0400