8.14.13 Setting Wi-Fi Mac Address

The ATWILC has a nonvolatile memory that is used to keep a unique mac address for each of its Wi-Fi interfaces.

If the ATWILC does not have MAC address in its nonvolatile memory, the host must assign a unique MAC address when the interface is initialized.

Use the following Linux commands to set the MAC address:
ifconfig wlan0 up
ifconfig wlan0 hw ether fa:f0:05:f6:53:88

(or)

If iproute2 utilities are available, use the following commands:
ifconfig wlan0 up
ip link set wlan0 address fa:f0:05:f6:53:88

The user can also use the same commands for p2p0 interface.