The frequencies are the same. It doesn't matter whether the generated wave is of the longitudinal or transverse variety.
Work Step by Step
All waves are generated by a source that is oscillating. The frequency of the wave is always the same as the frequency of the vibrating source.