Distribution of intelligence and radio link configurability in wireless video-based surveillance networks