Add interface and network handling to supplicant test program