Ralf Schumacher will continue to race for Mercedes-Benz in the 2012 DTM season after securing an extension to his deal.