Add mode to control the supplicant interface

Change-Id: I1b968a49dac395db0c8a4f46247bf255d3943399