Re: [PATCH] p2p: Set MAC address of P2P device interface via vendor command

Johannes Berg <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
On Mon, 2020-04-06 at 11:21 -0700, Stephen Chu wrote:
> From 7b0357dd90f9b5974779743078b3b482c98dc18b Mon Sep 17 00:00:00 2001
> From: Stephen Chu <[email protected]>
> Date: Mon, 6 Apr 2020 11:13:49 -0700
> Subject: [PATCH] p2p: Set MAC address of P2P device interface via vendor
>  command
> 
> Supplicant uses standard linux IOCTL for setting the mac addr.  However,
> P2P device interface is a netless interface and hence this case needs
> additional handling.  The supplicant could pass down the mac address to be
> configured via vendor command to the wireless driver.  From this context,
> the wireless driver can update the p2p discovery address via iovar.

If the driver already supports nl80211, why doesn't it support a
P2P_DEVICE wdev, where the address could be set?

Or is it that we can only set it when *creating* that, and somehow the
driver has it pre-created?

johannes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.