-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nrf_wifi: Create dedicated memory pools for Wi-Fi #1319
base: main
Are you sure you want to change the base?
Conversation
@@ -60,7 +60,7 @@ static enum nrf_wifi_status nrf_wifi_fmac_init_tx(struct nrf_wifi_fmac_dev_ctx * | |||
def_priv->data_config.max_tx_aggregation * | |||
sizeof(struct nrf_wifi_fmac_buf_map_info)); | |||
|
|||
def_dev_ctx->tx_buf_info = nrf_wifi_osal_mem_zalloc(fmac_dev_ctx->fpriv->opriv, | |||
def_dev_ctx->tx_buf_info = nrf_wifi_osal_pkt_mem_zalloc(fmac_dev_ctx->fpriv->opriv, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My preference would be to use data
instead of pkt
, but not a requirement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also shouldn't there be a corresponding ctrl
variant now? Or better yet, why not just pass a mem_pool_type
parameter to the memory functions?
53c4e85
to
f47633e
Compare
Create dedicated memory pools for Wi-Fi data and management paths. Introduce corresponding memory allocation/deallocation calls. Signed-off-by: Ravi Dondaputi <[email protected]>
f47633e
to
08becd6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rado17 : As discussed please move this PR to Zephyr upstream.
Create dedicated memory pools for Wi-Fi data and
management paths. Introduce corresponding memory
allocation/deallocation calls.