refactor currentWifiInfo and fakeCurrentWifiInfo