update code

This commit is contained in:
zhuchunyi 2019-11-06 19:02:52 +08:00
commit f27b0583e4
4 changed files with 94 additions and 0 deletions

46
README.openfwwf Normal file
View File

@ -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

47
b43-openfwwf.spec Normal file
View File

@ -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 <buildteam@openeuler.org> - 5.2-21
- Package init

BIN
openfwwf-5.2.tar.gz Normal file

Binary file not shown.

1
openfwwf.conf Normal file
View File

@ -0,0 +1 @@
options b43 nohwcrypt=1 qos=0