Premier Mark McGowan has redoubled his defence of state government contracts with a controversial Chinese telecommunications company.

In Parliament on Thursday, he mocked the opposition for questioning the use of Huawei technology in the state's public transport system and accused them of throwing stones from inside a glass house.

The state government has hit back at the opposition after persistent questions in State Parliament over the use of controversial Chinese telco Huawei in WA public transport contracts. Credit:Nathan Hondros

The company, which has been banned from the NBN and Australia's 5G network, will build a $206 million rail data network – including 80 mobile towers – along Perth's passenger train corridors and has supplied hardware for Transperth's free public WiFi trial.

Mr McGowan said ministers in the previous government had used Huawei mobile phones and had signed a telecommunications contract that permitted Telstra, Vodafone and Optus to supply Huawei handsets and wireless modems.