wifi.c: update for mr1.1