The Hecke eigenvalue of an inert unitary spherical function
Let $L$ be a complete discretely valued field with additive valuation $\operatorname{ord}$, let $\varpi\in L$ have valuation one, and let $\sigma:L\to L$ be a valuation-preserving involution fixing $\varpi$. Assume there is $x\in\mathcal O_L$ with $\operatorname{ord}(\sigma(x)-x)=0$, and the residue field has cardinality $q^2$, where $q\ge2$ is an integer. Let $2m\le n\le2m+1$, put $J_{ij}=1$ if $i+j=n-1$ and $J_{ij}=0$ otherwise, and set $$G=\{g\in\operatorname{GL}_n(L):\sigma(g)^tJg=J\},\qquad K=G\cap\operatorname{GL}_n(\mathcal O_L).$$ Let $U$ be the upper unitriangular subgroup of $G$. Choose $\alpha_0,\ldots,\alpha_{m-1}\in\mathbb C^\times$. For upper triangular $b\in G$, write $$\chi_\alpha(b)=\prod_{i=0}^{m-1}\alpha_i^{\operatorname{ord}(b_{ii})}q^{-\operatorname{ord}(b_{ii})(n-1-2i)}.$$ Suppose $\phi:G\to\mathbb C$ satisfies $\phi(bgk)=\chi_\alpha(b)\phi(g)$ for every such $b$, $g\in G$, and $k\in K$. For a $K$-bi-invariant function $h:G\to\mathbb C$ supported on finitely many double cosets, define $$(h\cdot\phi)(g)=\sum_{xK\in G/K}h(x)\phi(gx).$$ Then $h\cdot\phi=S_h(\alpha)\phi$, with $S_h$ defined below.
For $a\in\mathbb Z^m$, let $t(a)$ have diagonal entries $\varpi^{a_0},\ldots,\varpi^{a_{m-1}}$, followed by a central $1$ when $n$ is odd, followed by $\varpi^{-a_{m-1}},\ldots,\varpi^{-a_0}$. The normalization is $$S_h(\alpha)=\sum_{a\in\mathbb Z^m}\left(\prod_{i=0}^{m-1}\alpha_i^{a_i}q^{-a_i(n-1-2i)}\right)\sum_{\substack{xK\in G/K\\x\in t(a)UK}}h(x).$$ The sums use fixed coset representatives and the finitely supported sum convention, whose value is zero when the summands have infinite nonzero support.