|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2013-2016 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2013-2017 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
|
|
@@ -62,6 +62,17 @@ struct wlan_cfg_dp_pdev_ctxt *wlan_cfg_pdev_attach(void);
|
|
|
*/
|
|
|
void wlan_cfg_pdev_detach(struct wlan_cfg_dp_pdev_ctxt *wlan_cfg_pdev_ctx);
|
|
|
|
|
|
+void wlan_cfg_set_num_contexts(struct wlan_cfg_dp_soc_ctxt *cfg, int num);
|
|
|
+void wlan_cfg_set_tx_ring_mask(struct wlan_cfg_dp_soc_ctxt *cfg,
|
|
|
+ int context, int mask);
|
|
|
+void wlan_cfg_set_rx_ring_mask(struct wlan_cfg_dp_soc_ctxt *cfg,
|
|
|
+ int context, int mask);
|
|
|
+void wlan_cfg_set_rx_mon_ring_mask(struct wlan_cfg_dp_soc_ctxt *cfg,
|
|
|
+ int context, int mask);
|
|
|
+void wlan_cfg_set_ce_ring_mask(struct wlan_cfg_dp_soc_ctxt *cfg,
|
|
|
+ int context, int mask);
|
|
|
+void wlan_cfg_set_rxbuf_ring_mask(struct wlan_cfg_dp_soc_ctxt *cfg, int context,
|
|
|
+ int mask);
|
|
|
/**
|
|
|
* wlan_cfg_get_num_contexts() Number of interrupt contexts to be registered
|
|
|
* @wlan_cfg_ctx - Configuration Handle
|
|
@@ -220,6 +231,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_max_peer_id() - Get maximum peer ID
|
|
|
+ * @cfg: Configuration Handle
|
|
|
+ *
|
|
|
+ * Return: maximum peer ID
|
|
|
+ */
|
|
|
+uint32_t wlan_cfg_max_peer_id(struct wlan_cfg_dp_soc_ctxt *cfg);
|
|
|
+
|
|
|
/*
|
|
|
* wlan_cfg_get_dma_mon_buf_ring_size() - Return Size of monitor buffer ring
|
|
|
* @wlan_cfg_pdev_ctx
|