Closes https://github.com/espressif/esp-idf/issues/11465
1. fix softap beacon memory leak issue. 2. fix esp wifi sta get ap info does not return connected ssid issue. 3. update inactive timer when recv ps-poll or success send data. 4. decrease test memory leak threshold.