[PATCH 1/1] STA: Add support for Virtual Interface creation/deletion

Jithu Jance jithujance
Fri Mar 27 02:41:58 PDT 2015


> Thanks, I applied this with number of changes.
> so I replaced the addition here by
tracking whether the vif was added (that "create" parameter on the add
command).
This looks better. Thanks Jouni!



*- JJ*



On Fri, Mar 27, 2015 at 2:51 AM, Jouni Malinen <j at w1.fi> wrote:

> On Fri, Mar 20, 2015 at 04:09:50PM +0530, Jithu Jance wrote:
> > Please find the modified patch below. Kindly see whether this is fine.
> >
> > Adding support for virtual interface creation and deletion
> > for interface_add and interface_remove commands respectively
> > (via optional argument)
>
> Thanks, I applied this with number of changes.
>
> > -      *
> <ifname>TAB<confname>TAB<driver>TAB<ctrl_interface>TAB<driver_param>
> > +      *
> <ifname>TAB[<create>TAB]<confname>TAB<driver>TAB<ctrl_interface>TAB<driver_param>
> >        * TAB<bridge_ifname>
>
> This does not work very well since "create" is a valid prefix for the
> existing confname parameter. I moved "TAB<create>" to the end of the
> command.
>
> > @@ -8564,13 +8588,35 @@ static int
> wpa_supplicant_global_iface_remove(struct wpa_global *global,
> > +      * <ifname>TAB[<delete>]
>
> And this does not look desired, so I replaced the addition here by
> tracking whether the vif was added (that "create" parameter on the add
> command).
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20150327/2837fbe1/attachment-0001.htm>



More information about the Hostap mailing list