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

enable 802.11p #394

Open
nits-skydeploy opened this issue Mar 8, 2024 · 7 comments
Open

enable 802.11p #394

nits-skydeploy opened this issue Mar 8, 2024 · 7 comments

Comments

@nits-skydeploy
Copy link

Hi Xianjun,
My name is Nitin, first of all let me congratulate you. Openwifi is really very neat and strong work from you, thanks for doing it and sharing it.

1. Our image is used directly or you build your own image?
I am building image from scratch as er kuiper.md.

2.What is your own modification?
I am trying to use 802.11p with 10 MHz bandwidth, i have made changes in verilog files and rf_init_11n.sh, also i designed a filter for 10MHz from MATLAB.

3.Versions: OS, Vivado, openwifi/openwifi-hw repo branch and commit revision
Focal Fossa, Vivado 2021.1, open wifi 1.4.0

4. Board/hardware type
Antsdr_e200

5. WiFi channel number
172,176, 178

6. Steps to reproduce the issue, and the related error message, screenshot, etc
when running sdr-ad-hoc-up.sh sdr0 5900 192.168.13.1, it gives me channel disabled error, although i modified the sdr.h to include channel 178 for 5900MHz channel, and also modified sdr_regd to include the said channel.

7. Describe your debug efforts by Linux native tools, such as tcpdump and "cat /proc/interrupts"
not tried

Describe your debug efforts by: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#Debug-methods

Any other thing we need to know for helping you better?
I just need to understand if I change the fpga design to decimate and interpolate for 10MHz instead of 20MHz, use appropriate filter and do not modify the sdr.h file, can i get the effective bandwidth as 10MHz on any channel (except those that are disabled in sdr.h).

2nd question is how do I enable 802.11p mode in openwifi?

My 3rd question is regarding running openwifi on arbitrary frequency, even if i run ./sdrctl dev sdr0 set reg rf 1 3500 and ./sdrctl dev sdr0 set reg rf 5 3500, and then start ad-hoc network using ./sdr-ad-hoc-up.sh sdr0 3500 192.168.13.1 it gives me error "Error for wireless request; set frequency".
So how do i make sure that my wifi is running on 3500MHz, and how do i connect client on this frequency (suppose i have 2 antsdr_e200)?

Please look into my questions and if possible provide some hints or solution towards the same.
Thanking you in anticipation.
Nitin Kumar
@JiaoXianjun
Copy link
Member

To change the BW/sampling rate, I would suggest you check information in this issue : #155

@nits-skydeploy
Copy link
Author

nits-skydeploy commented Mar 27, 2024 via email

@nits-skydeploy
Copy link
Author

nits-skydeploy commented Mar 28, 2024 via email

@Denisfk1985
Copy link

Hello! Any progress with enabling 802.11p? This topic is also very interesting to me. I was just able to launch openwifi on the LibreSDR platform and now I’m thinking about how to enable the 10 MHz band and solve the problem with frequencies. I was not able to set it above 5900 MHz, only if directly in the registers using ./sdrctl.

@nits-skydeploy
Copy link
Author

nits-skydeploy commented Apr 15, 2024

hi, I did what was suggested by @JiaoXianjun, but it is not working out. I can't connect any user to the wifi, also not able to connect two devices using ad-hoc network. With 10MHz another issue is that the MAC layer in Linux do not support 10MHz directly ( i believe) and modifications are also required in that. Usually the wifi chip's driver (openwifi in this case) must report is to MAC that is has the capability of 5/10MHz bandwidth, i can't figure out how to do that.

@JiaoXianjun
Copy link
Member

Maybe you could search/learn how other chip support 5MHz and 10Mhz in the kernel driver tree, like ath9k (if my memory is correct).

@nits-skydeploy
Copy link
Author

ok @JiaoXianjun I will look into this. Thanks for sharing

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

3 participants