Just be guided by when a gentleman would raise his hat (if such was still the fashion).
For those not strictly eligible to receive a salute, to do so is a matter of common courtesy.
.......... and don't forget, even a Field Marshal salutes a VC or GC winner!
Old Duffer