qcacmn: Add HAL APIs in hal_generic_api.h

Add the following macros:
1. HAL_RX_GET_FC_VALID
2. HAL_RX_GET_TO_DS_FLAG
3. HAL_RX_GET_MAC_ADDR2_VALID
4. HAL_RX_GET_FILTER_CATEGORY
5. HAL_RX_GET_PPDU_ID

Also add function pointers to
retrieve the flags from the above
macros.
Change-Id: I334b198588ceba77cd30bdde7ebc500cdbe18358
CRs-Fixed: 2522133
此提交包含在:
Venkata Sharath Chandra Manchala
2019-09-23 15:20:06 -07:00
提交者 nshrivas
父節點 8227240793
當前提交 b7d2df16b5
共有 14 個檔案被更改,包括 323 行新增13 行删除

查看文件

@@ -415,6 +415,11 @@ struct hal_hw_txrx_ops {
void * (*hal_rx_msdu_desc_info_ptr_get)(void *msdu0);
void * (*hal_ent_mpdu_desc_info)(void *hw_addr);
void * (*hal_dst_mpdu_desc_info)(void *hw_addr);
uint8_t (*hal_rx_get_fc_valid)(uint8_t *buf);
uint8_t (*hal_rx_get_to_ds_flag)(uint8_t *buf);
uint8_t (*hal_rx_get_mac_addr2_valid)(uint8_t *buf);
uint8_t (*hal_rx_get_filter_category)(uint8_t *buf);
uint32_t (*hal_rx_get_ppdu_id)(uint8_t *buf);
};
/**