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

Jouni Malinen j
Thu Mar 26 14:21:15 PDT 2015


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



More information about the Hostap mailing list