I have to write a tool to get the encryption type out of a iwlist scan. I just can't seem to find whether or not there's a standard output. Googling it looks like people are posting slightly different formats, but I can't tell if they just copy/pasted wrong or what. Specifically, in Encryption key: On, is On/Off frist letter always capitalized? How about IE: IEEE 802.11i/WPA2 Version 1? Is the encryption always preceeded by IEEE 802.11i/?
I hope this is OK to ask here.