Search Linux Wireless

Re: Powersave broken on p54

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

 



On Wednesday 02 March 2011 18:17:37 Michael Buesch wrote:
> On Wed, 2011-03-02 at 18:13 +0100, Christian Lamparter wrote:
> > sure there was the rssi->dbm update (I hope you've already updated
> > your eeprom image.)
> 
> What change to the eeprom is needed? My eeprom doesn't
> contain any rssi info (see recent NULL ptr fix).

I think you should (re-)add it, I don't know what the
firmware is doing with it, but maybe Kalle knows more?

see "p54spi: update sample eeprom"
6c1cef43fb9d4979f9f7e0dcc71f61921730149b

(Note: If the rssi values are missing, the driver uses
the default for Indigo/Duette/Frisbee and XBow RF.
But these parameter could confuse p54spi's Longbow RF?)

> > No idea, it looks like the ps-poll is broken, because
> > "iwconfig wlanX power timeout 10" fixes the long delays
> > almost immediately. [let's see if there's more]
> 
> So maybe it's a generic mac80211 bug? Are there other
> devices with PS issues?
Not sure, don't have any hardware to play with ATM.
But maybe the attached "hack" helps a bit?
---
diff --git a/drivers/net/wireless/p54/fwio.c b/drivers/net/wireless/p54/fwio.c
index 2fab7d2..df56a82 100644
--- a/drivers/net/wireless/p54/fwio.c
+++ b/drivers/net/wireless/p54/fwio.c
@@ -615,8 +615,8 @@ int p54_set_ps(struct p54_common *priv)
 	psm->mode = cpu_to_le16(mode);
 	psm->aid = cpu_to_le16(priv->aid);
 	for (i = 0; i < ARRAY_SIZE(psm->intervals); i++) {
-		psm->intervals[i].interval =
-			cpu_to_le16(priv->hw->conf.listen_interval);
+		psm->intervals[i].interval = cpu_to_le16(1);
+//			cpu_to_le16(priv->hw->conf.listen_interval);
 		psm->intervals[i].periods = cpu_to_le16(1);
 	}
 
--
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