Atheros_CSI_tool_OpenWRT_src icon indicating copy to clipboard operation
Atheros_CSI_tool_OpenWRT_src copied to clipboard

csi length 0

Open fpeci opened this issue 4 years ago • 7 comments

Two devices with openwrt

  1. tplink 841Nv11 - Qualcomm Atheros QCA9533 (able to send and receive)
  2. Archer c7 v1.1 - Qualcomm Atheros QCA9558 (able to send and receive) lorcon package doesnt have option to specify modulation index on both APs 1st AP is setup in AP role 2nd AP is setup as client

trying to read the file with Matlab script shows no csi values (although it is filled with rssi values) also csikit doesn't recognize it as Atheros file .dat file that I am trying to read after running recvCSI command

are these two hardware boxes supported ?

Cheers

fpeci avatar Jun 20 '21 16:06 fpeci

QCA9558 should work. If you have RSSI, the issue is probably not with the devices, as they are running the same software. You should probably take a look at the data.

Geosearchef avatar Jun 20 '21 18:06 Geosearchef

were you able to use the injector, it is not working for me, doesn't have the same options as in the wiki ?

fpeci avatar Jun 20 '21 20:06 fpeci

Hi, I have the same issue, have you solved it? I'm a bit lost 😅

After receiving HT packets and analyzing the data in Matlab, the values for the variable ‘csi’ are consistently zero.

I am using two laptops with Ubuntu:

The sender laptop runs Ubuntu 22.04.4 LTS. The receiver laptop runs Ubuntu 14.04 LTS with kernel 4.1.10+ and a Qualcomm Atheros AR9462 network card.

image

image

Thank you in advance!

h0r4ci0 avatar Mar 24 '24 16:03 h0r4ci0

Is your sender setting the sounding flag? (or setting the not_sounding to false)

You need to set the flag for the receiver chip to calculate and report CSI, if I remember correctly.

The 14.04 modified driver does that.

Geosearchef avatar Mar 24 '24 17:03 Geosearchef

I think you're right, I'm not sending the sounding flag, or at least that's what I understand when analyzing it with Wireshark.

Regarding the modified driver, do you mean the Ubuntu 14.04 version with kernel 4.1.10+? I haven't used that version on the transmitter device due to issues with the network interfaces, as it didn't recognize any.

Should I try to get that specific version working, or can I change some settings from the one I'm currently using (22.04.4 LTS) to make it functional? Thanks!

image

h0r4ci0 avatar Mar 25 '24 18:03 h0r4ci0

It's been some time, but if memory serves, I modified the ath9k driver to set the sounding flag. Just search this repository for the not_sounding and look at the Git history. You would have to modify the driver you are using, assuming your hardware supports that option.

It might be easier to build and use the old kernel (4.1.10+) on Ubuntu 14.04 though, if your Hardware is compatible with the modified ath9k driver here.

Geosearchef avatar Mar 25 '24 19:03 Geosearchef

Okay, thank you very much! I'll be testing it out over the next few days. I'll post any progress here.

h0r4ci0 avatar Mar 26 '24 20:03 h0r4ci0