# net_device Struct Reference

IEEE 802.15.4 network link device abstraction. More...

`#include <iwconfig.h>`

Collaboration diagram for net_device:

[legend]

## Data Fields
uint8_t | name
uint16_t | mtu
uint8_t | dev_addr [MAX_ADDR_LEN]
lpstate_t | lpstate
uint8_t | channel
uint16_t | panid
uint8_t | key [KEYSIZE]
int16_t | tx_pwr

## Detailed Description

IEEE 802.15.4 network link device abstraction.

## Field Documentation

uint8_t net_device::name

Name of the link interface.

Note:
  The default 15.4 radio interface name is LPAN0. This is fixed by the kernel library and cannot be changed by developers.

uint16_t net_device::mtu

MTU size of link interface. This cannot be changed.

uint8_t net_device::dev_addr[MAX_ADDR_LEN]

Link (MAC) address of the device.

lpstate_t net_device::lpstate

Low power configurations.

uint8_t net_device::channel

15.4 channel

uint16_t net_device::panid

15.4 PAN ID.

uint8_t net_device::key[KEYSIZE]

Security key.

int16_t net_device::tx_pwr

15.4 radio transmission power in discrete units of dBm. (e.g. 0dBm) The actual values are provided through proper enumerations.

Note:
  The supported range is manufacturer dependent.

The documentation for this struct was generated from the following file:

- iwconfig.h