fwcutter: Update copyright information Signed-off-by: Michael Buesch <m@bues.ch>
Build on Mac OS 10.9 by using libkern/OSByteOrder.h
b43-fwcutter: pack correct ucode for brcmsmac fw brcmsmac supports only lcn-phy core with core rev 24 and no n-phy cores with core rev 24, so pack the correct ucode image into the firmware package. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Michael Buesch <m@bues.ch>
b43-fwcutter: Add support for generating a fw for brcmsmac The normal firmware for brcmsmac is available in the linux-firmware git repository, but this firmware does not work on a bcm4716 devices with a ieee80211 core rev 16. When using a firmware extracted from the proprietary Broadcom driver the device works with brcmsmac. I tested a firmware version 666.2 extracted from the proprietary driver with brcmsmac on a BCM4716 and a BCM43224 and haven't seen any problems. The interface between the firmware and the driver changed some times, brcmsmac only support firmware version 598 and newer. For some entries in the firmware used by brcmsmac, fwcutter has to be more extended, so we are adding dummy entires for them in brcmsmac_add_dummy_entries(). Currently these entries are not used by brcmsmac, but it is checked if they are in the archive. I would still appreciate if Broadcom could release a firmware with support for the ieee80211 core found in the bcm4716. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Michael Buesch <m@bues.ch>
Remove firmware-IDs They are unmaintained in the kernel driver. Signed-off-by: Michael Buesch <m@bues.ch>
Update my e-mail address Signed-off-by: Michael Buesch <m@bues.ch>
From: grarpamp <grarpamp@gmail.com> FreeBSD support Signed-off-by: Michael Buesch <mb@bu3sch.de>
b43-fwcutter: Fix compiler warnings "Type punned pointer blah blah..." Just call the "from_..." functions from the "to_..." functions. They also work backwards. Signed-off-by: Michael Buesch <mb@bu3sch.de>
fwcutter: Use ARRAY_SIZE Signed-off-by: Michael Buesch <mb@bu3sch.de>
fwcutter: Extend the help text Signed-off-by: Michael Buesch <mb@bu3sch.de>
fwcutter: Print the ID in the --identify output Signed-off-by: Michael Buesch <mb@bu3sch.de>
fwcutter: Add unique firmware IDs Signed-off-by: Michael Buesch <mb@bu3sch.de>
b43-fwcutter: make sparse happier Just for the fun of it. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Michael Buesch <mb@bu3sch.de>
b43-fwcutter: unsupported file support This patch makes fwcutter support only those files we know are working and marks the other one unsupported. To allow developers to still work with such files, an --unsupported command line option is added that allows one to extract firmware from such unsupported files. Some code restructuring was necessary to support the --unsupported flag with other flags in any order. Also, because this is a significant change, bump the version number. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Michael Buesch <mb@bu3sch.de>
Initial commit. Signed-off-by: Michael Buesch <mb@bu3sch.de>