A distributed approach to wireless system simulation