Home
last modified time | relevance | path

Searched refs:sbuf (Results 1 – 1 of 1) sorted by relevance

/hal_nxp-latest/mcux/middleware/wifi_nxp/firmware_dnld/
Dfirmware_dnld.c77 t_u8 *sbuf = (t_u8 *)OSA_MemoryAllocate(SBUF_SIZE); in conn_download_decomp_fw() local
79 t_u8 *sbuf = (t_u8 *)OSA_MemoryPoolAllocate(buf_2048_MemoryPool); in conn_download_decomp_fw() local
81 if (sbuf == NULL) in conn_download_decomp_fw()
87 xz_uncompress_init(&stream, sbuf, loutbuf); in conn_download_decomp_fw()
118 OSA_MemoryFree(sbuf); in conn_download_decomp_fw()
120 OSA_MemoryPoolFree(buf_2048_MemoryPool, sbuf); in conn_download_decomp_fw()
132 (void)memcpy((void *)sbuf, (const void *)(wlanfw_xz + offset), readlen); in conn_download_decomp_fw()
136 ret = xz_uncompress_stream(&stream, sbuf, readlen, loutbuf, txlen, &retlen); in conn_download_decomp_fw()
169 OSA_MemoryFree(sbuf); in conn_download_decomp_fw()
171 OSA_MemoryPoolFree(buf_2048_MemoryPool, sbuf); in conn_download_decomp_fw()