Its not an OS problem.
Don't believe them when they tell you this - it only means that they don't know what the problem is, how it arises or how to solve it.
I'm on 10.6.8. When my late 2010 iMac was just over a year old, the intermittent WiFi disappearances became permanent. (I normally connect to the internet via Ethernet so it was not generally an issue before then). Naturally I had already tried all the usual: PRAM reset, PMU reset, new User account etc.
Despite being out of Apple's 1 year warranty, I invoked my consumer rights and Apple agreed to repair my iMac for free. A local approved repair company replaced the cable attaching the WiFi card to the motherboard and the WiFi came back to life.
That was back in late 2011. I'm still on the same OS. Yesterday (21st Jan 2014) I needed WiFi again and - Quel surprise! - "No WiFi Card Installed". Just over 2 years after the repair and with hardly any use, WiFi has disappeared again.
This is not software, I firmly believe this is poor quality hardware or assembly - much like the graphics freezing issue others are experiencing. Don't waste time, energy and money, don't accept it and don't let it lie. Let Apple repair your WiFi card at their cost.
This is what I shall be doing again.
EU Directive 1999/44/EC holds retailers liable for all "non-conformities" which manifest within two years from delivery. Note this is retailers, not manufacturers. If you did not purchase directly from Apple, pursue the company you bought it from, not Apple. If outside the EU, look into your local equivalent regulations.
Here in the UK the Sales of Goods Act (SOGA) even exceeds the requirements of EU Directive 1999/44/EC.
SOGA provides cover for up to six years in England and Wales (five in Scotland). The act requires three things of sellers: the goods must be as described; they must be of satisfactory quality (determined by description, price, durability, freedom from minor defects); and they must be fit for purpose. In the event of a breach within five (or six) years, the seller must offer repair, replacement or compensation.
Go to it!