qcacmn: change qcn9100 to qcn6122 in data path

Change the name of target type qcn9100
to qcn6122 in data path.

Change-Id: Ia1463ca276b7c107ca4c1ebce4ffc8b517134a5e
CRs-Fixed: 2849577
Tento commit je obsažen v:
Pavankumar Nandeshwar
2021-01-06 07:53:10 -08:00
odevzdal snandini
rodič f29e4c0315
revize d6c9f3ad8a
7 změnil soubory, kde provedl 233 přidání a 233 odebrání

Zobrazit soubor

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -903,7 +903,7 @@ hal_rx_status_get_tlv_info_generic(void *rx_tlv_hdr, void *ppduinfo,
case TARGET_TYPE_QCA6018:
case TARGET_TYPE_QCA5018:
case TARGET_TYPE_QCN9000:
case TARGET_TYPE_QCN9100:
case TARGET_TYPE_QCN6122:
#ifdef QCA_WIFI_QCA6390
case TARGET_TYPE_QCA6390:
#endif

Zobrazit soubor

@@ -40,8 +40,8 @@ void hal_qca6490_attach(struct hal_soc *hal);
#ifdef QCA_WIFI_QCN9000
void hal_qcn9000_attach(struct hal_soc *hal);
#endif
#ifdef QCA_WIFI_QCN9100
void hal_qcn9100_attach(struct hal_soc *hal);
#ifdef QCA_WIFI_QCN6122
void hal_qcn6122_attach(struct hal_soc *hal);
#endif
#ifdef QCA_WIFI_QCA6750
void hal_qca6750_attach(struct hal_soc *hal);
@@ -400,15 +400,15 @@ static void hal_target_based_configure(struct hal_soc *hal)
break;
#endif
#if defined(QCA_WIFI_QCN9100)
case TARGET_TYPE_QCN9100:
#if defined(QCA_WIFI_QCN6122)
case TARGET_TYPE_QCN6122:
hal->use_register_windowing = true;
/*
* Static window map is enabled for qcn9000 to use 2mb bar
* size and use multiple windows to write into registers.
*/
hal->static_window_map = true;
hal_qcn9100_attach(hal);
hal_qcn6122_attach(hal);
break;
#endif

Zobrazit soubor

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above

Zobrazit soubor

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -24,14 +24,14 @@
#include "hal_api_mon.h"
/**
* hal_tx_desc_set_dscp_tid_table_id_9100() - Sets DSCP to TID conversion
* hal_tx_desc_set_dscp_tid_table_id_6122() - Sets DSCP to TID conversion
* table ID
* @desc: Handle to Tx Descriptor
* @id: DSCP to tid conversion table to be used for this frame
*
* Return: void
*/
static void hal_tx_desc_set_dscp_tid_table_id_9100(void *desc, uint8_t id)
static void hal_tx_desc_set_dscp_tid_table_id_6122(void *desc, uint8_t id)
{
HAL_SET_FLD(desc, TCL_DATA_CMD_5,
DSCP_TID_TABLE_NUM) |=
@@ -43,7 +43,7 @@ static void hal_tx_desc_set_dscp_tid_table_id_9100(void *desc, uint8_t id)
#define HAL_TX_NUM_DSCP_REGISTER_SIZE 32
/**
* hal_tx_set_dscp_tid_map_9100() - Configure default DSCP to TID map table
* hal_tx_set_dscp_tid_map_6122() - Configure default DSCP to TID map table
* @soc: HAL SoC context
* @map: DSCP-TID mapping table
* @id: mapping table ID - 0,1
@@ -55,7 +55,7 @@ static void hal_tx_desc_set_dscp_tid_table_id_9100(void *desc, uint8_t id)
*
* Return: none
*/
static void hal_tx_set_dscp_tid_map_9100(struct hal_soc *soc,
static void hal_tx_set_dscp_tid_map_6122(struct hal_soc *soc,
uint8_t *map, uint8_t id)
{
int i;
@@ -111,7 +111,7 @@ static void hal_tx_set_dscp_tid_map_9100(struct hal_soc *soc,
}
/**
* hal_tx_update_dscp_tid_9100() - Update the dscp tid map table as
* hal_tx_update_dscp_tid_6122() - Update the dscp tid map table as
updated by user
* @soc: HAL SoC context
* @map: DSCP-TID mapping table
@@ -120,7 +120,7 @@ static void hal_tx_set_dscp_tid_map_9100(struct hal_soc *soc,
*
* Return: void
*/
static void hal_tx_update_dscp_tid_9100(struct hal_soc *soc, uint8_t tid,
static void hal_tx_update_dscp_tid_6122(struct hal_soc *soc, uint8_t tid,
uint8_t id, uint8_t dscp)
{
uint32_t addr, addr1, cmn_reg_addr;
@@ -191,7 +191,7 @@ static void hal_tx_update_dscp_tid_9100(struct hal_soc *soc, uint8_t tid,
}
/**
* hal_tx_desc_set_lmac_id_9100 - Set the lmac_id value
* hal_tx_desc_set_lmac_id_6122 - Set the lmac_id value
* @desc: Handle to Tx Descriptor
* @lmac_id: mac Id to ast matching
* b00 mac 0
@@ -201,21 +201,21 @@ static void hal_tx_update_dscp_tid_9100(struct hal_soc *soc, uint8_t tid,
*
* Return: void
*/
static void hal_tx_desc_set_lmac_id_9100(void *desc, uint8_t lmac_id)
static void hal_tx_desc_set_lmac_id_6122(void *desc, uint8_t lmac_id)
{
HAL_SET_FLD(desc, TCL_DATA_CMD_4, LMAC_ID) |=
HAL_TX_SM(TCL_DATA_CMD_4, LMAC_ID, lmac_id);
}
/**
* hal_tx_init_cmd_credit_ring_9100() - Initialize TCL command/credit SRNG
* hal_tx_init_cmd_credit_ring_6122() - Initialize TCL command/credit SRNG
* @hal_soc_hdl: Handle to HAL SoC structure
* @hal_srng: Handle to HAL SRNG structure
*
* Return: none
*/
static inline void
hal_tx_init_cmd_credit_ring_9100(hal_soc_handle_t hal_soc_hdl,
hal_tx_init_cmd_credit_ring_6122(hal_soc_handle_t hal_soc_hdl,
hal_ring_handle_t hal_ring_hdl)
{
uint8_t *desc_addr;