Hi Roman, > By default mac80211_hwsim creates N radios with > MAC addresses like '02:00:00:nn:nn:00' where nnnn > is incremented. > > We (Android Studio Emulator) need a way to have unique > MAC addresses. Currently in mac80211_hwsim this can > be done by sending HWSIM_CMD_DEL_RADIO and > HWSIM_CMD_NEW_RADIO commands. > > The 'mac_prefix' parameter provides an easier way to > make MAC address unique by specifying two octets in > MAC address, i.e. '02:pp:pp:nn:nn:00'. since we have an API for creating radios, wouldn’t it be better to add a kernel option to allow setting the default number of radios on module load to 0 and then let userspace create them on demand. I for example always set my testing kernel to load 0 radios. Regards Marcel