Skip to content

Openwifi STATION mode doesn't work #468

@jsr-krush

Description

@jsr-krush
  1. Could you send email to [email protected] to introduce your self?

Done.

  1. Our image is used directly or you build your own image?

Your image directly (openwifi-1.5.0-shahecheng)

  1. What is your own modification?

None

  1. Versions: OS, Vivado, openwifi/openwifi-hw repo branch and commit revision

N/A. Using provided image as-is.
Only modification to the image after flasihing is the specified step:
-> Copy files in BOOT/openwifi/board_name to the base directory of BOOT partition.

  1. Board/hardware type

A: ADRV9361-Z7035 + ADRV1CRR-BOB
B: ANTSDR e200

  1. WiFi channel number

1

  1. Steps to reproduce the issue, and the related error message, screenshot, etc

Just use standard provided scripts to set one unit in AP and the other unit in STA mode.

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

tcpdump, external laptop with wifi module in promiscuous mode (sniffer), dumping packets from the sdr driver ,etc.

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

  2. Any other thing we need to know for helping you better?

No

Problem

Openwifi doesnt work correctly when started in station mode and following instructions from the basic operations guide.

Test scenario

Hardware conditions
All tests repeated in the following hardware:

  • ADRV9361-Z7035 + ADRV1CRR-BOB
  • AntSDR E200

RF Conditions

  • Using antennas
  • Using direct connection TX->RX / RX->TX via cables with 20dB attenuators.

NOTE: All described tests are performed first with antennas, and next with direct connections (cables).

Test results

Test 1: Openwifi AP + Stations

  • Device 1: ADRV9361-Z7035 + ADRV1CRR-BOB running openwifi 1.5.0 as ACCESS POINT.
  • Device 2: ADRV9361-Z7035 + ADRV1CRR-BOB running openwifi 1.5.0 as as STATION
  • Other devices: Laptops, phones, etc. as STATIONS

Results:

  • Other devices (phones, laptos, etc) connect successfully to the AP and can ping each other and the AP without issues
  • Device 2: Cannot even associate (or struggles for minutes) to the AP. If it manages to associate (rare) ping shows a lot of packet loss.
  • Exchanging antennas for cables doesn't make any difference

Test 2: Openwifi AP + Stations

  • Device 1: ADRV9361-Z7035 + ADRV1CRR-BOB running openwifi 1.5.0 as ACCESS POINT.
  • Device 2: AntSDR e200 running openwifi 1.5.0 as as STATION
  • Other devices: Laptops, phones, etc. as STATIONS

Results:

  • Other devices (phones, laptos, etc) connect successfully to the AP and can ping each other and the AP without issues
  • Device 2: Cannot even associate (or struggles for minutes) to the AP. If it manages to associate (rare) ping shows a lot of packet loss.
  • Exchanging antennas for cables doesn't make any difference

Test 3: RPI 4 AP + Stations

  • Device 1: RaspberryPI 4 as ACCESS POINT.
  • Device 2: ADRV9361-Z7035 + ADRV1CRR-BOB running openwifi 1.5.0 as as STATION
  • Other devices: Laptops, phones, etc. as STATIONS

Results:

  • Other devices (phones, laptos, etc) connect successfully to the AP and can ping each other and the AP without issues
  • Device 2: Cannot even associate (or struggles for minutes) to the AP. If it manages to associate (rare) ping shows a lot of packet loss.
  • Exchanging antennas for cables doesn't make any difference

Test 4: RPI 4 AP + Stations

  • Device 1: RaspberryPI 4 as ACCESS POINT.
  • Device 2: AntSDR e200 running openwifi 1.5.0 as as STATION
  • Other devices: Laptops, phones, etc. as STATIONS

Results:

  • Other devices (phones, laptos, etc) connect successfully to the AP and can ping each other and the AP without issues
  • Device 2: Cannot even associate (or struggles for minutes) to the AP. If it manages to associate (rare) ping shows a lot of packet loss.
  • Exchanging antennas for cables doesn't make any difference

Test 5: Ad-hoc

  • Device 1: ADRV9361-Z7035 + ADRV1CRR-BOB running openwifi 1.5.0 as AD-HOC
  • Device 2: ADRV9361-Z7035 + ADRV1CRR-BOB running openwifi 1.5.0 as AD-HOC

Results:

  • Works as expected using antennas (some expected loss when separating the 2 nodes.)
  • Works as expected using cables.

Test 6: Ad-hoc

  • Device 1: ADRV9361-Z7035 + ADRV1CRR-BOB running openwifi 1.5.0 as AD-HOC
  • Device 2: AntSDR e200 running openwifi 1.5.0 as AD-HOC

Results:

  • Works as expected using antennas (some expected loss when separating the 2 nodes.)
  • Works as expected using cables.

Conclusion

  • Openwifi image works fine as AP: tested with non openwifi stations.
  • Openwifi image works fine as AD-HOC: Tested using only openwifi stations
  • Openwifi DOES NOT WORK as STATION: Tested with openwifi AP and other external APS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions