Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d4584597 authored by Roman Kiryanov's avatar Roman Kiryanov
Browse files

ANDROID: net: wireless: Add module_param(mac_prefix) to mac80211_hwsim



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, mac_prefix provides a way to specify
two octets in MAC address, i.e. '02:xx:xx:nn:nn:00'
to make it unique between emulator instances.

This is temporary solution and should be replaced
by HWSIM_CMD_NEW_RADIO with HWSIM_ATTR_PERM_ADDR,
the work is tracked in b/149778407.

Bug: 150388981
Bug: 149778407
Bug: 147493341
Test: check if wifi works on emulator
Signed-off-by: default avatarRoman Kiryanov <rkir@google.com>
Change-Id: Ibab0de6cb720d55c7be0b96e40ec70e221e04d7f
parent d6af8334
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment