nl80211: rework hostapd and wpa_supplicant wpa suite parsing