alistair23-linux/net/ieee802154
Alexander Aring edea8f7c75 cfg802154: introduce wpan phy flags
This patch introduce a flag property for the wpan phy structure.
The current flag settings in ieee802154_hw are accessable in mac802154
layer only which is okay for flags which indicates MAC handling which
are done by phy. For real PHY layer settings like cca mode, transmit
power, cca energy detection level.

The difference between these flags are that the MAC handling flags are
only handled in mac802154/HardMac layer e.g. on an interface up. The phy
settings are direct netlink calls from nl802154 into the driver layer
and the nl802154 need to have a chance to check if the driver supports
this handling before sending to the next layer.

We also check now on PHY flags while dumping and setting pib attributes.
In comparing with MIB attributes the 802.15.4 gives us an default value
which we assume when a transceiver implement less functionality. In case
of MIB settings the nl802154 layer doesn't need to check on the
ieee802154_hw flags then.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-05-19 11:44:42 +02:00
..
6lowpan ieee802154: 6lowpan: fix ARPHRD to ARPHRD_6LOWPAN 2015-03-14 17:11:30 +01:00
core.c ieee802154: change wpan-phy name to phy 2015-03-14 17:11:30 +01:00
core.h ieee802154: add wpan_phy dump support 2014-11-09 19:50:29 +01:00
header_ops.c ieee802154: move ieee802154 header 2014-10-25 21:39:57 +02:00
ieee802154.h ieee802154: add nl802154 framework 2014-11-09 19:50:29 +01:00
Kconfig ieee802154: create 6lowpan sub-directory 2015-01-08 07:25:59 +01:00
Makefile ieee802154: Add trace events for rdev->ops 2015-04-30 18:48:09 +02:00
netlink.c netlink: make nlmsg_end() and genlmsg_end() void 2015-01-18 01:03:45 -05:00
nl-mac.c ieee802154: change cca ed level to mbm 2015-05-19 11:44:42 +02:00
nl-phy.c ieee802154: introduce wpan_phy_supported 2015-05-19 11:44:42 +02:00
nl802154.c cfg802154: introduce wpan phy flags 2015-05-19 11:44:42 +02:00
nl802154.h ieee802154: add nl802154 framework 2014-11-09 19:50:29 +01:00
nl_policy.c ieee802154: mac802154: remove FSF address 2014-10-25 08:07:30 +02:00
rdev-ops.h cfg802154: pass name_assign_type to rdev_add_virtual_intf() 2015-04-30 18:48:10 +02:00
socket.c net: Pass kern from net_proto_family.create to sk_alloc 2015-05-11 10:50:17 -04:00
sysfs.c ieee802154: remove deprecated sysfs entries 2015-03-14 17:11:30 +01:00
sysfs.h ieee802154: introduce sysfs file 2014-10-28 23:19:09 +01:00
trace.c ieee802154: Add trace events for rdev->ops 2015-04-30 18:48:09 +02:00
trace.h ieee802154: trace: fix endian convertion 2015-04-30 18:48:11 +02:00