Vint Cerf has been working with NASA for over a decade on a design for interplanetary internet. I work at Google and he shared a story about how the earlier rovers had radios that were overheating at higher bandwidth transmissions. A smart engineer noted that they had an X band radio on the rover and still had one in an orbiter around Mars. The rover could transmit at 128mbps over xband to the orbitter, which in turn had large antennas to transmit back to earth at 128mbps. I assume Perseverance supports more bandwidth but it may be limited by whatever equipment we have in orbit around Mars.
https://www.quantamagazine.org/vint-cerfs-plan-for-building-...