prototype-cjdns-pi icon indicating copy to clipboard operation
prototype-cjdns-pi copied to clipboard

USB WirelessAC UBS Dongles poor functionality

Open darkdrgn2k opened this issue 6 years ago • 4 comments

A previous thought that the AC dongles were under powered and that's what gave them such poor performance/functionality

Found this reference on the internet:

I just had the idea to set max_usb_current = 1 in /boot/config.txt to make the PI supply as much power as possible to the USB port.

Be worth taking a look to see how well/poorly they preform with this turned on and off

darkdrgn2k avatar Jan 06 '19 00:01 darkdrgn2k

as possible

That scares me. Needs testing I guess, but I worry about other devices, and the pi power, etc. It'd be good to see some documentation for it.

makew0rld avatar Jan 06 '19 02:01 makew0rld

if you can find it please post

at the moment it's a hypothesis only

darkdrgn2k avatar Jan 06 '19 02:01 darkdrgn2k

mt7610u

note Drivers now exist in 4.2 kernel, Raspberry is still 4.14

git clone https://github.com/ulli-kroll/mt7610u.git

Failed to work. Crashes on ifconfig down

[   55.038560] 2. Phy Mode = 61
[   55.042857] /home/pi/mt7610u/chips/mt76x0.c:1710 assert (pAd->TxPower[choffset].Channel == 36)failed
[   55.051412] ERROR!!! 
[   55.051417] E2PROM: WRONG VERSION 0x2, should be 1
...
[   55.056153] 3. Phy Mode = 61
[   55.061089] TxPath = 1, RxPath = 1, RFIC=17
[   55.061107] RTMPSetPhyMode: channel is out of range, use first channel=1 
...
[   55.072580] Chan x:	power 0 dBm, DFS 0, DFS Type 0

darkdrgn2k avatar Jan 20 '19 03:01 darkdrgn2k

rtl8812AU

note Drivers now exist in 4.2 kernel, Raspberry is still 4.14

Stock 4.2 kernel

  • [x] Modules Installs
  • [x] Enters Adhoc Mode
  • [x] iw reports correctly
  • [ ] iw station dump works
  • [x] Pings across
  • [x] iperf3 60 seconds sustained

When setting channel to anything other then 1 the driver seem to scan through all the channels and settles on 1 anyway.

https://github.com/xxNull-lsk/rtl8812AU.git Patch required:
sed -i -e "s/__vfs_read/kernel_read/" os_dep/osdep_service.c sed -i -e "s/vfs_read/kernel_read/" core/efuse/rtw_efuse.c sed -i -e "s/vfs_read/kernel_read/" core/rtw_wlan_util.c

2.4 ghz test

  • [x] Modules Installs
  • [x] Enters Adhoc Mode
  • [ ] iw reports correctly
  • [ ] iw station dump works
  • [x] Pings across
  • [x] iperf3 60 seconds sustained

darkdrgn2k avatar Jan 20 '19 04:01 darkdrgn2k