Update cfg80211 support to work with kernel up to 3.13.  Also enable cfg80211 for AP mode