qcacmn: Use correct wbm_ring_num for SW5 and SW6
With KIWI_V2, wbm_ring_num for WBM2SW5 and WBM2SW6 have been changed to 5 and 6. Hence properly update them in g_tcl_wbm_map_array. At the same time, tx_ring_mask_msi and tx_ring_near_full_irq_mask are also updated. With IPA_OFFLOAD enabled soc->tcl_data_ring[0|1|2] is used by HOST and the other two rings are allocated to IPA usage. Change-Id: I4c13d0787e46be667c3a5a0ae624df8c2b2b354e CRs-Fixed: 3229375
此提交包含在:
@@ -130,13 +130,20 @@ struct dp_int_mask_assignment {
|
||||
* the below TX mask.
|
||||
*/
|
||||
static const uint8_t tx_ring_mask_msi[WLAN_CFG_INT_NUM_CONTEXTS] = {
|
||||
[0] = WLAN_CFG_TX_RING_MASK_0, [1] = WLAN_CFG_TX_RING_MASK_6,
|
||||
[2] = WLAN_CFG_TX_RING_MASK_7};
|
||||
#else
|
||||
[0] = WLAN_CFG_TX_RING_MASK_0, [1] = WLAN_CFG_TX_RING_MASK_4,
|
||||
[2] = WLAN_CFG_TX_RING_MASK_2};
|
||||
#else /* !IPA_OFFLOAD */
|
||||
#ifdef QCA_WIFI_KIWI_V2
|
||||
static const uint8_t tx_ring_mask_msi[WLAN_CFG_INT_NUM_CONTEXTS] = {
|
||||
[0] = WLAN_CFG_TX_RING_MASK_0, [1] = WLAN_CFG_TX_RING_MASK_4,
|
||||
[2] = WLAN_CFG_TX_RING_MASK_2, [3] = WLAN_CFG_TX_RING_MASK_5,
|
||||
[4] = WLAN_CFG_TX_RING_MASK_6};
|
||||
#else /* !QCA_WIFI_KIWI_V2 */
|
||||
static const uint8_t tx_ring_mask_msi[WLAN_CFG_INT_NUM_CONTEXTS] = {
|
||||
[0] = WLAN_CFG_TX_RING_MASK_0, [1] = WLAN_CFG_TX_RING_MASK_4,
|
||||
[2] = WLAN_CFG_TX_RING_MASK_2, [3] = WLAN_CFG_TX_RING_MASK_6,
|
||||
[4] = WLAN_CFG_TX_RING_MASK_7};
|
||||
#endif /* QCA_WIFI_KIWI_V2 */
|
||||
#endif /* IPA_OFFLOAD */
|
||||
|
||||
static inline const
|
||||
|
新增問題並參考
封鎖使用者