[MACHINE][WIFI] Add AW-CM276NF support
Add AzureWave AW-CM276NF firmware to Mediatek-based boards.
We are adding the default SDIO-SDIO firmware from the recipe and overriding it by SDIO-UART version.
BT bringup and test:
root@seco-genio700-e58:~# hciattach /dev/ttyS2 any 115200 flow
[ 23.215304] Bluetooth: HCI UART driver ver 2.3
[ 23.219775] Bluetooth: HCI UART protocol H4 registered
[ 23.225094] Bluetooth: HCI UART protocol LL registered
[ 23.230869] Bluetooth: HCI UART protocol Broadcom registered
[ 23.236548] Bluetooth: HCI UART protocol QCA registered
[ 23.241855] Bluetooth: HCI UART protocol Marvell registered
Device setup complete
root@seco-genio700-e58:~# rfkill unblock all
root@seco-genio700-e58:~# hciconfig hci1 up
root@seco-genio700-e58:~# bluetoothctl
Agent registered
[CHG] Controller E8:FB:1C:61:1A:14 Pairable: yes
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# scan on
Discovery started
[CHG] Controller E8:FB:1C:61:1A:14 Discovering: yes
[NEW] Device 47:EE:F5:A5:AA:5F 47-EE-F5-A5-AA-5F
[NEW] Device 4A:7C:53:D6:65:1E 4A-7C-53-D6-65-1E
[NEW] Device 75:0D:BA:E3:87:9F 75-0D-BA-E3-87-9F
[NEW] Device 56:D7:45:0E:7D:05 56-D7-45-0E-7D-05
[NEW] Device 4E:36:8A:A8:0A:2B 4E-36-8A-A8-0A-2B
[NEW] Device 03:53:ED:AF:F1:88 03-53-ED-AF-F1-88
[NEW] Device 4D:9B:17:17:74:4F Jabra Evolve2 65
[CHG] Device 4E:36:8A:A8:0A:2B RSSI: -79
[NEW] Device 76:18:36:BA:5E:61 Jabra Evolve2 65
[CHG] Device 47:EE:F5:A5:AA:5F RSSI: -85
[bluetooth]# quit
WiFi bringup and test:
root@seco-genio700-e58:~# rfkill unblock all
root@seco-genio700-e58:~# wpa_passphrase "*******" "*******" > /etc/wpa_supplicant.conf
root@seco-genio700-e58:~# ip link set mlan0 up
root@seco-genio700-e58:~# wpa_supplicant -B -i mlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
nl80211: kernel reports: Match already configured
root@seco-genio700-e58:~# [ 125.146317] mwifiex_sdio mmc2:0001:1: info: trying to associate to bssid a8:9d:21:af:5c:30
[ 125.174862] mwifiex_sdio mmc2:0001:1: event: unknown event id: 0x95
[ 125.185938] mwifiex_sdio mmc2:0001:1: info: associated to bssid a8:9d:21:af:5c:30 successfully
[ 125.258086] IPv6: ADDRCONF(NETDEV_CHANGE): mlan0: link becomes ready
root@seco-genio700-e58:~# udhcpc -i mlan0
root@seco-genio700-e58:~# echo "nameserver 8.8.8.8" > /etc/resolv.conf
root@seco-genio700-e58:~# ping -I mlan0 google.com
PING google.com (142.250.186.110): 56 data bytes
64 bytes from 142.250.186.110: seq=0 ttl=118 time=23.926 ms
64 bytes from 142.250.186.110: seq=1 ttl=118 time=39.567 ms
^C
--- google.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 23.926/31.746/39.567 ms
Edited by Oleksii Kutuzov