Performance Improvement for Wireless Mesh Networks with Renewable Energy Source