ScanResult Capability

I want to analyze the ScanResult feature string. However, ther names are grouped in four square brackets, for example.

[WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP-CCMP][WPS][ESS] 

Is there some kind of documentation describing which bracket refers to that, given that some names may appear in different brackets. It would be great if there was a list of all the possibilities.

+7
source share
3 answers

Last year there was a topic about this issue. You can find help https://stackoverflow.com> . In fact, there is little documentation on Android about the capabilities of WiFi access points. Even in the official Javadoc, regarding the signal level, the level attribute is only documented with

Detected signal level in dBm. At least these are the units used by the TI driver .

This seems to be very volatile information about WiFi processing in Android.

+3
source

This line is generated by wpa_supplicant. Unfortunately, there is little documentation on this subject, but at least we can look at the exact code! To create the line that we see in Android, there are three main functions:

  • wpa_supplicant_ctrl_iface_scan_result : this requires the argument struct wpa_bss , which contains information about one network and converts it to a string. You can see tags such as [ESS] and WPA2 . It also (indirectly) calls the following two functions. Thus, this feature adds overall network capabilities.
  • wpa_supplicant_ie_txt : Add [PSK] and / or [EAP] tags. In other words, the type of handshake is used.
  • wpa_write_ciphers : adds the type of encryption used to WPA1 or WPA2. So TKIP or CCMP . It is called only if the network is WPA1 or WPA2.

After reading these three functions, you will know exactly what parameters in the line you can expect. You can always confirm your understanding by creating your own network and confirming the line corresponding to your own network!

+6
source

I found this thread:

How to connect to a WiFi network with an unknown encryption algorithm in Android?

the questioner seems to know what this means:

I suggested, based on some research, that these are functions separated by brackets, and the first element for each of them is a split line showing:

[Authentication Algorithm - Key Management Algorithm - Password Encryption]

+1
source

All Articles