qca-wifi: Host Static Memory Optimization (in NSS offload mode)

Low memory profiles like 256M and 16M profiles support
only NSS Wi-Fi offload mode and HOST data path APIs are
not used.

Disable HOST data path APIs which are not used in both
NSS Wi-Fi offload mode and in HOST mode (in NSS offload mode)

Change-Id: I44bcbf65771c131a839fb13906e9bbd59fd8545b
此提交包含在:
phadiman
2020-12-13 23:29:10 +05:30
父節點 f86496baad
當前提交 ad27a51809
共有 2 個檔案被更改,包括 164 行新增41 行删除

查看文件

@@ -17,6 +17,9 @@
*/
#ifndef _DP_TXRX_ME_H_
#define _DP_TXRX_ME_H_
#ifndef QCA_HOST_MODE_WIFI_DISABLED
uint16_t
dp_tx_me_send_convert_ucast(struct cdp_soc_t *soc, uint8_t vdev_id,
qdf_nbuf_t nbuf,
@@ -26,6 +29,9 @@ dp_tx_me_send_convert_ucast(struct cdp_soc_t *soc, uint8_t vdev_id,
void dp_tx_me_alloc_descriptor(struct cdp_soc_t *soc, uint8_t pdev_id);
void dp_tx_me_free_descriptor(struct cdp_soc_t *soc, uint8_t pdev_id);
void dp_tx_me_exit(struct dp_pdev *pdev);
#endif /* QCA_HOST_MODE_WIFI_DISABLED */
QDF_STATUS
dp_tx_prepare_send_me(struct dp_vdev *vdev, qdf_nbuf_t nbuf);
QDF_STATUS