Hi,
i have a question: "There is a maximum number of virtual network interfaces in Android?"
Because if i use IW (porting by imlinhao with libnl3) or wpa_supplicant (with wpa_cli) i can create only one network interface.
If i want to create two virtual network interfaces with:
Where is the problem?
PS: i can't use ip, ifconfig and so on, because the developer of wpa_supplciant said to me that i can't use this softwares for my purposes. It's complicated to explain why, but trust me ;)
In this post i ask only why if i use iw or wpa_supplicant i can't create 2 virtual network interfaces.
Thank u
UPDATE:
I'm sorry, i forgot to say that in wpa_supplicant.conf and p2p_supplicant.conf i'm using "driver_param=use_p2p_group_interface=1" to add more virtual network interfaces. It's important to bypass the driver limitations like: http://wireless.kernel.org/en/developers/p2p/howto where is explained that: "If the driver advertises support, wpa_supplicant will automatically create secondary P2P interfaces. To force this without the driver advertising support, you can add the following to the config file "driver_param=use_p2p_group_interface=1" ".
i have a question: "There is a maximum number of virtual network interfaces in Android?"
Because if i use IW (porting by imlinhao with libnl3) or wpa_supplicant (with wpa_cli) i can create only one network interface.
If i want to create two virtual network interfaces with:
- IW i get => command failed: Out of memory (-12)
- wpa_supplicant+wpa_cli i get => FAIL and <5>P2P: Failed to add group interface
Where is the problem?
PS: i can't use ip, ifconfig and so on, because the developer of wpa_supplciant said to me that i can't use this softwares for my purposes. It's complicated to explain why, but trust me ;)
In this post i ask only why if i use iw or wpa_supplicant i can't create 2 virtual network interfaces.
Thank u
UPDATE:
I'm sorry, i forgot to say that in wpa_supplicant.conf and p2p_supplicant.conf i'm using "driver_param=use_p2p_group_interface=1" to add more virtual network interfaces. It's important to bypass the driver limitations like: http://wireless.kernel.org/en/developers/p2p/howto where is explained that: "If the driver advertises support, wpa_supplicant will automatically create secondary P2P interfaces. To force this without the driver advertising support, you can add the following to the config file "driver_param=use_p2p_group_interface=1" ".