System and method for a wireless mesh network