$\newcommand\P{\mathbb P} \newcommand\R{\mathbb R}$Is there an algorithm to parameterically determine all the maximal linear subspaces of a regular quadric hypersurface in some projective real space? I know how to compute the dimension of this maximal subspace, but I'm not sure how to find ALL subspaces with maximal dimensions. For a real one-sheeted hyperboloid in $\P^3(\R)$ I think I can easily get the family of lines parametrically (parameterized say by the points on the hyperboloid). But what about higher dimensional quadrics? For instance if I have a quadric defined by
$$x_0^2+x_1^2+x_2^2 - x_3^2 - x_4^2 - x_5^2 $$
in $\P^5(\R)$. What are all the maximal linear subspaces. I know the obvious ones e.g. the intersection of hyperplanes $x_0=x_3, x_1=x_4$ and $x_2=x_5$ will give me maximal dimensional linear subspace ($\dim= 2$) and permutations of these i.e. $x_0=y_0, x_1=y_1, x_2=y_2$ where $(y_0,y_1,y_2)$ is any permutation of $(x_3,x_4,x_5)$. But obviously there are more linear subspace with maximal dimension. Could they all be obtained via some orthogonal transformation of the ones I just obtained?. Can I already write these transformations parameterized by say the points in the quadric? Through any point $P$ of the quadric is it guaranteed that I can find a maximal linear space that passes it and are they finitely many? This was just an example, what if I increase the dimension (as long as the quadric remains regular)?