commit f27b0583e4f011298813ebb27dfdeb99245328e0 Author: zhuchunyi Date: Wed Nov 6 19:02:52 2019 +0800 update code diff --git a/README.openfwwf b/README.openfwwf new file mode 100644 index 0000000..be17d89 --- /dev/null +++ b/README.openfwwf @@ -0,0 +1,46 @@ +Open FirmWare for WiFi networks: a UniBS NTW group project + +Realized by Francesco Gringoli and Lorenzo Nava + +Welcome! + + OpenFWWF, Open FirmWare for WiFi networks, is a project that wants to + provide an easy and inexpensive platform to implement new Medium Access + Control (MAC) mechanism, and wants to be a valid alternative to + simulations and expensive ad-hoc platforms. The combination of OpenFWWF + and b43 driver is a complete and cheap tool that makes testing of new + MAC easy achievable. + + This site provides an open source firmware for Broadcom/AirForce + chipset based devices. Currently this firmware has been tested on 4306 + and 4318 chipset revisions and with kernel 2.6.27-rc5 (module b43 from + wireless-testing). Firmware has been developed starting from + specifications in http://bcm-v4.sipsolutions.net: we report here + some information more we discovered, such as important interactions + between the MAC processor, the hardware registers and the operating + mechanisms that rules data frames along the transmission and reception + paths. + This project has been successfully completed thanks to the work of + reverse engineering available at http://bcm-v4.sipsolutions.net and + to the tools that Michael Buesch makes available to the community. + + What this firmware supports: + * works in infrastructured mode as both station and AP, the latter + requires hostapd + * it is compliant with DCF access scheme in b and g modes, not tested + in a bands + * Preliminary testing shows that ad-hoc mode works as it does with + proprietary firmware + + What this firmware does not support: + * does not implement RTS/CTS handshake procedure, must be disabled on + module load + * does not work with hardware cryptography acceleration, use without + encryption! + * does not work with dot11 QoS, must be disabled on module load + + +If you need help: + + If you need help, send a message to the OpenFWWF team: + mailto:openfwwf@ing.unibs.it diff --git a/b43-openfwwf.spec b/b43-openfwwf.spec new file mode 100644 index 0000000..75e36bb --- /dev/null +++ b/b43-openfwwf.spec @@ -0,0 +1,47 @@ +Name: b43-openfwwf +Version: 5.2 +Release: 21 +Summary: Open Source firmware for Broadcom/AirForce chipset based devices +License: GPLv2 +URL: http://www.ing.unibs.it/openfwwf/ +Source0: http://www.ing.unibs.it/openfwwf/firmware/openfwwf-%{version}.tar.gz +Source1: README.openfwwf +Source2: openfwwf.conf +BuildArch: noarch + +BuildRequires: b43-tools gcc-c++ +Requires: udev module-init-tools + +%description +Open Source firmware for Broadcom/AirForce chipset based devices. +Known supported boards until now: 4306, 4311(rev1), 4318 and 4320. + +%package_help + +%prep +%autosetup -n openfwwf-%{version} +sed -i s/"-o 0 -g 0"// Makefile +install -p -m 0644 %{SOURCE1} . +install -p -m 0644 %{SOURCE2} . + +%build +%make_build + +%install +make install PREFIX=$RPM_BUILD_ROOT/lib/firmware/b43-open +install -d $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d +install -p openfwwf.conf $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d/openfwwf.conf + +%files +%license COPYING LICENSE +/lib/firmware/b43-open/*.fw +%attr(0644,root,root) %{_prefix}/lib/modprobe.d/openfwwf.conf + +%files help +%doc README.openfwwf + +%changelog +* Fri Oct 11 2019 openEuler Buildteam - 5.2-21 +- Package init + + diff --git a/openfwwf-5.2.tar.gz b/openfwwf-5.2.tar.gz new file mode 100644 index 0000000..8af8182 Binary files /dev/null and b/openfwwf-5.2.tar.gz differ diff --git a/openfwwf.conf b/openfwwf.conf new file mode 100644 index 0000000..605e1ce --- /dev/null +++ b/openfwwf.conf @@ -0,0 +1 @@ +options b43 nohwcrypt=1 qos=0