platform_hardware_interfaces/wifi/1.5
Les Lee da9f5fe137 WIFI: Set MAC address for bridged interface
The MAC address of the bridged interface will be dynamically generated
by kernel when any bridged iface is changed. This means that the
bridged interface MAC address will be changed when we remove one of the
instances from the bridged interface (shutdown unused interface case).
The MAC change will break operation of bpf and it may cause the SAP
client to send wrong ns packets because the tethering module is
still using the old MAC in the ra packet.

Always set MAC address so the bridged interface can avoid MAC changing.

Bug: 191611764
Bug: 192315721
Test: Manual test with IPv6 tethering. Make sure client won't disconnect
because it doesn't get na response.
Test: Manual test in two scenarios: 1. MAC randomization 2. reset to factory MAC.

Change-Id: I854fc74b6532824b7d7b5a1aa4bc20a3cf9fd588
2021-07-02 12:05:57 +08:00
..
default WIFI: Set MAC address for bridged interface 2021-07-02 12:05:57 +08:00
vts WiFi: Modify OWNERS files 2021-06-15 10:20:29 -07:00
Android.bp Uprev IWifiEventCallback.hal to 1.5 2021-03-19 15:21:29 +08:00
IWifi.hal Uprev IWifiEventCallback.hal to 1.5 2021-03-19 15:21:29 +08:00
IWifiApIface.hal wifi: Add new HAL API: getBridgedInstances 2021-01-27 19:50:13 +08:00
IWifiChip.hal Wifi HAL Multi STA: Clarify behavior during single STA 2021-04-12 11:56:17 -07:00
IWifiEventCallback.hal Add API "startSubsystemRestart" and callback function 2021-03-20 09:29:46 +08:00
IWifiNanIface.hal wifi: Add STA + STA HIDL API's 2020-11-06 11:54:51 -08:00
IWifiNanIfaceEventCallback.hal wifi: Add STA + STA HIDL API's 2020-11-06 11:54:51 -08:00
IWifiStaIface.hal Notify scan-only mode to driver for power saving 2021-01-22 23:05:30 +00:00
types.hal Wifi: Add Radio ID in radiostats 2021-03-22 17:52:54 -07:00