Browse Source

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
Dhanashri Atre 8 years ago
parent
commit
2fb392b7d5
2 changed files with 0 additions and 20 deletions
  1. 0 2
      dp/wifi3.0/hal_rx.h
  2. 0 18
      hal/wifi3.0/hal_tx.h

+ 0 - 2
dp/wifi3.0/hal_rx.h

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

+ 0 - 18
hal/wifi3.0/hal_tx.h

@@ -542,24 +542,6 @@ static inline void hal_tx_ext_desc_set_tso_flags(void *desc,
 		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
  * @desc: Handle to Tx MSDU Extension Descriptor