All of lore.kernel.org
 help / color / mirror / Atom feed
* brcmfmac & DEL_INTERFACE
@ 2019-05-28 18:16 Denis Kenzior
  2019-05-28 20:27 ` Arend Van Spriel
  0 siblings, 1 reply; 3+ messages in thread
From: Denis Kenzior @ 2019-05-28 18:16 UTC (permalink / raw)
  To: Arend Van Spriel, linux-wireless

Hi Arend,

We noticed that brcmfmac doesn't support .del_virtual_intf for 
non-p2p/ap interface types.  Any chance this can be added?

We currently remove all wifi interfaces and re-create the needed ones 
with SOCKET_OWNER set, and it would be nice if we didn't need to treat 
brcmfmac specially.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: brcmfmac & DEL_INTERFACE
  2019-05-28 18:16 brcmfmac & DEL_INTERFACE Denis Kenzior
@ 2019-05-28 20:27 ` Arend Van Spriel
  2019-05-28 20:49   ` Denis Kenzior
  0 siblings, 1 reply; 3+ messages in thread
From: Arend Van Spriel @ 2019-05-28 20:27 UTC (permalink / raw)
  To: Denis Kenzior; +Cc: linux-wireless

On 5/28/2019 8:16 PM, Denis Kenzior wrote:
> Hi Arend,
> 
> We noticed that brcmfmac doesn't support .del_virtual_intf for 
> non-p2p/ap interface types.  Any chance this can be added?
> 
> We currently remove all wifi interfaces and re-create the needed ones 
> with SOCKET_OWNER set, and it would be nice if we didn't need to treat 
> brcmfmac specially.

This came up recently. During probe the driver creates a network 
interface that we refer to as primary interface. We consider this 
non-virtual and ownership is with the driver. My guess is that this 
concept comes from the WEXT era, where we did not have the ieee80211 phy 
objects to interact with the driver from user-space. I suppose you don't 
mind the creation of this interface and just want to allow removing it, 
right?

Regards,
Arend

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: brcmfmac & DEL_INTERFACE
  2019-05-28 20:27 ` Arend Van Spriel
@ 2019-05-28 20:49   ` Denis Kenzior
  0 siblings, 0 replies; 3+ messages in thread
From: Denis Kenzior @ 2019-05-28 20:49 UTC (permalink / raw)
  To: Arend Van Spriel; +Cc: linux-wireless

Hi Arend,

On 05/28/2019 03:27 PM, Arend Van Spriel wrote:
> On 5/28/2019 8:16 PM, Denis Kenzior wrote:
>> Hi Arend,
>>
>> We noticed that brcmfmac doesn't support .del_virtual_intf for 
>> non-p2p/ap interface types.  Any chance this can be added?
>>
>> We currently remove all wifi interfaces and re-create the needed ones 
>> with SOCKET_OWNER set, and it would be nice if we didn't need to treat 
>> brcmfmac specially.
> 
> This came up recently. During probe the driver creates a network 
> interface that we refer to as primary interface. We consider this 
> non-virtual and ownership is with the driver. My guess is that this 
> concept comes from the WEXT era, where we did not have the ieee80211 phy 
> objects to interact with the driver from user-space. I suppose you don't 
> mind the creation of this interface and just want to allow removing it, 
> right?

Correct.  If we can at least get the DEL_INTERFACE supported, that would 
solve our immediate use case.

I do think that the drivers should not be creating a netdev by default 
and should wait until userspace asks for it.  But that is a separate 
topic, with backwards compatibility concerns, so I'll leave it for the 
future :)

Regards,
-Denis

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-28 20:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 18:16 brcmfmac & DEL_INTERFACE Denis Kenzior
2019-05-28 20:27 ` Arend Van Spriel
2019-05-28 20:49   ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.