I used 'mkeep_alive' option to force WiFi send keepalives packets while sleeping (I provide TCP packet which I build manually). I also found tcp keepalive option for WiFi chip (using 'tcpka_conn_add' and 'tcpka_conn_enable' options), but I got 'UNSUPPORTED' error.
The problem with 'mkeep_alive' is that it just sends data without handling connection breaks. In my case I want WiFi chip behave like usual TCP connection, i.e. send keep alive probes periodically, and if chip does not receive N answers in a row - report error. Is there any mechanism to achieve such behavior?
Unfortunately CYW43012 is not supported in the broad market community. Kindly create a case on this issue. Go to www.cypress.com and click on Design Support->Create a support case.