Achieving High Goodput Performance in Mars Missions through Application Layer Coding and Transmission Power Trading