WiFi dual band (or only 5GHz)

Started by shug, April 01, 2014, 11:06:00 AM

Previous topic - Next topic

shug

Hi all,
I'll have to use my A20 boards in an awful environment with lots of WiFi traffic (2.4 GHz). So I'll probably switch to 5 GHz to be get less interference. Do you know an existing module or an USB stick working well with that board and Linux (Debian or Ubuntu)?
Thanks !

wildzero

Hi, did you find s solution for 5GHz in the meantime? I try to get a RTL8812AU https://wikidevi.com/wiki/Realtek#ac_2 adapter working. But the RTL8812AU driver source does not compile with allwinner kernel :(

Gerrit

#2
Quote from: wildzero on December 24, 2014, 12:56:37 PM
Hi, did you find s solution for 5GHz in the meantime? I try to get a RTL8812AU https://wikidevi.com/wiki/Realtek#ac_2 adapter working. But the RTL8812AU driver source does not compile with allwinner kernel :(

Maybe this version works for you https://github.com/gnab/rtl8812au

MakeFile:
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_SUNxI = y

wildzero

#3
Hi Gerrit,

thank's for the hint.

But the version from gnab has same compile error:

CC [M]  drivers/net/wireless/rtl8812au/os_dep/linux/usb_intf.o
drivers/net/wireless/rtl8812au/os_dep/linux/os_intfs.c: In function 'rtw_proc_init_one':
drivers/net/wireless/rtl8812au/os_dep/linux/os_intfs.c:437:2: error: implicit declaration of function 'create_proc_read_write_entry' [-Werror=implicit-function-declaration]
drivers/net/wireless/rtl8812au/os_dep/linux/os_intfs.c:437:8: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/net/wireless/rtl8812au/os_dep/linux/os_intfs.c:444:8: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/net/wireless/rtl8812au/os_dep/linux/os_intfs.c:615:8: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/net/wireless/rtl8812au/os_dep/linux/os_intfs.c:622:8: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/net/wireless/rtl8812au/os_dep/linux/os_intfs.c:629:8: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/net/wireless/rtl8812au/os_dep/linux/os_intfs.c:636:8: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/net/wireless/rtl8812au/os_dep/linux/os_intfs.c:643:8: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/net/wireless/rtl8812au/os_dep/linux/os_intfs.c:654:8: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/net/wireless/rtl8812au/os_dep/linux/os_intfs.c:670:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  CC [M]  drivers/net/wireless/rtl8812au/os_dep/linux/usb_ops_linux.o
cc1: some warnings being treated as errors

make[4]: *** [drivers/net/wireless/rtl8812au/os_dep/linux/os_intfs.o] Error 1
make[4]: *** Waiting for unfinished jobs....
drivers/net/wireless/rtl8812au/os_dep/linux/usb_intf.c: In function 'rtw_drv_entry':
drivers/net/wireless/rtl8812au/os_dep/linux/usb_intf.c:1968:2: error: implicit declaration of function 'script_parser_fetch' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

make[4]: *** [drivers/net/wireless/rtl8812au/os_dep/linux/usb_intf.o] Error 1
make[3]: *** [drivers/net/wireless/rtl8812au] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
ERROR: build kernel Failed


CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_SUNxI = y

are set in Makefile

UPDATE:
after some adaptations it is now compiling and 8812au.ko was loadable via insmod. Will post patch later. But now i have to understand how allwinner scripts in android handle wlan with a specific module

wildzero

Ok, rtl8812au working,

here some adaptations to get https://github.com/gnab/rtl8812au compile with allwinner kernel:
http://pastebin.com/EsdT0mKA