Enable MediaTek USB Wifi Dongle

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Enable MediaTek USB Wifi Dongle

跳至解决方案
1,007 次查看
pilotnite
Contributor III

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!

标记 (1)
0 项奖励
回复
1 解答
962 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @pilotnite!

You can refer to our Linux User Guide:

 

https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...

 

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

在原帖中查看解决方案

0 项奖励
回复
3 回复数
993 次查看
Chavira
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
991 次查看
pilotnite
Contributor III

@Chavira 

Thank you for your feedback.

Can you help me with onboard wifi? What are defconfig and linux-firmware (if any) needed? 

 

0 项奖励
回复
963 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @pilotnite!

You can refer to our Linux User Guide:

 

https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...

 

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

0 项奖励
回复