Plasma waves near the magnetopause