On Sun, 2010-04-25 at 23:18 +0200, GNUtoo wrote: > Hi, > We are trying to make the htc dream(also known as G1) android phone > usable with a standard GNU(non android) userland. > > Inside the htcdream there is a wl1251_sdio chip. > > We already use the wl1251_sdio driver with a special module for > initialization. > > The problem is that When the wifi is on,the battery last for about an > hour. > > So we definitely need power saving features like PSM(I hope I used the > right acronym,I'm looking for the system which makes the access point > buffer frames for the phone and then we request the frames,other power > saving mode are also welcome but as I understood this one is the most > important) > > Grepping for psm in the driver show that there is some sort of support > for PSM. > > Unfortunately the following method of activation failed: > > # ./iw dev wlan0 set power_save on > command failed: Operation not supported (-95) > > > # iwconfig wlan0 power period 2 > Error for wireless request "Set Power Management" (8B2C) : > invalid argument "2". > > and I didn't find a psm sys node. > > I wonder where it has been disabled,and if I can re-enable it. > > I was also told that most driver have psm disabled,I don't know the > reason tough(maybe performance,as it has a serious impact on > performance) > > our (bad quality)kenrel tree can be found here(we're not yet kernel > hackers): iwconfig wlan0 power on now works I wonder if it really does something tough,I will test I changed added | IEEE80211_HW_SUPPORTS_PS in: wl->hw->flags = IEEE80211_HW_SIGNAL_DBM | IEEE80211_HW_NOISE_DBM; Denis. -- 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