Search Linux Wireless

[PATCH 14/15] wl12xx: 1281/1283 support - disable TX aggregation for AP mode in wl128x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Arik Nemtsov <arik@xxxxxxxxxx>

This is a workaround for the HW bug we're encountering when operating
with 48Mhz SDIO clocks. This workaround is currently employed by the MCP
driver as well.

This is not healthy for CPU usage, and UDP TX seems hurt by this change.
TCP RX/TX seems unchanged from Trio or the 1-spare-block FW variant.

With this workaround we get a working AP on Blaze.

Signed-off-by: Arik Nemtsov <arik@xxxxxxxxxx>
---
 drivers/net/wireless/wl12xx/tx.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/wl12xx/tx.c b/drivers/net/wireless/wl12xx/tx.c
index 9c0ec06..831248e 100644
--- a/drivers/net/wireless/wl12xx/tx.c
+++ b/drivers/net/wireless/wl12xx/tx.c
@@ -568,6 +568,11 @@ void wl1271_tx_work_locked(struct wl1271 *wl)
 		}
 		buf_offset += ret;
 		wl->tx_packets_count++;
+
+		/* Disable packet aggregation for 1283 AP-mode */
+		if (wl->chip.id == CHIP_ID_1283_PG20 &&
+		    wl->bss_type == BSS_TYPE_AP_BSS)
+			break;
 	}
 
 out_ack:
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux