Prechádzať zdrojové kódy

qcacmn: Change to set-up default TID queue

Set up default queue - use the same queue for BE and
non-qos traffic

CRs-Fixed: 1074199
Change-Id: I2e28ea1ee0a778d43a8d78005063a51776b48df0
Dhanashri Atre 8 rokov pred
rodič
commit
8abb9ee21a
1 zmenil súbory, kde vykonal 13 pridanie a 0 odobranie
  1. 13 0
      dp/wifi3.0/dp_peer.c

+ 13 - 0
dp/wifi3.0/dp_peer.c

@@ -582,6 +582,19 @@ int dp_rx_tid_setup_wifi3(struct dp_peer *peer, int tid,
 		soc->cdp_soc.ol_ops->peer_rx_reorder_queue_setup(soc->osif_soc,
 			peer->vdev->vdev_id, peer->mac_addr.raw,
 			rx_tid->hw_qdesc_paddr, tid, tid);
+
+		if (tid == DP_NON_QOS_TID) {
+			/* TODO: Setting up default queue - currently using
+			 * same queue for BE and non-qos traffic till BA
+			 * session is setup. Check if there are any HW
+			 * restrictions and also if this can be done for
+			 * all other TIDs
+			 */
+			soc->cdp_soc.ol_ops->
+				peer_rx_reorder_queue_setup(soc->osif_soc,
+					peer->vdev->vdev_id, peer->mac_addr.raw,
+					rx_tid->hw_qdesc_paddr, 0, tid);
+		}
 	}
 	return 0;
 }