Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
beacon.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/kdev_t.h>
#include <linux/slab.h>
#include "uwb-internal.h"

Go to the source code of this file.

Data Structures

struct  uwb_rc_cmd_start_beacon
 
struct  uwb_ie_bpo
 

Functions

struct uwb_rc_cmd_start_beacon __attribute__ ((packed))
 
int uwb_rc_beacon (struct uwb_rc *rc, int channel, unsigned bpst_offset)
 
void uwb_bce_kfree (struct kref *_bce)
 
struct uwb_devuwb_dev_get_by_devaddr (struct uwb_rc *rc, const struct uwb_dev_addr *devaddr)
 
struct uwb_devuwb_dev_get_by_macaddr (struct uwb_rc *rc, const struct uwb_mac_addr *macaddr)
 
void uwb_beca_purge (struct uwb_rc *rc)
 
void uwb_beca_release (struct uwb_rc *rc)
 
ssize_t uwb_bce_print_IEs (struct uwb_dev *uwb_dev, struct uwb_beca_e *bce, char *buf, size_t size)
 
int uwbd_evt_handle_rc_beacon (struct uwb_event *evt)
 
int uwbd_evt_handle_rc_beacon_size (struct uwb_event *evt)
 
int uwbd_evt_handle_rc_bp_slot_change (struct uwb_event *evt)
 
int uwbd_evt_handle_rc_bpoie_change (struct uwb_event *evt)
 
 DEVICE_ATTR (beacon, S_IRUGO|S_IWUSR, uwb_rc_beacon_show, uwb_rc_beacon_store)
 

Variables

struct uwb_rccb rccb
 
__le16 wBPSTOffset
 
u8 bChannelNumber
 
struct uwb_ie_hdr hdr
 
u8 bp_length
 
u8 data []
 

Function Documentation

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.

DEVICE_ATTR ( beacon  ,
S_IRUGO S_IWUSR,
uwb_rc_beacon_show  ,
uwb_rc_beacon_store   
)
void uwb_bce_kfree ( struct kref _bce)

Definition at line 161 of file beacon.c.

ssize_t uwb_bce_print_IEs ( struct uwb_dev uwb_dev,
struct uwb_beca_e bce,
char buf,
size_t  size 
)

Definition at line 330 of file beacon.c.

void uwb_beca_purge ( struct uwb_rc rc)

Definition at line 283 of file beacon.c.

void uwb_beca_release ( struct uwb_rc rc)

Definition at line 299 of file beacon.c.

struct uwb_dev* uwb_dev_get_by_devaddr ( struct uwb_rc rc,
const struct uwb_dev_addr devaddr 
)
read

uwb_dev_get_by_devaddr - get a UWB device with a specific DevAddr : the radio controller that saw the device : DevAddr of the UWB device to find

There may be more than one matching device (in the case of a DevAddr conflict), but only the first one is returned.

Definition at line 209 of file beacon.c.

struct uwb_dev* uwb_dev_get_by_macaddr ( struct uwb_rc rc,
const struct uwb_mac_addr macaddr 
)
read

uwb_dev_get_by_macaddr - get a UWB device with a specific EUI-48 : the radio controller that saw the device : EUI-48 of the UWB device to find

Definition at line 229 of file beacon.c.

int uwb_rc_beacon ( struct uwb_rc rc,
int  channel,
unsigned  bpst_offset 
)

Definition at line 115 of file beacon.c.

int uwbd_evt_handle_rc_beacon ( struct uwb_event evt)

Definition at line 390 of file beacon.c.

int uwbd_evt_handle_rc_beacon_size ( struct uwb_event evt)

Definition at line 469 of file beacon.c.

int uwbd_evt_handle_rc_bp_slot_change ( struct uwb_event evt)

uwbd_evt_handle_rc_bp_slot_change - handle a BP_SLOT_CHANGE event : the BP_SLOT_CHANGE notification from the radio controller

If the event indicates that no beacon period slots were available then radio controller has transitioned to a non-beaconing state. Otherwise, simply save the current beacon slot.

Definition at line 506 of file beacon.c.

int uwbd_evt_handle_rc_bpoie_change ( struct uwb_event evt)

Definition at line 540 of file beacon.c.

Variable Documentation

u8 bChannelNumber

Definition at line 43 of file beacon.c.

u8 bp_length

Definition at line 540 of file beacon.c.

u8 data[]

Definition at line 541 of file beacon.c.

Definition at line 539 of file beacon.c.

Definition at line 41 of file beacon.c.

__le16 wBPSTOffset

Definition at line 42 of file beacon.c.