qcacmn: Use HTT message to disable rx_pkt_header tlv
On low memory platform rx_pkt_header tlv is not subscribed to get a savings of 128bytes in skb. This is required to reduce the skb size from 4K to 2K on 32-bit platforms. Use HTT_H2T_MSG_TYPE_RX_RING_SELECTION_CFG message to unsubscribe rx_pkt_header tlv for rxdma ring. Change-Id: Ie684f1ca1de9c824a869b4e13fd0ee1d068004e7 CRs-Fixed: 2408424
This commit is contained in:

committed by
nshrivas

orang tua
e11412df5c
melakukan
07921611b4
@@ -671,6 +671,17 @@ static inline uint8_t
|
||||
}
|
||||
#endif
|
||||
|
||||
#define RX_PKT_TLV_OFFSET(field) qdf_offsetof(struct rx_pkt_tlvs, field)
|
||||
|
||||
#define HAL_RX_PKT_TLV_MPDU_START_OFFSET(hal_soc) \
|
||||
RX_PKT_TLV_OFFSET(mpdu_start_tlv)
|
||||
#define HAL_RX_PKT_TLV_MPDU_END_OFFSET(hal_soc) RX_PKT_TLV_OFFSET(mpdu_end_tlv)
|
||||
#define HAL_RX_PKT_TLV_MSDU_START_OFFSET(hal_soc) \
|
||||
RX_PKT_TLV_OFFSET(msdu_start_tlv)
|
||||
#define HAL_RX_PKT_TLV_MSDU_END_OFFSET(hal_soc) RX_PKT_TLV_OFFSET(msdu_end_tlv)
|
||||
#define HAL_RX_PKT_TLV_ATTN_OFFSET(hal_soc) RX_PKT_TLV_OFFSET(attn_tlv)
|
||||
#define HAL_RX_PKT_TLV_PKT_HDR_OFFSET(hal_soc) RX_PKT_TLV_OFFSET(pkt_hdr_tlv)
|
||||
|
||||
static inline uint8_t
|
||||
*hal_rx_padding0_get(uint8_t *buf)
|
||||
{
|
||||
|
Reference in New Issue
Block a user