mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
ieee802154: interface type to be added
This stack implementation distinguishes several types of slave interfaces. Another parameter to 'add_iface_' function is added to clarify the interface type is going to be registered. Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ef2486f553
commit
90c049b2c6
3 changed files with 15 additions and 2 deletions
|
|
@ -68,6 +68,7 @@ enum {
|
|||
IEEE802154_ATTR_CHANNEL_PAGE_LIST,
|
||||
|
||||
IEEE802154_ATTR_PHY_NAME,
|
||||
IEEE802154_ATTR_DEV_TYPE,
|
||||
|
||||
__IEEE802154_ATTR_MAX,
|
||||
};
|
||||
|
|
@ -126,4 +127,9 @@ enum {
|
|||
|
||||
#define IEEE802154_CMD_MAX (__IEEE802154_CMD_MAX - 1)
|
||||
|
||||
enum {
|
||||
__IEEE802154_DEV_INVALID = -1,
|
||||
__IEEE802154_DEV_MAX,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue