Maximizing the Utility Without the Knowledge of the Link Capacity in a Wireless Sensor Network