Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
wusb.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/uwb/umc.h>
#include "../../wusbcore/wusbhc.h"
#include "whcd.h"

Go to the source code of this file.

Functions

int whc_wusbhc_start (struct wusbhc *wusbhc)
 
void whc_wusbhc_stop (struct wusbhc *wusbhc, int delay)
 
int whc_mmcie_add (struct wusbhc *wusbhc, u8 interval, u8 repeat_cnt, u8 handle, struct wuie_hdr *wuie)
 
int whc_mmcie_rm (struct wusbhc *wusbhc, u8 handle)
 
int whc_bwa_set (struct wusbhc *wusbhc, s8 stream_index, const struct uwb_mas_bm *mas_bm)
 
int whc_dev_info_set (struct wusbhc *wusbhc, struct wusb_dev *wusb_dev)
 
int whc_set_num_dnts (struct wusbhc *wusbhc, u8 interval, u8 slots)
 
int whc_set_ptk (struct wusbhc *wusbhc, u8 port_idx, u32 tkid, const void *ptk, size_t key_size)
 
int whc_set_gtk (struct wusbhc *wusbhc, u32 tkid, const void *gtk, size_t key_size)
 
int whc_set_cluster_id (struct whc *whc, u8 bcid)
 

Function Documentation

int whc_bwa_set ( struct wusbhc wusbhc,
s8  stream_index,
const struct uwb_mas_bm mas_bm 
)

Definition at line 94 of file wusb.c.

int whc_dev_info_set ( struct wusbhc wusbhc,
struct wusb_dev wusb_dev 
)

Definition at line 104 of file wusb.c.

int whc_mmcie_add ( struct wusbhc wusbhc,
u8  interval,
u8  repeat_cnt,
u8  handle,
struct wuie_hdr wuie 
)

Definition at line 70 of file wusb.c.

int whc_mmcie_rm ( struct wusbhc wusbhc,
u8  handle 
)

Definition at line 84 of file wusb.c.

int whc_set_cluster_id ( struct whc whc,
u8  bcid 
)

Definition at line 218 of file wusb.c.

int whc_set_gtk ( struct wusbhc wusbhc,
u32  tkid,
const void gtk,
size_t  key_size 
)

whc_set_gtk - set the GTK for subsequent broadcast packets

The GTK is stored in the last entry in the key table (the previous N_DEVICES entries are for the per-device PTKs).

Definition at line 203 of file wusb.c.

int whc_set_num_dnts ( struct wusbhc wusbhc,
u8  interval,
u8  slots 
)

Definition at line 128 of file wusb.c.

int whc_set_ptk ( struct wusbhc wusbhc,
u8  port_idx,
u32  tkid,
const void ptk,
size_t  key_size 
)

whc_set_ptk - set the PTK to use for a device.

The index into the key table for this PTK is the same as the device's port index.

Definition at line 172 of file wusb.c.

int whc_wusbhc_start ( struct wusbhc wusbhc)

Definition at line 44 of file wusb.c.

void whc_wusbhc_stop ( struct wusbhc wusbhc,
int  delay 
)

Definition at line 54 of file wusb.c.