-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
Firstly the release version of the driver (same as the one in this repo) doesn't seem to work properly on our system, so I've taken the version from linux4wilc/linux-at91 but it doesn't have an issues section. So I'm reporting the issue here since I expect this version will be the same.
Using that driver against 4.9.30 of the kernel (commit hash of a487a26a1f19), the MAC address does not report correctly. The first byte F8 on the WILC1000 modules is always changed to FA.
i.e. F8:F0:05:xx:yy:zz becomes FA:F0:05:xx:yy:zz
example log and ifconfig:
Oct 20 00:00:42 sama5d4-ams-sm01 kernel: wilc1000_sdio mmc1:0001:1: Driver Initializing success
Oct 20 00:00:42 sama5d4-ams-sm01 kernel: wilc1000_sdio mmc1:0001:1: chipid (001003a0)
Oct 20 00:00:42 sama5d4-ams-sm01 kernel: wilc1000_sdio mmc1:0001:1: has_thrpt_enh3 = 1...
Oct 20 00:00:42 sama5d4-ams-sm01 kernel: wilc1000_sdio mmc1:0001:1 wlan0: Detect chip WILC1000
Oct 20 00:00:42 sama5d4-ams-sm01 kernel: wilc1000_sdio mmc1:0001:1 wlan0: loading firmware wilc1000_wifi_firmware.bin
Oct 20 00:00:42 sama5d4-ams-sm01 kernel: wilc1000_sdio mmc1:0001:1 wlan0: WILC Firmware Ver = WILC_WIFI_FW_REL_15_00_RC4 Build: 8837
Oct 20 00:00:42 sama5d4-ams-sm01 kernel: wilc1000_sdio mmc1:0001:1 wlan0: his_state = HOST_IF_CONNECTED
Oct 20 00:00:42 sama5d4-ams-sm01 kernel: wilc1000_sdio mmc1:0001:1 wlan0: EAPOL transmitted
Oct 20 00:00:42 sama5d4-ams-sm01 kernel: wilc1000_sdio mmc1:0001:1 wlan0: EAPOL transmitted
root@sama5d4-ams-sm01:~# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr fa:f0:05:xx:yy:zz
inet addr:10.1.2.127 Bcast:10.1.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4676 (4.5 KiB) TX bytes:2138 (2.0 KiB)
With the old driver in the main linux-at91 repo, the MAC address is read correctly from the device.
Metadata
Metadata
Assignees
Labels
No labels