qcacmn: Send ring sel cfg to configure rx pkt tlvs offset

Currently the FW configures the mac with appropriate
offsets for rx pkt tlvs using the structure defined in
te FW and the host does not send the ring selction config
HTT message. This can create a problem when FW stops subscribing
to tlvs or changes its rx pkt tlvs offset.

Fix this by configuring the rx pkt tlv offsets via HTT
ring selection config message.

Change-Id: I1a2865f91b34dd7bda1af8651d7831097dac0bee
CRs-Fixed: 2860504
This commit is contained in:
Rakesh Pillai
2021-01-12 19:06:20 +05:30
committed by snandini
parent 63f4a150bb
commit 783f811315
13 changed files with 140 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2016-2021 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
@@ -627,6 +627,7 @@ struct hal_hw_txrx_ops {
uint32_t (*hal_rx_msdu_start_offset_get)(void);
uint32_t (*hal_rx_mpdu_start_offset_get)(void);
uint32_t (*hal_rx_mpdu_end_offset_get)(void);
uint32_t (*hal_rx_pkt_tlv_offset_get)(void);
void * (*hal_rx_flow_setup_fse)(uint8_t *rx_fst,
uint32_t table_offset,
uint8_t *rx_flow);