svpcom / wfb-ng

WFB-NG - the next generation of long-range packet radio link based on raw WiFi radio
https://docs.px4.io/main/en/tutorials/video_streaming_wifi_broadcast.html
GNU General Public License v3.0
882 stars 219 forks source link

If RTL88xx support 11ac or only can use 11n to broadcast? #340

Open yuace opened 2 months ago

yuace commented 2 months ago

hi,

I use wifibroadcast with RTL88xx, but I find only work in 11n.( Enable CONFIG_80211AC_VHT) If RTL88xx support 11ac or only can use 11n to broadcast?

Thanks!

svpcom commented 2 months ago

By default wfb_tx support only 11n injection. But you can patch it to allow 11ac (need to add additional flags to radiotap header if mcs_index is 11ac). Pull requests are welcome

See https://github.com/svpcom/rtl8812au/blob/60cb82df48247e94bae91c0642c17c90ad8d6276/core/rtw_xmit.c#L4335

yuace commented 2 months ago

Thanks your quick respones.

libc0607 commented 2 months ago

For anyone who wants to test VHT rates, I've made a dirty patch here.

Only tested on my 8812au & 8812eu, with an SDR receiver as a spectrum analyzer. Tested several combinations of MCS rates, STBC, and LDPC, and all features seem working.

I've added an arg -N for VHT NSS. The HT/VHT is automatically determined by (bandwidth>=80). The other arguments are the same.

I'm not sure if I'm doing the mod in the right way... I can open a pull request if someone else proves it's working.

yuace commented 2 months ago

收到!!!