morrownr/8812au-20210820

Documentation - README.md, FAQ.md and 8812au.conf (discussion and recommendations go here)

Closed this issue · 4 comments

Anything that is not clear or can be done better is on the table.

Hi,

just wanted to share my recommended settings, which are maybe not the most performant ones, but to me personally the most reliable ones having RTL8812AU / ALFA AWUS036ACH in 2.4GHz b/g/n (only) AP mode. Most important thing to me was ensuring continuos (gapless/ stutter free) playback on the Squeezeamp through cspot (spotify connect endpoint) while other devices might drain the line through VOD or 1080p streaming etc. so I hope it might be still a valueable feedback.

Hardware:

  • Raspberry Pi 5 Model B Rev 1.0
  • nvme-KINGSTON_SNV2S2000G
  • ALFA AWUS036ACH

OS:

  • 6.1.0-rpi8-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux

Test devices / setup:

  • Squeezeamp (ESP32)
  • Iphone 13mini
  • linux desktop

Scenarios (in order as they appear) :

  • starting a playlist (320 ogg) on squeezeamp
  • starting a VOD (1080p) through twitch through linux desktop
  • starting a livestream (1080p) through twitch on Iphone13

or

  • starting a playlist (320 ogg) on squeezeamp
  • starting a livestream (1080p) through twitch on Iphone13
  • scp-ing 7 albums of flac files from linux desktop to rpi

All of those doesn't interrupted or slowed down the streaming on any device which is more then great :)

/etc/modprobe.d/8812au.conf

options 8812au rtw_switch_usb_mode=1 rtw_led_ctrl=0 rtw_country_code=XX
   
Where to replace XX with your regarding country code, see http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
/etc/hostapd/hostapd.conf

ht_capab=[SHORT-GI-20][SHORT-GI-40][TX-STBC-1][RX-STBC-1][HT20][DSSS_CCK-40][MAX-AMSDU-7935]
   

@bungh0l10

ht_capab=[SHORT-GI-20][SHORT-GI-40][TX-STBC-1][RX-STBC-1][HT20][DSSS_CCK-40][MAX-AMSDU-7935]

Can I get you to test the following:

ht_capab=[SHORT-GI-20][RX-STBC1][MAX-AMSDU-7935][DSSS_CCK-40]

I will explain when you report the results. Thanks for bringing this up as I have found a couple of bugs already.

@morrownr

Change: Can I get you to test with:

ht_capab=[SHORT-GI-20][RX-STBC1][MAX-AMSDU-7935]

Any reults?