qcacmn: Tput is low when DS is enabled in STA
Issue: When DS mode is configured for a VAP in both AP and STA (RDP 433), the tput reduces. For instance, for an ingress of 7G in standalone case, the egress rate is 1) 6887 Mbps when DS is enabled only in AP 2) 1900 Mbps when DS is enabled in both AP and STA RCA: With the help of debugs & proc/interrupts, identified that we are not setting up the peer when the device in STA mode due to AP mode check in dp_soc_txrx_peer_setup. Hence, the traffic is not flowing via DS and so, tput reduces. Fix: Added changes to invoke txrx_peer_setup in STA mode and DS mode will configured in that mode. With the fix, traffic flows via DS, which in turn improves the increased Change-Id: Ib51e9a27e5078ed99160f213ddffed801c2e4ecf CRs-Fixed: 3355603
This commit is contained in:

committed by
Madan Koyyalamudi

parent
4b313c5aac
commit
6cfeaed50f
@@ -6745,8 +6745,9 @@ static inline
|
||||
void dp_soc_txrx_peer_setup(enum wlan_op_mode vdev_opmode, struct dp_soc *soc,
|
||||
struct dp_peer *peer)
|
||||
{
|
||||
/* TODO: Need to check with STA mode */
|
||||
if (vdev_opmode == wlan_op_mode_ap && soc->arch_ops.txrx_peer_setup) {
|
||||
if (((vdev_opmode == wlan_op_mode_ap) ||
|
||||
(vdev_opmode == wlan_op_mode_sta)) &&
|
||||
(soc->arch_ops.txrx_peer_setup)) {
|
||||
if (soc->arch_ops.txrx_peer_setup(soc, peer)
|
||||
!= QDF_STATUS_SUCCESS) {
|
||||
dp_err("unable to setup target peer features");
|
||||
|
Reference in New Issue
Block a user