parsing of どうしたっての？


Context: an anime (Sword Art Online). A girl wakes up to find his travelling
companion digging a hole in the snow-covered terrain. She proceeds to ask,
どうしたっての？ The translation reads "What are you doing"? I'd like some help to
make sense of all the components.

I am familiar with どうした meaning "what's wrong", with っての as a shortening of
と言うの, with -たって standing for -ても and with の used as a feminine version of んだ /
んです. I don't seem to be able to piece it all together though...




Practically you can think of どうしたというの/どうしたっていうの as a variant of どうしたの= _what
is the matter/what happened_.

Looking at a definition of
[という](https://dictionary.goo.ne.jp/word/%E3%81%A8%E8%A8%80%E3%81%86/#jn-154743),
it can emphasize the preceding word, and どうしたっての has more questioning tone
than どうしたの.

> ２ 「と」の受ける事柄を取り立てて強調する意を表す。




Practically you can think of どうしたというの/どうしたっていうの as a variant of どうしたの= _what
is the matter/what happened_.

Looking at a definition of
[という](https://dictionary.goo.ne.jp/word/%E3%81%A8%E8%A8%80%E3%81%86/#jn-154743),
it can emphasize the preceding word, and どうしたっての has more questioning tone
than どうしたの.

> ２ 「と」の受ける事柄を取り立てて強調する意を表す。

