Search Linux Wireless

Re: wl1271: how to use without runtime pm

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

 



On Fri, 2010-12-31 at 01:08 +0300, ext Sergey Matyukevich wrote:
> On Wed, 29 Dec 2010 23:22:05 +0200
> Ohad Ben-Cohen <ohad@xxxxxxxxxx> wrote:
> 
> > On Wed, Dec 29, 2010 at 11:07 PM, Sergey Matyukevich
> > <geomatsi@xxxxxxxxx> wrote:
> > > So the question is: what is the proper use of wl1271 driver in the
> > > case when  wl1271 card is powered all the time ?
> > 
> > The wl1271 driver assumes it can control the power of the card.
> > 
> > If your card's power is always on, you will not be able to toggle the
> > interface down and up (as you have experienced).
> > 
> > It might be possible to change the driver around this "limitation",
> > but I'm not sure anyone has ever really tried.
> 
> A simple solution which comes to mind would be to perform some kind of
> 'complete soft reset procedure' for wl1271 card in the beginning of the
> function 'wl1271_op_add_interface'. But I guess such a feature is not
> available for this card. Qtherwise it would be already implemented by
> Luciano and his colleagues.

I don't know about any reset functionality in the wl1271.  Maybe the
hardware recovery mechanism could be used, but I'm not sure.

In any case, the reason why we power the card on only when the interface
is brought up is because of power consumption.  If the interface is
down, there's no reason to keep the chip powered on and consume
unnecessary power.

If the case of cards that really cannot power off the wl1271 chip is
really unavoidable, we could think about a solution to solve the
problem.

PS: Note that this is the last day when this email address
(luciano.coelho@xxxxxxxxx) is valid, so please keep the linux-wireless
mailing list in CC so I can still read the messages. ;)


-- 
Cheers,
Luca.

--
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