mac802154: introduce driver-ops header
authorAlexander Aring <alex.aring@gmail.com>
Tue, 28 Oct 2014 17:21:20 +0000 (18:21 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 28 Oct 2014 22:19:07 +0000 (23:19 +0100)
commitb6eea9ca354aeb80d358ff52d046bb8a26bd2b17
treeb3789b53065ecec56d9d327073ec897a87d01c0e
parente37d2ec82a222f1819e7793a27bc052999a379fb
mac802154: introduce driver-ops header

This patch introduce a driver-ops header file with function wrappers to
call the driver ops. These wrappers checking on right context
information and warn if optional driver ops are called when these aren't
implemented. This behaviour is like mac80211 driver-ops header file,
just without function tracing calls.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/driver-ops.h [new file with mode: 0644]