qcacmn: RX AM Copy mode

Provision to send first MSDU of a PPDU to upper layer based
on PPDU ID received in RX monitor lite ring.
FR 42926

Change-Id: I6daed9382b57fb3355ec6453e0609085cc7b9bb0
CRs-Fixed: 2127108
This commit is contained in:
Soumya Bhat 2017-10-31 13:12:37 +05:30 • committed by snandini
commit 6fee59c4d5
7 changed files with 73 additions and 11 deletions

View file

@ -428,6 +428,7 @@ struct hal_rx_ppdu_info {
struct hal_rx_ppdu_common_info com_info;
struct hal_rx_ppdu_user_info user_info[HAL_MAX_UL_MU_USERS];
struct mon_rx_status rx_status;
uint8_t *first_msdu_payload;
};
static inline uint32_t
@ -466,7 +467,6 @@ hal_rx_status_get_tlv_info(void *rx_tlv, struct hal_rx_ppdu_info *ppdu_info)
tlv_len = HAL_RX_GET_USER_TLV32_LEN(rx_tlv);
rx_tlv = (uint8_t *) rx_tlv + HAL_RX_TLV32_HDR_SIZE;
switch (tlv_tag) {
case WIFIRX_PPDU_START_E:
@ -773,6 +773,8 @@ hal_rx_status_get_tlv_info(void *rx_tlv, struct hal_rx_ppdu_info *ppdu_info)
"RSSI_EXT80_HIGH20_CHAIN0: %d\n", value);
break;
}
case WIFIRX_HEADER_E:
ppdu_info->first_msdu_payload = rx_tlv;
case 0:
return HAL_TLV_STATUS_PPDU_DONE;

View file

@ -82,6 +82,10 @@
#include "pld_common.h"
#include "rx_msdu_link.h"
#ifdef FEATURE_PERPKT_INFO
#include "rx_header.h"
#endif /* FEATURE_PERPKT_INFO */
/* TBD: This should be movded to shared HW header file */
enum hal_srng_ring_id {
/* UMAC rings */