qcacmn: Masked out the Host Tx Desc allocation for NSS offload
Masking out the tx_desc and tx_ext_desc allocations for NSS offloaded radios. CRs-Fixed: 2188417 Change-Id: Ibe949a899da1dd2c815ce6a10c355f7ee5976e7a
这个提交包含在:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
* above copyright notice and this permission notice appear in all
|
||||
@@ -456,6 +456,14 @@ int wlan_cfg_pkt_type(struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx);
|
||||
*/
|
||||
int wlan_cfg_get_num_tx_desc_pool(struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx);
|
||||
|
||||
/*
|
||||
* wlan_cfg_set_num_tx_desc_pool() - Set the number of Tx Descriptor pools for the
|
||||
* device
|
||||
* @wlan_cfg_ctx - Configuration Handle
|
||||
* @num_pool - Number of pool
|
||||
*/
|
||||
void wlan_cfg_set_num_tx_desc_pool(struct wlan_cfg_dp_soc_ctxt *cfg, int num_pool);
|
||||
|
||||
/*
|
||||
* wlan_cfg_get_num_tx_ext_desc_pool() - Number of Tx MSDU ext Descriptor
|
||||
* pools
|
||||
@@ -466,6 +474,14 @@ int wlan_cfg_get_num_tx_desc_pool(struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx);
|
||||
int wlan_cfg_get_num_tx_ext_desc_pool(
|
||||
struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx);
|
||||
|
||||
/*
|
||||
* wlan_cfg_set_num_tx_ext_desc_pool() - Set the number of Tx MSDU ext Descriptor
|
||||
* pools
|
||||
* @wlan_cfg_ctx - Configuration Handle
|
||||
* @num_pool - Number of pool
|
||||
*/
|
||||
void wlan_cfg_set_num_tx_ext_desc_pool(struct wlan_cfg_dp_soc_ctxt *cfg, int num_pool);
|
||||
|
||||
/*
|
||||
* wlan_cfg_get_num_tx_desc() - Number of Tx Descriptors per pool
|
||||
* @wlan_cfg_ctx - Configuration Handle
|
||||
@@ -474,6 +490,14 @@ int wlan_cfg_get_num_tx_ext_desc_pool(
|
||||
*/
|
||||
int wlan_cfg_get_num_tx_desc(struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx);
|
||||
|
||||
/*
|
||||
* wlan_cfg_set_num_tx_desc() - Set the number of Tx Descriptors per pool
|
||||
*
|
||||
* @wlan_cfg_ctx - Configuration Handle
|
||||
* @num_desc: Number of descriptor
|
||||
*/
|
||||
void wlan_cfg_set_num_tx_desc(struct wlan_cfg_dp_soc_ctxt *cfg, int num_desc);
|
||||
|
||||
/*
|
||||
* wlan_cfg_get_num_tx_ext_desc() - Number of Tx MSDU extension Descriptors
|
||||
* per pool
|
||||
@@ -483,6 +507,14 @@ int wlan_cfg_get_num_tx_desc(struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx);
|
||||
*/
|
||||
int wlan_cfg_get_num_tx_ext_desc(struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx);
|
||||
|
||||
/*
|
||||
* wlan_cfg_set_num_tx_ext_desc() - Set the number of Tx MSDU extension Descriptors
|
||||
* per pool
|
||||
* @wlan_cfg_ctx - Configuration Handle
|
||||
* @num_desc: Number of descriptor
|
||||
*/
|
||||
void wlan_cfg_set_num_tx_ext_desc(struct wlan_cfg_dp_soc_ctxt *cfg, int num_ext_desc);
|
||||
|
||||
/*
|
||||
* wlan_cfg_max_peer_id() - Get maximum peer ID
|
||||
* @cfg: Configuration Handle
|
||||
|
在新工单中引用
屏蔽一个用户