Re: [PATCH bluetooth-next 3/3] mac802154: cfg: add suspend and resume callbacks

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

 



Hi Alex,

> This patch introduces suspend and resume callbacks to mac802154. When
> doing suspend we calling the stop driver callback which should stop the
> receiving of frames. A transceiver should go into low-power mode then.
> Calling resume will call the start driver callback, which starts receiving
> again and allow to transmit frames.
> 
> This was tested only with the fakelb driver and a qemu vm by doing the
> following commands:
> 
> echo "devices" > /sys/power/pm_test
> echo "freeze" > /sys/power/state
> 
> while doing some high traffic between two fakelb phys.
> 
> Signed-off-by: Alexander Aring <alex.aring@xxxxxxxxx>
> ---
> net/mac802154/cfg.c          | 45 ++++++++++++++++++++++++++++++++++++++++++++
> net/mac802154/ieee802154_i.h |  1 +
> net/mac802154/rx.c           | 10 ++++++++--
> 3 files changed, 54 insertions(+), 2 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux