USB WiFi adapter on RZ/G1M board


I am working on Renesas RZ/G1M board (Yacto1.6 Daisy). I worte a recipe for rtl88121u module and I am able to compile module and insmod without any errors.

ifconfig is listing wlan0 interface but when I do iwconfig it's not showing any wlan0 interfaces. Following is the log of iwconfig and ifconfig.


wlan0     no wireless extensions.



wlan0 Link encap:Ethernet HWaddr 34:76:C5:93:BA:7E
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


Bus 004 Device 004: ID 04bb:0959 I-O Data Device, Inc.

I am using wifi driver from

Thanks and Regards,


  • For RZ/A, I have used this one in the past for the 8188:


    Anyway, what I noticed is that in order to get it to work, I had to add "select WIRELESS_EXT" to the Kconfig.

    Otherwise the wireless extensions driver in the kernel would not get built. There is no user menuconfig option

    to enable WIRELESS_EXT, it must be forcible set by a driver Kconfig.


    So, maybe you can try this:

    config RTL8821AU
        tristate "Realtek 8821 USB WiFi"
        depends on USB
    +   select WIRELESS_EXT
    Help message of RTL8821AU


    I think other users normally don't have an issue because their kernels

    select lots of wireless chips to build so at least one of them will have

    it set. But in my case, we want a minimum build, so we only enable this

    one device, when is why I was seeing the issue but no one else.


    Also, in "include/autoconf.h", I made this change:

    diff --git a/include/autoconf.h b/include/autoconf.h
    index f62231b..57bcd3c 100755
    --- a/include/autoconf.h
    +++ b/include/autoconf.h
    @@ -102,7 +102,7 @@
                    #define CONFIG_HOSTAPD_MLME     1
            #define CONFIG_FIND_BEST_CHANNEL        1
    -       //#define CONFIG_NO_WIRELESS_HANDLERS   1
    +       #define CONFIG_NO_WIRELESS_HANDLERS     1
  • In reply to Chris:

    Hello Chris,

    Thank You for the reply. I enabled WIRELESS_EXT in menuconfig and now my device is up and I have wlan0 interface displayed properly with "iwconfig" and "ifconfig". I am facing issues in connecting to the available SSIDs. My WiFi adapter is using 5GHz band. Hope I'll resolve these issues. If there is anything that I have to do in order to resolve this issue, kindly let me know. Thanks for the support.