Parse gsm provider name

This is what I had in mind by minimizing the differences with upstream.