android_kernel_motorola_sm6225/net/mac802154
Alexander Aring 3cf24cf8c3 mac802154: cfg: add suspend and resume callbacks
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@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-07-23 17:10:49 +02:00
..
cfg.c mac802154: cfg: add suspend and resume callbacks 2015-07-23 17:10:49 +02:00
cfg.h mac802154: introduce mac802154_config_ops 2014-11-02 04:51:06 +01:00
driver-ops.h mac802154: add trace functionality for driver ops 2015-06-02 19:21:09 +02:00
ieee802154_i.h mac802154: cfg: add suspend and resume callbacks 2015-07-23 17:10:49 +02:00
iface.c mac802154: util: add stop_device utility function 2015-07-23 17:10:49 +02:00
Kconfig mac802154: select CRYPTO when needed 2015-05-19 19:35:48 +02:00
llsec.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2015-06-22 21:04:48 -07:00
llsec.h mac802154: add llsec decryption method 2014-05-16 17:23:41 -04:00
mac_cmd.c mac802154: mac802154_mlme_start_req() optimisation. 2015-05-26 20:26:10 +02:00
main.c mac802154: use WARN_ON() macro 2015-07-23 17:10:48 +02:00
Makefile mac802154: add trace functionality for driver ops 2015-06-02 19:21:09 +02:00
mib.c mac802154: remove mib lock 2015-05-23 17:57:08 +02:00
rx.c mac802154: cfg: add suspend and resume callbacks 2015-07-23 17:10:49 +02:00
trace.c mac802154: add trace functionality for driver ops 2015-06-02 19:21:09 +02:00
trace.h mac802154: add trace functionality for driver ops 2015-06-02 19:21:09 +02:00
tx.c mac802154: add interframe spacing time handling 2014-11-13 04:51:58 +01:00
util.c mac802154: util: add stop_device utility function 2015-07-23 17:10:49 +02:00