18 #include <linux/kernel.h>
22 #include "../../wusbcore/wusbhc.h"
26 static int whc_update_di(
struct whc *
whc,
int idx)
57 u32 stop_time, now_time;
64 stop_time = (now_time + ((delay * 8) << 7)) & 0x00ffffff;
76 params = (interval << 24)
98 if (stream_index >= 0)
117 ret = whc_update_di(whc, idx);
150 memcpy(seckey, key, key_size);
156 for (i = 0; i < 4; i++)
173 const void *
ptk,
size_t key_size)
182 ret = whc_set_key(whc, port_idx, tkid, ptk, key_size,
false);
191 ret = whc_update_di(whc, port_idx);
204 const void *gtk,
size_t key_size)
211 ret = whc_set_key(whc, whc->
n_devices, tkid, gtk, key_size,
true);