Hello All,
I’m trying to enable a MediaTek USB WiFi Dongle (Mediatek mt7921au) and have enabled the following in the defconfig:
CONFIG_WLAN=y
CONFIG_WLAN_VENDOR_MEDIATEK=y
CONFIG_MT76_CORE=y
CONFIG_MT7921U=y
CONFIG_MT7921_COMMON=y
When I plug in the USB dongle and run lsusb, I see the following:
root@localhost:~# lsusb
Bus 001 Device 002: ID 0e8d:7961 MediaTek Inc. Wireless_Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
However, I don’t see any WiFi interface in ip a or in nmcli.
Does anyone have any thoughts on what I might be missing? Any help would be highly appreciated.
Thank you!
Solved! Go to Solution.
Hi @pilotnite!
You can refer to our Linux User Guide:
https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf
The wireless driver supports wpa_supplicant, which is a WEP/WPA/WPA2/WPA3 encryption authenticated tool.
• Wi-Fi driver: supports NXP 88W8987-based modules with SDIO interface, NXP 88W9098-based modules with PCIe and SDIO interfaces, NXP 88W8997-based modules with PCIe and SDIO interfaces, NXP IW416- based modules with SDIO interface, NXP 88W8801-based modules with SDIO interface, and NXP IW612- based modules with SDIO interface.
• Firmware
The NXP release package already includes all NXP, Wi-Fi/Bluetooth firmware. It requires to accept NXP license.
To run Wi-Fi, execute the following commands first and follow common commands below:
• For the following steps, execute these commands using connman
# For all the Wi-Fi modules:
modprobe moal mod_para=nxp/wifi_mod_para.conf
$connmanctl
connmanctl> enable wifi
connmanctl> scan wifi
connmanctl> services /* This should list of the network. For example
wifi_c0e4347f5053_4a62726f_managed_psk*/
connmanctl> agent on
connmanctl> connect wifi_c0e4347f5053_4a62726f_managed_psk /* Enter Passphrase
*/
Agent RequestInput wifi_c0e4347f5053_4a62726f_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory ]
Passphrase?
connmanctl> quit
Best Regards!
Chavira
Hi @pilotnite!
unfortunately we don´t have experience using that wifi module in our boards.
We recommend to use the wifi installed in the board.
Best Regards!
Chavira
Thank you for your feedback.
Can you help me with onboard wifi? What are defconfig and linux-firmware (if any) needed?
Hi @pilotnite!
You can refer to our Linux User Guide:
https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf
The wireless driver supports wpa_supplicant, which is a WEP/WPA/WPA2/WPA3 encryption authenticated tool.
• Wi-Fi driver: supports NXP 88W8987-based modules with SDIO interface, NXP 88W9098-based modules with PCIe and SDIO interfaces, NXP 88W8997-based modules with PCIe and SDIO interfaces, NXP IW416- based modules with SDIO interface, NXP 88W8801-based modules with SDIO interface, and NXP IW612- based modules with SDIO interface.
• Firmware
The NXP release package already includes all NXP, Wi-Fi/Bluetooth firmware. It requires to accept NXP license.
To run Wi-Fi, execute the following commands first and follow common commands below:
• For the following steps, execute these commands using connman
# For all the Wi-Fi modules:
modprobe moal mod_para=nxp/wifi_mod_para.conf
$connmanctl
connmanctl> enable wifi
connmanctl> scan wifi
connmanctl> services /* This should list of the network. For example
wifi_c0e4347f5053_4a62726f_managed_psk*/
connmanctl> agent on
connmanctl> connect wifi_c0e4347f5053_4a62726f_managed_psk /* Enter Passphrase
*/
Agent RequestInput wifi_c0e4347f5053_4a62726f_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory ]
Passphrase?
connmanctl> quit
Best Regards!
Chavira