Viper was the senior commander at Top Gun, which would actually be a Rear Admiral (or equivalent level position), but he was a commander in this movie. Still not bad after flying in Vietnam 15 years earlier. His progression is somewhat normal. So, Maverick is in that same position with twice the amount of time in service?