[OpenWrt-Devel] openwifi: Open source Wi-Fi “chip” on zynq FPGA with Linux mac80211 on ARM

Xianjun Jiao (UGent-imec) Xianjun.Jiao at UGent.be
Wed Dec 18 17:41:31 EST 2019


Thanks so much for the quick response.

Sounds promising. I will definitely take a look on those steps.

Best regards,
--
Xianjun Jiao
Senior researcher, imec-Gent university
210.007, IDLab, iGent, Technologiepark 126, 9052, Ghent, Belgium
Mobile: +32 484 57 22 32<tel:+32%20484%2057%2022%2032>

On Dec 18, 2019, at 23:36, Hauke Mehrtens <hauke at hauke-m.de> wrote:

On 12/18/19 11:09 PM, Xianjun Jiao (UGent-imec) wrote:
Dear openwrt friends,


A message may interest you. Our openwifi project is online:

https://github.com/open-sdr/openwifi


Full stack real time SDR (Software Defined Radio) Wi-Fi implementation
on zynq FPGA with embedded ARM Linux. Compatible with Linux mac80211
SoftMAC framework.


hostapd, wpa_supplicant and other native Linux Wi-Fi tools already work
out of the box!


But for openwrt, I have too little experience, only know that it is also
a kind of embedded Linux.


Is openwrt above the mac80211 subsystem?


How much effort do you think we need to run openwrt on the openwifi design?


If someone would like to work on this porting, we will definitely help!


Hi,

Interesting project, I would like to see support for this in OpenWrt.

OpenWrt is a Linux distribution which also ships mac80211 and other
drivers and user space components.

The zynq target is already support in OpenWrt master, see here:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=tree;f=target/linux/zynq;h=d20f848fca5d6de2e3afd88fc208aa9747b8b101;hb=HEAD

You have to add support for you broad to the zynq target, see here for
an example of an other board:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=64f4c3ef357815e5d8c780a0d02924b9176db794

Then you would already get images for you board using kernel 4.19.

Then you have to add your wifi driver, you can use the integration of
the mwlwifi driver as an example:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/kernel/mwlwifi/Makefile;h=aa8eea0450a2e16a460c2f18af1fa6a3dcc07a0c;hb=HEAD
This builds against mac80211 from kernel 5.4 provided by backports.

Then you should add your other user space tools as normal OpenWrt packages.
You should list the basic packages you need in the DEVICE_PACKAGES
variable in the board definition in target/linux/zynq/image/Makefile to
create images with your wifi driver by default.

Hauke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20191218/6691d2ac/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list