I would say the biggest and most important chunks of both came from Nortel. Vast majority of what we consider as 4G and 5G was developed at Nortel and during the collapse was scooped up by Ericson/Nokia and Huawei (though the latter mostly just hired ex-Nortel researchers and engineers).