Let F be a totally real field in which p is unramified and B be a quaternion algebra over F which splits at at most one infinite place. Let r : Gal(F /F ) → GL 2 (Fp) be a modular Galois representation which satisfies the Taylor-Wiles hypotheses. Assume that for some fixed place v|p, B ramifies at v and Fv is isomorphic to Qp and r is generic at v. We prove that the admissible smooth representations of the quaternion algebra over Qp coming from mod p cohomology of Shimura varieties associated to B have Gelfand-Kirillov dimension 1. As an application we prove that the degree two Scholze's functor (which is defined in [Sch18]) vanishes on generic supersingular representations of GL 2 (Qp). We also prove some finer structure theorem about the image of Scholze's functor in the reducible case. G (O) (resp. Mod adm G (O)) denote the full subcategory of locally admissible (resp. admissible) representations. If ζ : Z G → O × is a continuous character of the center of G, then we denote by Mod sm G,ζ (O) (resp. Mod l.adm G,ζ (O), resp. Mod adm G,ζ (O)) the full subcategory of Mod sm G (O) consisting of smooth (resp. locally admissible, resp. admissible) representations on which Z G acts by the character ζ. The Pontryagin duality M → M ∨ := Hom cont O (M, E/O) induces an anti-equivalence between the category of discrete O-modules and the category of compact O-modules. Under this duality the category Mod sm G (O) is anti-equivalent to the category of profinite augmented G-representations over O which is denoted by Mod pro G (O). Let C G (O) (resp. C G,ζ (O)) denote the full subcategory of Mod pro G (O) which is anti-equivalent to Mod l.adm G (O) (resp. Mod l.adm G,ζ (O)) under the Pontryagin duality. Note that for an object in C G,ζ (O) the center is acting by ζ −1 . If M is a torsion free linear-topological O-module, M d denotes its Schikhof dual Hom cont O (M, O). The functor M → M d induces an anti-equivalence of categories between the category of pseudo-compact Otorsion free linear-topological O-modules and the category of ̟-adically complete and separated O-torsion free O-modules.