Cisco Aironet 1200 AP1231G WPA-PSK clients do not connect

For the esp-link project I tried to set my standard WLAN for the esp-link ESP-8266 ESP-01 modul. Unfortunately the ESP-8266 was unable to connect. My WLAN uses simple WPA PSK and TKIP and I did not have that connection issues before. The Cisco AP1231 access points work reliable.

After some digging and asking around with no solution I added one more access point (a TP-Link WA500G) and configured a wireless network with WPA2 PSK and AES. The ESP-8266 immediately was able to connect. This was OK for some time but why add an additional AP only for one client?

A friend then lead me to take a look at the Cisco event log and I saw many “Packet to client 18fe.34a6.ed4e reached max retries, removing the client” entries

 

Packet to client 10d3.8af5.16ff reached max retries, removing the client 

when the ESP-8266 tried to connect to the Cisco wireless network. After some research the tip found was to increase the packet retries parameter on the Cisco AP:

AP1#enable
 AP1#conf t
 Enter configuration commands, one per line.  End with CNTL/Z.
 AP1(config)#interface dot11radio 0
 AP1(config-if)#packet retries 128 drop-packet
 ...
AP1#copy running-config startup-config

The Cisco radio did a reset and then I tried to connect the ESP-8266 again. This time the ESP connected successfully.

Another issue solved.