Hi! I am trying to create an Access Point on Bela using USB WiFi dongle. I have several dongles. Unfortunately, the results not really good so far:
1. Realtek 8188EU works nice as a WiFi client, though when I try to turn it to AP mode it says:
nl80211: Driver does not support authentication/association or connect commands

  1. Realtek 8192EU. lsusb lists it, but ip a returns no wlan device. All the drivers I've downloaded from GitHub do not build (due to ARM arch I guess)

  2. Realtek 8811AU - the same as Realtek 8192EU

Any thoughts are very welcome...

    gleb All the drivers I've downloaded from GitHub do not build (due to ARM arch I guess)

    How are you trying to build the drivers?

    I either just use make or included sh script. I can give an example of some failed driver build process.

    I can give an example of some failed driver build process.

    that would help.

    With the AP functionality, I think the challenge is always finding a USB dongle that is well supported, and sometimes even drivers break this functionality over time.

    For instance, I clone this driver
    https://github.com/Mange/rtl8192eu-linux-driver

    then set architecture in Makefile to ARM and the error log after build failure says
    make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.14.108-ti-xenomai-r135/build M=/var/lib/dkms/rtl8192eu/1.0/build modules
    make[1]: Entering directory '/usr/src/linux-headers-4.14.108-ti-xenomai-r135'
    CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o
    gcc: error: unrecognized command line option '-mgeneral-regs-only'
    scripts/Makefile.build:326: recipe for target '/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o' failed

    other try:
    I clone https://github.com/diederikdehaas/rtl8812AU
    it gives error like
    make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -C /lib/modules/4.14.108-ti-xenomai-r135/build M=/root/Bela/projects/test/D/rtl8812AU-driver-4.3.20 modules
    make[1]: Entering directory '/usr/src/linux-headers-4.14.108-ti-xenomai-r135'
    ./scripts/gcc-version.sh: line 26: aarch64-linux-gnu-gcc: command not found
    ./scripts/gcc-version.sh: line 27: aarch64-linux-gnu-gcc: command not found
    make[1]: aarch64-linux-gnu-gcc: Command not found

    Maybe I need to gcc first..

    you need ARCH=arm instead , or ( assuming you are building these on the board) no ARCH at all

    ok. thanks. I'll try more