Let $ M $ be a finite group of order $2^{a+1} $ and let $ M $ have a normal subgroup $ R $ such that $|M: R|=2 $. Also we know that $ R $ is an elementary abelian subgroup of $ M $.
For example $ D_8 $ is an example for it. Is it true that for other cases $ M $ is abelian or what information is available for $ M $?
Thanks for your help