summaryrefslogtreecommitdiffstats
path: root/net/ieee802154/wpan-class.c
Commit message (Collapse)AuthorAgeFilesLines
* ieee802154: make wpan-phy class registration to subsys_initcallDmitry Eremin-Solenikov2009-11-131-1/+1
| | | | | | | | Move ieee802154 initialisation to subsys_initcall call, so that wpan-phy class is initialised before all devices (thus saving us from oops during bootup). Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* ieee802154: merge nl802154 and wpan-class in single moduleDmitry Eremin-Solenikov2009-11-061-3/+20
| | | | | | | There is no real need to have ieee802154 interfaces separate into several small modules, as neither of them has it's own use. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* wpan-phy: follow usual patter of devices registrationDmitry Eremin-Solenikov2009-11-061-3/+1
| | | | | | | | Follow the usual pattern of devices registration by adding new function (wpan_phy_set_dev) that sets child->parent relationship and removing parent argument from wpan_phy_register call. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* wpan-phy: allow specifying a per-page channel maskDmitry Eremin-Solenikov2009-11-061-1/+19
| | | | | | | | IEEE 802.15.4-2006 defines channel pages that hold channels (max 32 pages, 27 channels per page). Allow the driver to specify supported channels on pages, other than the first one. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* wpan-phy: use snprintf to limit the amount of chars writtenDmitry Eremin-Solenikov2009-11-061-1/+1
| | | | | | Use snprintf to limit the amount of chars put in the buffer for attr -> show. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* wpan-phy: init channel/page fieldsDmitry Eremin-Solenikov2009-11-061-0/+3
| | | | | | | | Set page to zero (for compatibility w/ devices supporting only first page). Also init channel by default to -1 to disallow transfers for non-initialised devices. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* wpan-phy: add wpan-phy iteration functionsDmitry Eremin-Solenikov2009-11-061-0/+25
| | | | | | Add API to iterate over the wpan-phy instances. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* ieee802154: add a sysfs representation of WPAN master devicesDmitry Eremin-Solenikov2009-08-191-0/+159
Add a sysfs/in-kernel representation of LR-WPAN master devices. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
OpenPOWER on IntegriCloud