Im not familiar with wpa_supplicant, but you can preface external commands
to execute in ifconfig.* with !
if it's running a recent net80211 stack, you'll need to create a vap sttion
interface first
eg, ifconfig wlan0 create wlandev rum0
then do stuff to wlan0, not rum0.
Adrian