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
..
2015-03-02 16:43:41 -05:00
2015-07-04 19:11:33 -07:00
2015-03-06 21:50:02 -05:00
2015-07-23 17:10:49 +02:00
2015-07-15 17:03:03 -07:00
2015-07-02 11:32:23 -07:00
2015-07-21 16:23:50 -07:00
2014-10-07 20:28:44 -04:00
2015-07-21 00:28:36 -07:00