I worked for 1 year as an avionics engineer
Wow, cool !!! What can be better than embedded system development in this world ?
Why did you go to maintenance ?
As I know, experience is valid during the work in part 145 organisation only. Even shops can't give maintenance experience.
But these two years (or one ?) in MRO are eligible definitely. If you have higher education in such insane occupation you will have to have 3 years of experience total... to get B license (if we are talking about exp reqs only, not about part-66 modules)
P.S. oops, its not about EASA, right ?