[PATCH] dbus: Enforce unique address for AP and pass in MAC address in CreateInterface method

Jouni Malinen j at w1.fi
Sat Dec 17 02:30:46 PST 2022


On Tue, Dec 06, 2022 at 12:37:04AM +0000, Jintao Lin wrote:
> CreateInterface can be used to create an AP interface. However Some WiFi
> SoC does not ensure unique MAC address for the new virtual interface.
> Enforce unique address is used for the created AP interface.
> 
> chromeOS uses random generated MAC address for AP interface so that the
> device could remain anonymous and untrackable. Add an address parameter
> for CreateInterface method to pass in OS managed MAC address.
> 
> This change also fix one potential memory leak in CreateInterface
> method.

Thanks, applied as three independent commits to make the changes easier
to understand.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list