WiFi Scanner to store network information

Hello,

My network is composed of several APs (same channel and same SSID).

How can I find and store information about the APs such as the MAC address and the Signal level in dBm?
I would like to use these info on a python script and then eventually transferred them to the ATMega.

opkg update
opkg install iwinfo
iwinfo wlan0 scan |grep -E 'Address:|ESSID:|Signal:'
Cell 01 - Address: D4:05:98:41:FC:20
          ESSID: "TG1672G22"
          Signal: -70 dBm  Quality: 40/70
...

@mridolfi,
besides the tools that SonnyYu recommends, you can also do more analysis with AWK, python, perl, ruby or lua - if you write the filter.

Jesse