]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Adding option to manage device drivers creating random MAC addresses
authorIrcama <amacri@tiscali.it>
Sun, 24 Jan 2021 15:33:58 +0000 (16:33 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 6 Feb 2021 11:40:29 +0000 (13:40 +0200)
commite79febb3f5b516f4027fba0a8a35be359c38cf9f
tree0f1b511d99e4f9d698ec7f0c6f4d5d03b58710ae
parenta579642bc3c92c98daabadb5bb36c2da26ab893f
P2P: Adding option to manage device drivers creating random MAC addresses

Add option 2 to the p2p_device_random_mac_addr configuration option to
support device drivers which use by default random MAC adresses when
creating a new P2P Device interface (for instance, the BCM2711 80211
wireless device driver included in Raspberry Pi 4 Model B). In such
case, this option allows to create the P2P Device interface correctly
when using P2P permanent groups, enabling wpa_supplicant to reuse the
same MAC address when re-invoking a P2P permanent group.

update_config=1 is required.

Signed-off-by: Ircama <amacri@tiscali.it>
src/drivers/driver_nl80211.c
wpa_supplicant/config.h
wpa_supplicant/p2p_supplicant.c