qcacmn: Set up TX bank profile for IPA

bank id is newly added in TX descriptor for BE chipsets. As such,
with IPA Offload enabled, IPA needs the bank id information to do
offload WLAN TX.

From WLAN perspective, bank id is designed to be used on a per-vdev
role basis. E.g. STA vdev and SAP vdev have separate and different
bank profiles.

However from IPA perspective, bank id needs to be on a per TX ring
basis, because IPA GSI FW is not able to identify STA or SAP vdev
role on a per-packet basis.

Hence initialize last HOST owned bank id profile for IPA usage.

Change-Id: I0cf71b638f5999905069aff0551d8ebeb5477e17
CRs-Fixed: 3289558
This commit is contained in:
Jia Ding
2022-06-17 17:50:51 +08:00
کامیت شده توسط Madan Koyyalamudi
والد 99372a8149
کامیت 79a9d0dc1d
4فایلهای تغییر یافته به همراه87 افزوده شده و 0 حذف شده

مشاهده پرونده

@@ -236,6 +236,7 @@ struct dp_ppe_vp_profile {
* @ppe_vp_tbl: PPE VP table
* @ppe_vp_tbl_lock: PPE VP table lock
* @num_ppe_vp_entries : Number of PPE VP entries
* @ipa_bank_id: TCL bank id used by IPA
*/
struct dp_soc_be {
struct dp_soc soc;
@@ -276,6 +277,9 @@ struct dp_soc_be {
} mld_peer_hash;
#endif
#endif
#ifdef IPA_OFFLOAD
int8_t ipa_bank_id;
#endif
};
/* convert struct dp_soc_be pointer to struct dp_soc pointer */