Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Support of SoapySDR as a neutral and platform independent SDR support library #414

Closed
ohault opened this issue Jun 14, 2024 · 8 comments

Comments

@ohault
Copy link

ohault commented Jun 14, 2024

Currently, OpenWifi supports a list of supported hardware (see - https://github.com/open-sdr/openwifi).

This ticket aims to leverage the SoapySDR API as a neutral and platform independent SDR support library.

@JiaoXianjun
Copy link
Member

I checked soapysdr lib. Seems like it is a lib to help do IQ sample streaming between the computer and the antenna.

openwifi is a Wi-Fi chp design (currently it is FPGA still). It works just like any other commercial Wi-Fi devices, one end is antenna, the other end is the Wi-Fi/Ethernet packet.

Could you elabrote more about the feature required?

@ohault
Copy link
Author

ohault commented Jun 14, 2024

It would be in the case of SoftMAC drivers architecture towards SDR hardware.

@JiaoXianjun
Copy link
Member

It would be in the case of SoftMAC drivers architecture towards SDR hardware.

Openwifi design is already softmac and has Linux driver.

@ohault
Copy link
Author

ohault commented Jun 17, 2024

Q1: Can I understand that SoapySDR would only make sense in the case of running at least a part of 802.11PHY on a real-time OS host?

Q2: For OpenWifi-hw implementation, is there an existing open toolchain/API that could be used to abstract supported FPGA platforms ?

@JiaoXianjun
Copy link
Member

I am not fully understanding the question.
Could you describe a bit further by an example? For instance, use which hardware supported by SoapySDR to achieve what kind of functionality?

@ohault
Copy link
Author

ohault commented Jun 18, 2024

I am not fully understanding the question.

Could you describe a bit further by an example? For instance, use which hardware supported by SoapySDR to achieve what kind of functionality?

About Q1, I can think about 6 GHz transceiver with a SoapySDR driver to be use then with a project like https://github.com/bastibl/gr-ieee802-11

About Q2, for this project the question would become how to be more agnostic in regards to FPGAs and not limited to a set of supported target FPGAs

@JiaoXianjun
Copy link
Member

I am not fully understanding the question.
Could you describe a bit further by an example? For instance, use which hardware supported by SoapySDR to achieve what kind of functionality?

About Q1, I can think about 6 GHz transceiver with a SoapySDR driver to be use then with a project like https://github.com/bastibl/gr-ieee802-11

About Q2, for this project the question would become how to be more agnostic in regards to FPGAs and not limited to a set of supported target FPGAs

For 6 GHz transceiver with a SoapySDR running gr-ieee802-11, you can use any hardware SoapySDR supported. openwifi is not a SDR for IQ sample streaming. I don't see strong connection in this scenario.

"more agnostic in regards to FPGAs", Even in SoapySDR, to add new hardware support, you need to do some work (like driver) in SoapySDR, right?

In Wi-Fi domain, this layer is the Linux mac80211 framework. Above it, it is hardware agnostic, below it, it is hardware specific driver for different Wi-Fi chip/dongle/devices.

Again, I am not fully sure what do you want. There are already many SDR that can do IQ sample streaming to computer. And SoapySDR is great to offer such functionality.

openwifi is about implementing WiFi NIC in FPGA and offer standard Wi-Fi driver/interface in Linux, not IQ sample streaming.

@ohault
Copy link
Author

ohault commented Jun 20, 2024

About

I am not fully understanding the question.
Could you describe a bit further by an example? For instance, use which hardware supported by SoapySDR to achieve what kind of functionality?

About Q1, I can think about 6 GHz transceiver with a SoapySDR driver to be use then with a project like https://github.com/bastibl/gr-ieee802-11
About Q2, for this project the question would become how to be more agnostic in regards to FPGAs and not limited to a set of supported target FPGAs

For 6 GHz transceiver with a SoapySDR running gr-ieee802-11, you can use any hardware SoapySDR supported. openwifi is not a SDR for IQ sample streaming. I don't see strong connection in this scenario.

"more agnostic in regards to FPGAs", Even in SoapySDR, to add new hardware support, you need to do some work (like driver) in SoapySDR, right?

In Wi-Fi domain, this layer is the Linux mac80211 framework. Above it, it is hardware agnostic, below it, it is hardware specific driver for different Wi-Fi chip/dongle/devices.

Again, I am not fully sure what do you want. There are already many SDR that can do IQ sample streaming to computer. And SoapySDR is great to offer such functionality.

openwifi is about implementing WiFi NIC in FPGA and offer standard Wi-Fi driver/interface in Linux, not IQ sample streaming.

About Q1, I agree, it is not directly related to openwifi project. I will create a ticket on https://github.com/bastibl/gr-ieee802-11 about how to rely on SoapySDR in complement to the current support of some USRP devices via UHD ?

About Q2, I will create a new dedicated ticket on this topic because it is not related to SoapySDR.

@ohault ohault closed this as completed Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants