riebl / vanetza

Open-source implementation of the ETSI C-ITS protocol stack
Other
197 stars 157 forks source link

Can vanetza be used on wifi devices? #210

Closed daniel0720 closed 7 months ago

daniel0720 commented 7 months ago

Can vanetza be used on wifi devices? such as raspberry pi?

riebl commented 7 months ago

Yes, but please note that most WiFi chips do not support the IEEE 802.11p mode required for real ITS-G5 communication. However, you can run Vanetza's socktap with its UDP or TCP "link layer", which results in something like "ITS-G5 over IP".

daniel0720 commented 7 months ago

@riebl Thank you for your reply. But I don't want to over IP. There is 802.11p repo on github(https://github.com/rendits/802.11p-linux). Can it be compiled and installed to support the mode?

riebl commented 7 months ago

Yes, the 802.11p mode has been implemented in the Linux driver for ath9k WiFi chips. If you have an ath9k WiFi card you put it into OCB mode (a 802.11p feature) for ad-hoc communication. Also, you will have then an ITS-G5 capable device and can run Vanetza on top of this hardware. But the WiFi chip built into Raspberry Pis is not compatible.

Edit: Have a look at the recipes on www.vanetza.org where some hardware setups are described.

valt2017 commented 7 months ago

Here is another attempt of ath9k and ath10 modifications: https://gitlab.com/hpi-potsdam/osm/g5-on-linux/11p-on-linux. It can be used with different Linux distributions on e.g. APU boards. Although in my opinion also mac80211 modifications will be necessary to achieve correct QoS in multicast mode.

daniel0720 commented 7 months ago

@riebl Thank you. I'll take a look at the recipes.

daniel0720 commented 7 months ago

@riebl I can’t buy OBUs from autotalks and cohda. Can I use OBUs from other companies? What do I need to do if I want to run vanetza on another company's OBU?

riebl commented 7 months ago

nfiniity's CUBE ships with Vanetza, so I guess it does not get easier than this when it comes to running Vanetza on an ITS-G5-compliant device. You will need to ask for a quote and check if it is in your price range, I have no pricing information. The cheapest solution is using ath9k but the setup is more challenging and requires some Linux knowledge. In past experiments, however, we had only mediocre communication ranges with ath9k-based devices compared to automotive-grade devices.

daniel0720 commented 7 months ago

@riebl image

Does vanetza support this product ?

khevessy commented 7 months ago

Isn't this Cohda MK5? https://www.vanetza.org/recipes/cohda-sdk-build/?

daniel0720 commented 7 months ago

I got it