[FS#896] mt7620 - dropping frames (WiFi)

LEDE Bugs lede-bugs at lists.infradead.org
Wed Oct 11 10:36:38 PDT 2017


The following task has a new comment added:

FS#896 - mt7620 - dropping frames (WiFi)
User who did this - psyborg55 (psyborg55)

----------
meanwhile i found to change gpio mode:

	(*&gpiomode = readl((void *)(0xb0000060)));
	if ((gpiomode & 0x100000) == 0) {
		gpiomode &= (~0x100000);
		writel(gpiomode, (void *)(0xb0000060));
	
		rt2x00_info(rt2x00dev, "Change as Normal Mode(0x%lx)\n", gpiomode);
		(*&gpiomode = readl((void *)(0xb0000060)));
		rt2x00_info(rt2x00dev, "After Change GPIO_MODE value is 0x%lx\n", gpiomode);
	}

comp. reg has to be 0, opposed to mtk driver where it's 0x100000 representing PA gpio mode which means rt2x00 doesn't run the PA in gpio mode. mini shows the 0x48371d value with PA enabled in DTS code and 0x58371d without it enabled.
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=896#comment3586



More information about the lede-bugs mailing list