[Nexus 7 Android Development] fidoedidoe:
Hey AndDiSa, I'm beginning to think my initial observations were incorrect. After isolating one of my wifi access points (changing to channel #1, changed SSID to "Callisto" and security to WPA/WPA2, from WPA2) I was still getting repeated connect / disconnect (up to 5 attempts) and ultimately disabled. I have pasted what I think is one complete connection cycle to PasteBin where the supplicant state transition can be seen to disconnect -> scanning-> associating -> associated -> four way handshake -> group handshake -> connected -> disconnected. A subset of these last few events is shown below (more in pastebin). Could this something to do with wifi encryption, as when my access point security is set to "none" rather than WPA/WPA2 there are no connection issues at all.

06-25 10:24:43.082 518 571 D SupplicantStateTracker: HandshakeState{ when=0 what=147462 arg1=2867 obj= SSID: Callisto BSSID: 30:d3:2d:1d:eb:d4 nid: 4 state: GROUP_HANDSHAKE target=com.android.internal.util.StateMachine$SmHandler }
06-25 10:24:43.083 518 5094 D WifiMonitor: Event [IFNAME=wlan0 WPA: Key negotiation completed with 30:d3:2d:1d:eb:d4 [PTK=CCMP GTK=CCMP]]
06-25 10:24:43.084 518 5094 D WifiMonitor: wlan0 cnt=2868 dispatchEvent: WPA: Key negotiation completed with 30:d3:2d:1d:eb:d4 [PTK=CCMP GTK=CCMP]
06-25 10:24:43.084 518 5094 W WifiMonitor: couldn't identify event type - WPA: Key negotiation completed with 30:d3:2d:1d:eb:d4 [PTK=CCMP GTK=CCMP]
06-25 10:24:43.084 518 5094 D WifiMonitor: Event [IFNAME=wlan0 CTRL-EVENT-CONNECTED - Connection to 30:d3:2d:1d:eb:d4 completed [id=4 id_str=%7B%22creatorUid%22%3A%221000%22%2C%22configKey%22%3A%22%5C%22Callisto%5C%22WPA_PSK%22%7D]]
06-25 10:24:43.085 518 5094 D WifiMonitor: wlan0 cnt=2869 dispatchEvent: CTRL-EVENT-CONNECTED - Connection to 30:d3:2d:1d:eb:d4 completed [id=4 id_str=%7B%22creatorUid%22%3A%221000%22%2C%22configKey%22%3A%22%5C%22Callisto%5C%22WPA_PSK%22%7D]
06-25 10:24:43.085 518 5094 D WifiMonitor: handleEvent 1 Connection to 30:d3:2d:1d:eb:d4 completed [id=4 id_str=%7B%22creatorUid%22%3A%221000%22%2C%22configKey%22%3A%22%5C%22Callisto%5C%22WPA_PSK%22%7D]
06-25 10:24:43.086 518 5094 D WifiMonitor: Event [IFNAME=wlan0 CTRL-EVENT-STATE-CHANGE id=4 state=9 BSSID=30:d3:2d:1d:eb:d4 SSID=Callisto]
06-25 10:24:43.086 518 5094 D WifiMonitor: wlan0 cnt=2870 dispatchEvent: CTRL-EVENT-STATE-CHANGE id=4 state=9 BSSID=30:d3:2d:1d:eb:d4 SSID=Callisto
06-25 10:24:43.088 5092 5092 W wpa_supplicant: wlan0: WPA: Failed to configure IGTK to the driver
06-25 10:24:43.088 5092 5092 I wpa_supplicant: wlan0: RSN: Failed to configure IGTK
06-25 10:24:43.089 518 571 D WifiStateMachine: DisconnectedState !NETWORK_CONNECTION_EVENT rt=2770773/2770768 4 0 null nid=-1 last="Callisto"WPA_PSK
06-25 10:24:43.089 518 571 D WifiStateMachine: ConnectModeState !NETWORK_CONNECTION_EVENT rt=2770773/2770768 4 0 null nid=-1 last="Callisto"WPA_PSK
06-25 10:24:43.089 518 571 D WifiStateMachine: Network connection established
06-25 10:24:43.089 518 5094 D WifiMonitor: Event [IFNAME=wlan0 WPA: Failed to configure IGTK to the driver]
06-25 10:24:43.090 518 5094 D WifiMonitor: wlan0 cnt=2871 dispatchEvent: WPA: Failed to configure IGTK to the driver
06-25 10:24:43.090 518 5094 W WifiMonitor: couldn't identify event type - WPA: Failed to configure IGTK to the driver
06-25 10:24:43.090 518 5094 D WifiMonitor: Event [IFNAME=wlan0 RSN: Failed to configure IGTK]
06-25 10:24:43.091 518 5094 D WifiMonitor: wlan0 cnt=2872 dispatchEvent: RSN: Failed to configure IGTK
06-25 10:24:43.091 518 5094 W WifiMonitor: couldn't identify event type - RSN: Failed to configure IGTK
06-25 10:24:43.097 5092 5092 I wpa_supplicant: wlan0: CTRL-EVENT-DISCONNECTED bssid=30:d3:2d:1d:eb:d4 reason=1 locally_generated=1

Off topic - I've just smashed my tablet screen and broken the digitiser (dropped my metal cased laptop on it!). Further troubleshooting is going to be impossible until I find replacement screen / digitiser :( . Android development? Somethings are just destined not to be !

EDIT: Does this topic describe the issue/possible resolve: https://kwagjj.wordpress.com/2017/08/08/failed-to-configure-igtk-error-fixes-in-aosp/. In my mind it's worth a try, I'll make the necessary change to external/wpa_supplicant_8/wpa_supplicant/wpa_supplicant_template.conf and will recompile. I'll test once I've got a working tablet.