1
0

qcacmn: Device and Target type support for qca6018

Added target and device type support for qca6018.

Change-Id: I85382bf053d0a5f34cfaf0cca78a4b66b4265989
CRs-Fixed: 2323023
Este cometimento está contido em:
Basamma Yakkanahalli
2018-11-02 15:52:37 +05:30
cometido por nshrivas
ascendente 30265f8aeb
cometimento 5f7cfd49c2
20 ficheiros modificados com 94 adições e 26 eliminações

Ver ficheiro

@@ -553,6 +553,7 @@ hal_rx_status_get_tlv_info_generic(void *rx_tlv_hdr, void *ppduinfo,
switch (hal->target_type) {
case TARGET_TYPE_QCA8074:
case TARGET_TYPE_QCA8074V2:
case TARGET_TYPE_QCA6018:
ppdu_info->rx_status.is_stbc =
HAL_RX_GET(vht_sig_a_info,
VHT_SIG_A_INFO_0, STBC);

Ver ficheiro

@@ -33,6 +33,9 @@ void hal_qca8074v2_attach(struct hal_soc *hal);
#ifdef QCA_WIFI_QCA6390
void hal_qca6390_attach(struct hal_soc *hal);
#endif
#ifdef QCA_WIFI_QCA6018
void hal_qca6018_attach(struct hal_soc *hal);
#endif
/**
* hal_get_srng_ring_id() - get the ring id of a descriped ring
@@ -251,6 +254,12 @@ static void hal_target_based_configure(struct hal_soc *hal)
hal_qca8074v2_attach(hal);
break;
#endif
#if defined(QCA_WIFI_QCA6018) && defined(CONFIG_WIN)
case TARGET_TYPE_QCA6018:
hal_qca6018_attach(hal);
break;
#endif
default:
break;
}

Ver ficheiro

@@ -116,7 +116,10 @@ struct hal_hw_txrx_ops qca6018_hal_hw_txrx_ops = {
hal_tx_update_dscp_tid_6018,
hal_tx_desc_set_lmac_id_6018,
hal_tx_desc_set_buf_addr_generic,
hal_tx_desc_set_search_type_generic,
hal_tx_desc_set_search_index_generic,
hal_tx_comp_get_status_generic,
hal_tx_comp_get_release_reason_generic,
/* rx */
hal_rx_msdu_start_nss_get_6018,
@@ -133,6 +136,8 @@ struct hal_hw_txrx_ops qca6018_hal_hw_txrx_ops = {
hal_rx_link_desc_msdu0_ptr_generic,
hal_reo_status_get_header_generic,
hal_rx_status_get_tlv_info_generic,
hal_rx_wbm_err_info_get_generic,
hal_rx_dump_mpdu_start_tlv_generic,
};
struct hal_hw_srng_config hw_srng_table_6018[] = {