Mesosphere dynamics with gravity wave forcing: Part II. Planetary waves