Using one image to support different WiFi modules
From ESS-WIKI
Every Wifi device has VID and PID. VID is the supplier identification number. PID is the product identification code. We can read PID and vid in the file system with the following instructions:
VID
cat /sys/bus/sdio/devices/mmc0\:0001\:1/vender
PID
cat /sys/bus/sdio/devices/mmc0\:0001\:1/device
We use PID in RB02 to distinguish different WiFi modules, and then load the corresponding driver