qcacmn: Changes needed to support new hardware header files

Changes in the HAL APIs to adapt to the new hardware E6 header files.

The changes are in:
- The MSDU link extension descriptor
- The RX MSDU TLV (type_offset)

CRs-Fixed: 2033542
Change-Id: Ib314194f66fd2feea901f849753c9c91ec4a040c
This commit is contained in:
Dhanashri Atre
2017-04-12 15:40:41 -07:00
committed by snandini
parent 140c41ee36
commit 2fb392b7d5
2 changed files with 0 additions and 20 deletions

View File

@@ -2358,7 +2358,6 @@ static inline void hal_rx_dump_msdu_end_tlv(struct rx_msdu_end *msdu_end,
"sa_offset: %d\n" "sa_offset: %d\n"
"da_offset_valid: %d\n" "da_offset_valid: %d\n"
"sa_offset_valid: %d\n" "sa_offset_valid: %d\n"
"type_offset: %d\n"
"rule_indication_31_0: %d\n" "rule_indication_31_0: %d\n"
"rule_indication_63_32: %d\n" "rule_indication_63_32: %d\n"
"sa_idx: %d\n" "sa_idx: %d\n"
@@ -2405,7 +2404,6 @@ static inline void hal_rx_dump_msdu_end_tlv(struct rx_msdu_end *msdu_end,
msdu_end->sa_offset, msdu_end->sa_offset,
msdu_end->da_offset_valid, msdu_end->da_offset_valid,
msdu_end->sa_offset_valid, msdu_end->sa_offset_valid,
msdu_end->type_offset,
msdu_end->rule_indication_31_0, msdu_end->rule_indication_31_0,
msdu_end->rule_indication_63_32, msdu_end->rule_indication_63_32,
msdu_end->sa_idx, msdu_end->sa_idx,

View File

@@ -542,24 +542,6 @@ static inline void hal_tx_ext_desc_set_tso_flags(void *desc,
tso_flags; tso_flags;
} }
/**
* hal_tx_ext_desc_set_checksum_en() - Enable HW Checksum offload
* @desc: Handle to Tx MSDU Extension Descriptor
* @en: Checksum offload enable
*
* Return: none
*/
static inline void hal_tx_ext_desc_set_checksum_en(void *desc,
uint8_t en)
{
HAL_SET_FLD(desc, TX_MSDU_EXTENSION_0, IPV4_CHECKSUM_EN) |=
((HAL_TX_SM(TX_MSDU_EXTENSION_0, IPV4_CHECKSUM_EN, en)) |
(HAL_TX_SM(TX_MSDU_EXTENSION_0, UDP_OVER_IPV4_CHECKSUM_EN, en)) |
(HAL_TX_SM(TX_MSDU_EXTENSION_0, UDP_OVER_IPV6_CHECKSUM_EN, en)) |
(HAL_TX_SM(TX_MSDU_EXTENSION_0, TCP_OVER_IPV4_CHECKSUM_EN, en)) |
(HAL_TX_SM(TX_MSDU_EXTENSION_0, TCP_OVER_IPV6_CHECKSUM_EN, en)));
}
/** /**
* hal_tx_ext_desc_set_tcp_flags() - Enable HW Checksum offload * hal_tx_ext_desc_set_tcp_flags() - Enable HW Checksum offload
* @desc: Handle to Tx MSDU Extension Descriptor * @desc: Handle to Tx MSDU Extension Descriptor