Spherical representations for GL_2(Q_p)