Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecb72345 authored by Sarada Prasanna Garnayak's avatar Sarada Prasanna Garnayak Committed by Gerrit - the friendly Code Review server
Browse files

net: cnss_prealloc: add pre alloc support for socket buffer



The cnss wlan module which has interfaced with high latency
bus(e.g. SDIO) needs physical contiguous memory more than
one page for its socket buffer initialization. If the system
memory has high fragmented it’s not possible to get this much
huge physically contiguous memory through dynamic memory
allocation and will create the wlan driver load, socket descriptor
initiation, scanning and connection failure for the cnss wlan module.

This feature enable socket buffer to use pre allocated memory
for socket buffer initialization and release it to back to
pre-allocated pool.

CRs-Fixed: 1023094
Change-Id: I1cf730cc06096f4b2ab21b4e1dbf3e94d988630e
Signed-off-by: default avatarSarada Prasanna Garnayak <sgarna@codeaurora.org>
parent 20b1a290
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment