WI_DELAY
for (i = WI_TIMEOUT; i--; DELAY(WI_DELAY)) {
for (; tries--; DELAY(WI_DELAY * 1000)) {
#define WI_TIMEOUT (500000/WI_DELAY) /* 500ms */