brcmfmac & DEL_INTERFACE
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
Quoted 5 lines · Denis Kenzior
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_OWNERset, 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
Hi Arend,
Quoted 8 lines · Arend Van Spriel
Quoted 5 lines · Denis Kenzior
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_OWNERset, 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