|
@@ -111,6 +111,7 @@ static void ath10k_pci_htc_tx_cb(struct ath10k_ce_pipe *ce_state);
|
|
static void ath10k_pci_htc_rx_cb(struct ath10k_ce_pipe *ce_state);
|
|
static void ath10k_pci_htc_rx_cb(struct ath10k_ce_pipe *ce_state);
|
|
static void ath10k_pci_htt_tx_cb(struct ath10k_ce_pipe *ce_state);
|
|
static void ath10k_pci_htt_tx_cb(struct ath10k_ce_pipe *ce_state);
|
|
static void ath10k_pci_htt_rx_cb(struct ath10k_ce_pipe *ce_state);
|
|
static void ath10k_pci_htt_rx_cb(struct ath10k_ce_pipe *ce_state);
|
|
|
|
+static void ath10k_pci_pktlog_rx_cb(struct ath10k_ce_pipe *ce_state);
|
|
|
|
|
|
static const struct ce_attr host_ce_config_wlan[] = {
|
|
static const struct ce_attr host_ce_config_wlan[] = {
|
|
/* CE0: host->target HTC control and raw streams */
|
|
/* CE0: host->target HTC control and raw streams */
|
|
@@ -189,6 +190,7 @@ static const struct ce_attr host_ce_config_wlan[] = {
|
|
.src_nentries = 0,
|
|
.src_nentries = 0,
|
|
.src_sz_max = 2048,
|
|
.src_sz_max = 2048,
|
|
.dest_nentries = 128,
|
|
.dest_nentries = 128,
|
|
|
|
+ .recv_cb = ath10k_pci_pktlog_rx_cb,
|
|
},
|
|
},
|
|
|
|
|
|
/* CE9 target autonomous qcache memcpy */
|
|
/* CE9 target autonomous qcache memcpy */
|
|
@@ -1208,6 +1210,15 @@ static void ath10k_pci_htc_rx_cb(struct ath10k_ce_pipe *ce_state)
|
|
ath10k_pci_process_rx_cb(ce_state, ath10k_htc_rx_completion_handler);
|
|
ath10k_pci_process_rx_cb(ce_state, ath10k_htc_rx_completion_handler);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+/* Called by lower (CE) layer when data is received from the Target.
|
|
|
|
+ * Only 10.4 firmware uses separate CE to transfer pktlog data.
|
|
|
|
+ */
|
|
|
|
+static void ath10k_pci_pktlog_rx_cb(struct ath10k_ce_pipe *ce_state)
|
|
|
|
+{
|
|
|
|
+ ath10k_pci_process_rx_cb(ce_state,
|
|
|
|
+ ath10k_htt_rx_pktlog_completion_handler);
|
|
|
|
+}
|
|
|
|
+
|
|
/* Called by lower (CE) layer when a send to HTT Target completes. */
|
|
/* Called by lower (CE) layer when a send to HTT Target completes. */
|
|
static void ath10k_pci_htt_tx_cb(struct ath10k_ce_pipe *ce_state)
|
|
static void ath10k_pci_htt_tx_cb(struct ath10k_ce_pipe *ce_state)
|
|
{
|
|
{
|