Cits/otm reception with ath9k OpenWrt

We’ve found a use for old 5GHz ATH9k devices, based on an idea from MPW of FF-Münster:
CITS reception for https//opentrafficmap.org

Models such as the CPE510, Nanostation (Loco) M5, Litebeam M5, but also the TL3600 and TL4300, are suitable for this.

Due to space problems (8MB flash..) with current OpenWrt, there is now a Fastd „supernode“ for this. The „routers“ send their MQTT datagrams through the fastd tunnel, and only after that does MQTTS (i.e. SSL/TLS) take over.
On the side, a Grafana also generates statistics. https://otm.ffnef.de

Either build it yourself or use the finished images. (Or donate the devices, DHL parcel stamps are available.)

Cool stuff! I once deployed an old WDR3600 :slight_smile:
Like it!
In theory, mt76 should also be able to see the CITS frames. But then you wouldn’t be able to use the radio for Freifunk anymore.

Exactly. I’m happy to take tips.
You can switch the driver over, and it also reports that it’s set to half-rate.
But the hardware doesn’t go along with it. If you send 10 MHz frames with an ATH9k device, they aren’t received. If the ath9k device transmits with 20 MHz bandwidth, then the MT76 receives in what is supposedly 10 MHz mode.

I then tried transmitting in test mode, and it claims to be sending, but nobody hears it.

The current status is this:

Super interesting project. Unfortunately, I only have media library devices left…

For listening on 5 GHz with Atheros devices, I still have lying around: TP-Link C7 V2.0 (QCA9558, QCA9880-BR4A) and Joy-IT JT-OR750i (QCA9531, QCA9887)

Unfortunately, none of them can do half-rate (10 MHz) anymore.
With QCA, you now have to buy the (extremely expensive) „automotive“ chips for that.
(Please insert a conspiracy theory of your choice here.)

What probably works are some USB sticks that may be cheap to get:

chip driver
AR7010 + AR9280 ath9k_htc
Realtek RTL8812EU (module LB-Link BL-M8812EU2) rtl88x2eu (OpenHD/OpenIPC, not in the kernel)

For the Realtek, there are several threads among the FPV people.
wfb-ng, OpenIPC etc. transmit in both directions at 10 MHz with it.
It is still open whether the driver allows channel 180 (5900 MHz). For OpenWrt on MIPS, it would be a large out-of-tree driver.

Trying this on a laptop & Co. is also rather difficult: In the current Linux mainline, WIPHY_FLAG_SUPPORTS_5_10_MHZ seems to no longer exist. That means wild kernel patching.
So it’s better to use an old 1043 & Co. as the host… possibly run the USB cable outside…