#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/random.h>
#include <linux/etherdevice.h>
#include "uwb-internal.h"
Go to the source code of this file.
|
struct uwb_rc_cmd_dev_addr_mgmt | __attribute__ ((packed)) |
|
int | uwb_rc_mac_addr_get (struct uwb_rc *rc, struct uwb_mac_addr *addr) |
|
| EXPORT_SYMBOL_GPL (uwb_rc_mac_addr_get) |
|
int | uwb_rc_dev_addr_get (struct uwb_rc *rc, struct uwb_dev_addr *addr) |
|
| EXPORT_SYMBOL_GPL (uwb_rc_dev_addr_get) |
|
int | uwb_rc_mac_addr_set (struct uwb_rc *rc, const struct uwb_mac_addr *addr) |
|
int | uwb_rc_dev_addr_set (struct uwb_rc *rc, const struct uwb_dev_addr *addr) |
|
int | __uwb_mac_addr_assigned_check (struct device *dev, void *_addr) |
|
int | __uwb_dev_addr_assigned_check (struct device *dev, void *_addr) |
|
int | uwb_rc_dev_addr_assign (struct uwb_rc *rc) |
|
int | uwbd_evt_handle_rc_dev_addr_conflict (struct uwb_event *evt) |
|
| DEVICE_ATTR (mac_address, S_IRUGO|S_IWUSR, uwb_rc_mac_addr_show, uwb_rc_mac_addr_store) |
|
size_t | __uwb_addr_print (char *buf, size_t buf_size, const unsigned char *addr, int type) |
|
| EXPORT_SYMBOL_GPL (__uwb_addr_print) |
|
mcontroller : adapter info structure for old mimd_t apps
: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id
Definition at line 171 of file esd_usb2.c.
Print to ,
- Returns
- bytes written
Definition at line 361 of file address.c.
DEVICE_ATTR |
( |
mac_address |
, |
|
|
S_IRUGO| |
S_IWUSR, |
|
|
uwb_rc_mac_addr_show |
, |
|
|
uwb_rc_mac_addr_store |
|
|
) |
| |
uwb_dev_addr_assign - assigned a generated DevAddr to a radio controller : the (local) radio controller device requiring a new DevAddr
A new DevAddr is required when:
- first setting up a radio controller
- if the hardware reports a DevAddr conflict
The DevAddr is randomly generated in the generated DevAddr range [0x100, 0xfeff]. The number of devices in a beacon group is limited by mMaxBPLength (96) so this address space will never be exhausted.
[ECMA-368] 17.1.1, 17.16.
Definition at line 277 of file address.c.
Get 's device address to
Definition at line 211 of file address.c.
Get 's MAC address to
Definition at line 203 of file address.c.
uwbd_evt_handle_rc_dev_addr_conflict - handle a DEV_ADDR_CONFLICT event : the DEV_ADDR_CONFLICT notification from the radio controller
A new (non-conflicting) DevAddr is assigned to the radio controller.
[ECMA-368] 17.1.1.1.
Definition at line 297 of file address.c.