If the main thread gets one PS AWAKE event and one PS SLEEP event
in one iteration over event_fifo there will never be checks for
commands to be processed, since psstate will always be
PS_STATE_SLEEP or PS_STATE_PRE_SLEEP
Signed-off-by: Andreas Kemnade
---
changes in v3: corrected paths
changes
forever
for the command being processed, so disable it.
Signed-off-by: Andreas Kemnade
---
changes in v3: corrected paths
changes in v2: improved commit message, reordered: was 6/6
drivers/net/wireless/marvell/libertas/main.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git
This series makes IEEE 80211 powersave mode work again so
that power usage is dramatically reduced when the device is connected.
It does not include other power saving methods which are working
when the device is not connected (like enabling
deep sleep modus)
Tested on GTA04 which includes a
such conditions.
Signed-off-by: Andreas Kemnade
---
changes in v3: corrected paths
changes in v2: reordered, was 3/6
drivers/net/wireless/marvell/libertas/cfg.c | 38
+
1 file changed, 38 insertions(+)
diff --git a/drivers/net/wireless/marvell/libertas/cfg.c
b
If a sdio host does not support sdio irqs, polling is used
instead. That has an impact on performance. Some functionality
should not be enabled then. This add a variable in
libertas_priv to indicate that.
Signed-off-by: Andreas Kemnade
---
changes in v3:
corrected paths
drivers/net/wireless
is needed.
Signed-off-by: Andreas Kemnade
---
changes in v3: corrected paths
changes in v2: reordered, was 5/6
drivers/net/wireless/marvell/libertas/cmd.c | 36
+---
1 file changed, 5 insertions(+), 31 deletions(-)
diff --git a/drivers/net/wireless/marvell/libertas
and buffer
This piece of code was unused since power saving was
not enabled.
Signed-off-by: Andreas Kemnade
---
changes in v3:
corrected paths
changes in v2:
improved commit message
drivers/net/wireless/marvell/libertas/cmd.c | 4 ++--
drivers/net/wireless/marvell/libertas/cmdresp.c | 5 -
is needed.
Signed-off-by: Andreas Kemnade <andr...@kemnade.info>
---
changes in v3: corrected paths
changes in v2: reordered, was 5/6
drivers/net/wireless/marvell/libertas/cmd.c | 36
+---
1 file changed, 5 insertions(+), 31 deletions(-)
diff --git a/drive
and buffer
This piece of code was unused since power saving was
not enabled.
Signed-off-by: Andreas Kemnade <andr...@kemnade.info>
---
changes in v3:
corrected paths
changes in v2:
improved commit message
drivers/net/wireless/marvell/libertas/cmd.c | 4 ++--
drivers/net/wireless/marvell
If a sdio host does not support sdio irqs, polling is used
instead. That has an impact on performance. Some functionality
should not be enabled then. This add a variable in
libertas_priv to indicate that.
Signed-off-by: Andreas Kemnade <andr...@kemnade.info>
---
changes in v3:
corrected
This series makes IEEE 80211 powersave mode work again so
that power usage is dramatically reduced when the device is connected.
It does not include other power saving methods which are working
when the device is not connected (like enabling
deep sleep modus)
Tested on GTA04 which includes a
such conditions.
Signed-off-by: Andreas Kemnade <andr...@kemnade.info>
---
changes in v3: corrected paths
changes in v2: reordered, was 3/6
drivers/net/wireless/marvell/libertas/cfg.c | 38
+
1 file changed, 38 insertions(+)
diff --git a/drivers/net/wireless/m
If the main thread gets one PS AWAKE event and one PS SLEEP event
in one iteration over event_fifo there will never be checks for
commands to be processed, since psstate will always be
PS_STATE_SLEEP or PS_STATE_PRE_SLEEP
Signed-off-by: Andreas Kemnade <andr...@kemnade.info>
---
changes
forever
for the command being processed, so disable it.
Signed-off-by: Andreas Kemnade <andr...@kemnade.info>
---
changes in v3: corrected paths
changes in v2: improved commit message, reordered: was 6/6
drivers/net/wireless/marvell/libertas/main.c | 7 ++-
1 file changed, 6 insertions
On Fri, 22 Jan 2016 20:12:29 +
One Thousand Gnomes wrote:
> > I would have expected that the main (and IMO sufficient) reason why
> > the kernel should do it is because the particular bus used to connect
> > a BT chip to the CPU is a hw detail that a kernel that does its job
> > should keep
On Fri, 22 Jan 2016 20:12:29 +
One Thousand Gnomes wrote:
> > I would have expected that the main (and IMO sufficient) reason why
> > the kernel should do it is because the particular bus used to connect
> > a BT chip to the CPU is a hw detail that a kernel that
On Wed, 20 Jan 2016 14:42:47 +0200
Kalle Valo wrote:
> Andreas Kemnade writes:
>
> > Enables auto deep sleep whenever the interface is up and
> > power managament is enabled, so there is also power management
> > when there is no connection
> > That reduces powe
On Wed, 20 Jan 2016 14:42:47 +0200
Kalle Valo <kv...@codeaurora.org> wrote:
> Andreas Kemnade <andr...@kemnade.info> writes:
>
> > Enables auto deep sleep whenever the interface is up and
> > power managament is enabled, so there is also power management
&
If the main thread gets one PS AWAKE event and one PS SLEEP event
in one iteration over event_fifo there will never be checks for
commands to be processed, since psstate will always be
PS_STATE_SLEEP or PS_STATE_PRE_SLEEP
Signed-off-by: Andreas Kemnade
---
drivers/net/wireless/libertas
When the device goes to suspend mode with powersaving enabled,
lbs_remove_card tries to exit powersaving state even
when already woken up. That command is not processed properly in
that situation, so the system hangs at suspend,
so disable it.
Signed-off-by: Andreas Kemnade
---
drivers/net
is needed.
Signed-off-by: Andreas Kemnade
---
drivers/net/wireless/libertas/cmd.c | 36 +---
1 file changed, 5 insertions(+), 31 deletions(-)
diff --git a/drivers/net/wireless/libertas/cmd.c
b/drivers/net/wireless/libertas/cmd.c
index 40467d6..4ddd0e5 100644
such conditions.
Signed-off-by: Andreas Kemnade
---
drivers/net/wireless/libertas/cfg.c | 38 +
1 file changed, 38 insertions(+)
diff --git a/drivers/net/wireless/libertas/cfg.c
b/drivers/net/wireless/libertas/cfg.c
index 8317afd..fd18d03 100644
--- a/drivers/net
This series makes IEEE 80211 powersave mode work again so
that power usage is dramatically reduced when the device is connected.
It does not include other power saving methods which are working
when the device is not connected (like enabling
deep sleep modus)
Tested on GTA04 which includes a
If a sdio host does not support sdio irqs, polling is used
instead. That has an impact on performance. Some functionality
should not be enabled then. This add a variable in
libertas_priv to indicate that.
Signed-off-by: Andreas Kemnade
---
drivers/net/wireless/libertas/dev.h | 1 +
drivers
struct cmd_ds_802_11_ps_mode
contains the command header and a pointer to it was
initialized with data points to the body which leads to
mis-interpretation of the cmd_ds_802_11_ps_mode.action member.
Signed-off-by: Andreas Kemnade
---
drivers/net/wireless/libertas/cmd.c | 4 ++--
drivers
struct cmd_ds_802_11_ps_mode
contains the command header and a pointer to it was
initialized with data points to the body which leads to
mis-interpretation of the cmd_ds_802_11_ps_mode.action member.
Signed-off-by: Andreas Kemnade <andr...@kemnade.info>
---
drivers/net/wireless/libertas
If a sdio host does not support sdio irqs, polling is used
instead. That has an impact on performance. Some functionality
should not be enabled then. This add a variable in
libertas_priv to indicate that.
Signed-off-by: Andreas Kemnade <andr...@kemnade.info>
---
drivers/net/wireless/li
This series makes IEEE 80211 powersave mode work again so
that power usage is dramatically reduced when the device is connected.
It does not include other power saving methods which are working
when the device is not connected (like enabling
deep sleep modus)
Tested on GTA04 which includes a
If the main thread gets one PS AWAKE event and one PS SLEEP event
in one iteration over event_fifo there will never be checks for
commands to be processed, since psstate will always be
PS_STATE_SLEEP or PS_STATE_PRE_SLEEP
Signed-off-by: Andreas Kemnade <andr...@kemnade.info>
---
drive
such conditions.
Signed-off-by: Andreas Kemnade <andr...@kemnade.info>
---
drivers/net/wireless/libertas/cfg.c | 38 +
1 file changed, 38 insertions(+)
diff --git a/drivers/net/wireless/libertas/cfg.c
b/drivers/net/wireless/libertas/cfg.c
index 8317afd..f
When the device goes to suspend mode with powersaving enabled,
lbs_remove_card tries to exit powersaving state even
when already woken up. That command is not processed properly in
that situation, so the system hangs at suspend,
so disable it.
Signed-off-by: Andreas Kemnade <andr...@kemnade.i
is needed.
Signed-off-by: Andreas Kemnade <andr...@kemnade.info>
---
drivers/net/wireless/libertas/cmd.c | 36 +---
1 file changed, 5 insertions(+), 31 deletions(-)
diff --git a/drivers/net/wireless/libertas/cmd.c
b/drivers/net/wireless/libertas/cmd.c
index 4
hdq_usecount was set to zero after a successful read, so
omap_hdq_put could not properly free resources which leads
e.g. to increasing usecounts in lsmod output
Signed-off-by: Andreas Kemnade
---
drivers/w1/masters/omap_hdq.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/w1/masters
hdq_usecount was set to zero after a successful read, so
omap_hdq_put could not properly free resources which leads
e.g. to increasing usecounts in lsmod output
Signed-off-by: Andreas Kemnade <andr...@kemnade.info>
---
drivers/w1/masters/omap_hdq.c | 1 -
1 file changed, 1 deletion(-)
struct cmd_ds_802_11_ps_mode
contains the command header and a pointer to it was
initialized with data points to the body which leads to
mis-interpretation of the cmd_ds_802_11_ps_mode.action member.
Signed-off-by: Andreas Kemnade
---
drivers/net/wireless/libertas/cmd.c |4 ++--
drivers
struct cmd_ds_802_11_ps_mode
contains the command header and a pointer to it was
initialized with data points to the body which leads to
mis-interpretation of the cmd_ds_802_11_ps_mode.action member.
Signed-off-by: Andreas Kemnade <andr...@kemnade.info>
---
drivers/net/wireless/libertas
tically done,
but end of charge due to low current not.
Note: If linear charging mode is used there should be some method of
stopping charging automatically. It is not a so time-critical, but
it is the wrong setting for leaving a charger connected for several
days sinc
CC/CV mode is still automatically done,
but end of charge due to low current not.
Note: If linear charging mode is used there should be some method of
stopping charging automatically. It is not a so time-critical, but
it is the wrong setting fo
wer source are.
- the amount of current available changes
- 500mA at around 17km/h
- you cannot destroy it by electrically overloading
If the current is set to e.g. 500mA and that linear charging mode is
enabled, the battery gets the maximum current available (upto
500mA) regardless of the speed which is often changing.
Regards,
Andreas Kemnade
signature.asc
Description: PGP signature
cal characteristics of a bicycle as a power source are.
- the amount of current available changes
- 500mA at around 17km/h
- you cannot destroy it by electrically overloading
If the current is set to e.g. 500mA and that linear charging mode is
enabled, the battery gets the maximum current available (upto
500mA) regardless of the speed which is often changing.
Regards,
Andreas Kemnade
signature.asc
Description: PGP signature
401 - 440 of 440 matches
Mail list logo