Closed c2013hl closed 2 years ago
Hello,
In the https://github.com/open-sdr/openwifi#quick-start , we use https://github.com/open-sdr/openwifi/blob/master/user_space/hostapd-openwifi.conf or https://github.com/open-sdr/openwifi/blob/master/user_space/hostapd-openwifi-11ag.conf to configure the AP's channel. But currently we only test in 5GHz. Not sure in 2.4GHz how good/bad it is.
Regarding changing the actual working frequency to the non-standard WiFi channels, we never try this. But I think it is doable by yourself, after you understand the whole frequency setting mechanism as we explained: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#regulation-and-channel-config
thank you for your reply. i will look at the info you suggested. if tested successfully, I will contribute an application note.
On Sun, Sep 12, 2021, 1:47 PM Jiao Xianjun @.***> wrote:
Hello,
In the https://github.com/open-sdr/openwifi#quick-start , we use https://github.com/open-sdr/openwifi/blob/master/user_space/hostapd-openwifi.conf or https://github.com/open-sdr/openwifi/blob/master/user_space/hostapd-openwifi-11ag.conf to configure the AP's channel. But currently we only test in 5GHz. Not sure in 2.4GHz how good/bad it is.
Regarding changing the actual working frequency to the non-standard WiFi channels, we never try this. But I think it is doable by yourself, after you understand the whole frequency setting mechanism as we explained: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#regulation-and-channel-config
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/open-sdr/openwifi/issues/98#issuecomment-917707587, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVSG6UQSSUATO2P2AMSJSHLUBUGXDANCNFSM5DZVKEKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Good. Looking forward to your result.
We tried to change the frequency on the 2 SDR boards (ADRV9361-Z7035) but no luck. echo, sync, cat does show the correct frequency setting.
However, The default frequency is 5.2GHz for openwifi. We changed the TX/RX LO of both the Access Point and Client to 2.4GHz then apply the instructions from ap-client-two-sdr.md apnote. When the client node tries to "iwlist sdr0 scan" or run "wpa_supplicant -i sdr0 -c wpa-openwifi.conf", the client only uses 5.2GHz frequency and does not use 2.4GHz. We did try to change the .conf file but no luck.
Would you give us some advice. Thank you.
On Mon, Sep 13, 2021 at 12:42 AM Jiao Xianjun @.***> wrote:
Good. Looking forward to your result.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/open-sdr/openwifi/issues/98#issuecomment-917926303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVSG6URAPQRPWORIF7AJOUTUBWTNLANCNFSM5DZVKEKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
If you could share us the dmesg log, we can take a look.
Thank you for the response. We are able to set frequency to 2.4GHz now. 5.2G and 2.4G seems to work. We're trying some other frequencies. It looks like we need to change the device driver to be able to support other frequencies.
On Thu, Sep 30, 2021 at 12:37 AM Jiao Xianjun @.***> wrote:
If you could share us the dmesg log, we can take a look.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/open-sdr/openwifi/issues/98#issuecomment-930943205, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVSG6UXTRLJFKEH4HGKNUG3UEQHVJANCNFSM5DZVKEKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
We tried some other frequencies different than the standard 5G and 2.4G (for example: 3GHz or 900MHz) would you advise what we need to change in the driver to support this kind of setting and scanning? Also which part of the driver supports 'iwlist scan" function? Would you help to point us to the code files that may be responsible for doing the scan?
On Fri, Oct 1, 2021 at 8:33 AM Chi Lee @.***> wrote:
Thank you for the response. We are able to set frequency to 2.4GHz now. 5.2G and 2.4G seems to work. We're trying some other frequencies. It looks like we need to change the device driver to be able to support other frequencies.
On Thu, Sep 30, 2021 at 12:37 AM Jiao Xianjun @.***> wrote:
If you could share us the dmesg log, we can take a look.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/open-sdr/openwifi/issues/98#issuecomment-930943205, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVSG6UXTRLJFKEH4HGKNUG3UEQHVJANCNFSM5DZVKEKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hello,
All frequency setting related HW SW blocks are explained here: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#Analog-and-digital-frequency-design
You need to figure out and try to change related files.
After you run "iwlist scan", you can run "dmesg" to see those printing messages (you will see openwifi is switching channels one by one). Then search those printing messages in the sdr.c, you will find out which functions are called to do the frequency scanning.
The AD9361 has a FastLock mode. Is this used in OpenWifi? Would you give some advice how to configure FastLock mode and test it?
On Fri, Oct 8, 2021 at 6:45 AM Jiao Xianjun @.***> wrote:
Hello,
All frequency setting related HW SW blocks are explained here: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#Analog-and-digital-frequency-design
You need to figure out and try to change related files.
After you run "iwlist scan", you can run "dmesg" to see those printing messages (you will see openwifi is switching channels one by one). Then search those printing messages in the sdr.c, you will find out which functions are called to do the frequency scanning.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/open-sdr/openwifi/issues/98#issuecomment-938656083, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVSG6UT6W7BDWZNTYNPQDRTUF3YY7ANCNFSM5DZVKEKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
We never try that. Sorry.
If no further question, I will close this issue.
Ok, thanks.
On Mon, Oct 25, 2021 at 1:08 AM Jiao Xianjun @.***> wrote:
If no further question, I will close this issue.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/open-sdr/openwifi/issues/98#issuecomment-950640827, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVSG6UQMALPQPKL5POKUWZTUIUGAZANCNFSM5DZVKEKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hello @c2013hl , Which driver is used for frequency 2.4G? Thanks!
Thank you for the response. We are able to set frequency to 2.4GHz now. 5.2G and 2.4G seems to work. We're trying some other frequencies. It looks like we need to change the device driver to be able to support other frequencies. … On Thu, Sep 30, 2021 at 12:37 AM Jiao Xianjun @.***> wrote: If you could share us the dmesg log, we can take a look. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#98 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVSG6UXTRLJFKEH4HGKNUG3UEQHVJANCNFSM5DZVKEKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Could you send email to xianjun.jiao@ugent.be to introduce your self? From Lee - c2013hl@gmail.com: Hi, I am looking to do some experiments with SDR using openwifi on Analog Device ADRV9361-Z7025 hardware. Mainly to understand the flexibility of the hardware with openwifi.
Our image is used directly or you build your own image? will need to build own image with slight modification. currently trying to experiment with TX and RX frequency variations
What is your own modification? Would you give some advice how I can change openwifi to different frequency band. in driver file: hw_def.h, it listed 900MHz to 60GHz. How can I change the band for openwifi to 900MHz or 2.4GHz? It's currently default to 5GHz.
Versions: OS, Vivado, openwifi/openwifi-hw repo branch and commit revision OS - ADI Linux; Vivado 2018.3 same as openwifi, openwifi from main branch
Board/hardware type ADRV9361-Z7035 from ADI
WiFi channel number tx 1a, rx 1a
Steps to reproduce the issue, and the related error message, screenshot, etc No issue. The change is intended for experimentation
Describe your debug efforts by Linux native tools, such as tcpdump and "cat /proc/interrupts" Not applicable.
Describe your debug efforts by: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#Debug-methods Read hardware and software code on openwifi
Any other thing we need to know for helping you better? no.