Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:wkt

167 	wsec_key_t wkt;
169 os_memset(&wkt, 0, sizeof wkt);
177 wkt.algo = CRYPTO_ALGO_OFF;
180 wkt.algo = CRYPTO_ALGO_WEP128; /* CRYPTO_ALGO_WEP1? */
183 wkt.algo = 0; /* CRYPTO_ALGO_TKIP? */
186 wkt.algo = 0; /* CRYPTO_ALGO_AES_CCM;
190 wkt.algo = CRYPTO_ALGO_NALG;
200 wkt.index = key_idx;
201 wkt.len = key_len;
203 os_memcpy(wkt.data, key, key_len);
206 os_memcpy(&wkt.data[16], &key[24], 8);
207 os_memcpy(&wkt.data[24], &key[16], 8);
210 /* wkt.algo = CRYPTO_ALGO_...; */
211 wkt.flags = set_tx ? 0 : WSEC_PRIMARY_KEY;
213 os_memcpy(&wkt.ea, addr, sizeof(wkt.ea));
214 ret = broadcom_ioctl(drv, WLC_SET_KEY, &wkt, sizeof(wkt));
217 broadcom_ioctl(drv, 121, &wkt.ea, sizeof(wkt.ea));