qcacmn: HIF layer changes for QCN9100 bringup

Initial changes made for bring up of
QCN9100 in HIF layer

Change-Id: I60c5f7e8d5456e6f2bfda8f99d873a30ca979ada
This commit is contained in:
Pavankumar Nandeshwar
2020-08-25 00:03:12 +05:30
committed by snandini
parent 42c974a68d
commit 9e00273fe7
13 changed files with 386 additions and 34 deletions

View File

@@ -912,6 +912,7 @@ static void hif_select_service_to_pipe_map(struct hif_softc *scn,
sizeof(target_service_to_ce_map_qcn9000);
break;
case TARGET_TYPE_QCA5018:
case TARGET_TYPE_QCN9100:
*tgt_svc_map_to_use =
target_service_to_ce_map_qca5018;
*sz_tgt_svc_map_to_use =
@@ -1128,6 +1129,7 @@ bool ce_srng_based(struct hif_softc *scn)
case TARGET_TYPE_QCA6750:
case TARGET_TYPE_QCA6018:
case TARGET_TYPE_QCN9000:
case TARGET_TYPE_QCN9100:
case TARGET_TYPE_QCA5018:
return true;
default:
@@ -3271,6 +3273,13 @@ void hif_ce_prepare_config(struct hif_softc *scn)
scn->ce_count = QCN_9000_CE_COUNT;
scn->disable_wake_irq = 1;
break;
case TARGET_TYPE_QCN9100:
hif_state->host_ce_config = host_ce_config_wlan_qcn9100;
hif_state->target_ce_config = target_ce_config_wlan_qcn9100;
hif_state->target_ce_config_sz =
sizeof(target_ce_config_wlan_qcn9100);
scn->ce_count = QCN_9100_CE_COUNT;
break;
case TARGET_TYPE_QCA5018:
hif_state->host_ce_config = host_ce_config_wlan_qca5018;
hif_state->target_ce_config = target_ce_config_wlan_qca5018;