linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libertas: support USB persistence on suspend/resume (resend)
@ 2008-07-01 18:43 andrey
  2008-07-01 19:52 ` Deepak Saxena
  2008-07-01 21:18 ` Dan Williams
  0 siblings, 2 replies; 3+ messages in thread
From: andrey @ 2008-07-01 18:43 UTC (permalink / raw)
  To: linux-wireless; +Cc: libertas-dev

Handle .reset_resume() so that libertas can survive suspend/resume without 
reloading the firmware.

Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
---
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
index 39b8fbb..aa3a4ff 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -962,6 +962,7 @@ static struct usb_driver if_usb_driver = {
 	.id_table = if_usb_table,
 	.suspend = if_usb_suspend,
 	.resume = if_usb_resume,
+	.reset_resume = if_usb_resume,
 };
 
 static int __init if_usb_init_module(void)



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] libertas: support USB persistence on suspend/resume (resend)
  2008-07-01 18:43 [PATCH] libertas: support USB persistence on suspend/resume (resend) andrey
@ 2008-07-01 19:52 ` Deepak Saxena
  2008-07-01 21:18 ` Dan Williams
  1 sibling, 0 replies; 3+ messages in thread
From: Deepak Saxena @ 2008-07-01 19:52 UTC (permalink / raw)
  To: andrey; +Cc: linux-wireless, libertas-dev


We need this on the OLPC XO to ensure that we don't loose connectivity to 
the mesh and/or AP during our aggressive suspend/resume cycling that we 
are doing (suspend after 30s of inactivity and working towards even more
agressive s/r cycles).

Signed-off-by: Deepak Saxena <dsaxena@laptop.org>

On Jul 01 2008, at 11:43, andrey@cozybit.com was caught saying:
> Handle .reset_resume() so that libertas can survive suspend/resume without 
> reloading the firmware.
> 
> Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
> ---
> diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
> index 39b8fbb..aa3a4ff 100644
> --- a/drivers/net/wireless/libertas/if_usb.c
> +++ b/drivers/net/wireless/libertas/if_usb.c
> @@ -962,6 +962,7 @@ static struct usb_driver if_usb_driver = {
>  	.id_table = if_usb_table,
>  	.suspend = if_usb_suspend,
>  	.resume = if_usb_resume,
> +	.reset_resume = if_usb_resume,
>  };
>  
>  static int __init if_usb_init_module(void)
> 
> 
> 
> _______________________________________________
> libertas-dev mailing list
> libertas-dev@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libertas-dev

-- 
   _____   __o  Deepak Saxena - Living CarFree and CareFree          (o>
------    -\<,  "When I see an adult on a bicycle, I do not despair  //\
 ----- ( )/ ( )  for the future of the human race." -H.G Wells       V_/_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libertas: support USB persistence on suspend/resume (resend)
  2008-07-01 18:43 [PATCH] libertas: support USB persistence on suspend/resume (resend) andrey
  2008-07-01 19:52 ` Deepak Saxena
@ 2008-07-01 21:18 ` Dan Williams
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Williams @ 2008-07-01 21:18 UTC (permalink / raw)
  To: andrey; +Cc: linux-wireless, libertas-dev

On Tue, 2008-07-01 at 11:43 -0700, andrey@cozybit.com wrote:
> Handle .reset_resume() so that libertas can survive suspend/resume without 
> reloading the firmware.
> 
> Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>

Acked-by: Dan Williams <dcbw@redhat.com>

> ---
> diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
> index 39b8fbb..aa3a4ff 100644
> --- a/drivers/net/wireless/libertas/if_usb.c
> +++ b/drivers/net/wireless/libertas/if_usb.c
> @@ -962,6 +962,7 @@ static struct usb_driver if_usb_driver = {
>  	.id_table = if_usb_table,
>  	.suspend = if_usb_suspend,
>  	.resume = if_usb_resume,
> +	.reset_resume = if_usb_resume,
>  };
>  
>  static int __init if_usb_init_module(void)
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-01 21:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-01 18:43 [PATCH] libertas: support USB persistence on suspend/resume (resend) andrey
2008-07-01 19:52 ` Deepak Saxena
2008-07-01 21:18 ` Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).