added WEP detection support