esp_wifi_internal_reg_netstack_buf_cb() function
register the net stack buffer reference increasing and free callback
Arguments
ref
net stack buffer reference callback
free
net stack buffer free callback
Return value
- ESP_OK : Successfully transmit the buffer to wifi driver - others : failed to register the callback