Home
last modified time | relevance | path

Searched refs:set_key (Results 1 – 25 of 64) sorted by relevance

123

/drivers/staging/vt6656/
Dmac.c122 struct vnt_mac_set_key set_key; in vnt_mac_set_keyentry() local
128 set_key.u.write.key_ctl = cpu_to_le16(key_ctl); in vnt_mac_set_keyentry()
129 memcpy(set_key.u.write.addr, addr, ETH_ALEN); in vnt_mac_set_keyentry()
132 swap(set_key.u.swap[0], set_key.u.swap[1]); in vnt_mac_set_keyentry()
134 memcpy(set_key.key, key, WLAN_KEY_LEN_CCMP); in vnt_mac_set_keyentry()
137 offset, key_ctl, (u8 *)&set_key); in vnt_mac_set_keyentry()
140 (u16)key_idx, sizeof(struct vnt_mac_set_key), (u8 *)&set_key); in vnt_mac_set_keyentry()
/drivers/net/wireless/rsi/
Drsi_91x_mgmt.c702 struct rsi_set_key *set_key; in rsi_hal_load_key() local
715 set_key = (struct rsi_set_key *)skb->data; in rsi_hal_load_key()
732 set_key->desc_word[0] = cpu_to_le16((sizeof(struct rsi_set_key) - in rsi_hal_load_key()
735 set_key->desc_word[1] = cpu_to_le16(SET_KEY_REQ); in rsi_hal_load_key()
736 set_key->desc_word[4] = cpu_to_le16(key_descriptor); in rsi_hal_load_key()
740 memcpy(&set_key->key[key_id][1], in rsi_hal_load_key()
744 memcpy(&set_key->key[0][0], data, key_len); in rsi_hal_load_key()
747 memcpy(set_key->tx_mic_key, &data[16], 8); in rsi_hal_load_key()
748 memcpy(set_key->rx_mic_key, &data[24], 8); in rsi_hal_load_key()
/drivers/net/wireless/rt2x00/
Drt2x00mac.c459 int (*set_key) (struct rt2x00_dev *rt2x00dev, in rt2x00mac_set_key() local
526 set_key = rt2x00dev->ops->lib->config_pairwise_key; in rt2x00mac_set_key()
528 set_key = rt2x00dev->ops->lib->config_shared_key; in rt2x00mac_set_key()
530 if (!set_key) in rt2x00mac_set_key()
533 return set_key(rt2x00dev, &crypto, key); in rt2x00mac_set_key()
Drt2800soc.c147 .set_key = rt2x00mac_set_key,
Drt2800pci.c308 .set_key = rt2x00mac_set_key,
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt.h54 int (*set_key)(void *key, int len, u8 *seq, void *priv); member
Dieee80211_wx.c398 (*crypt)->ops->set_key(sec.keys[key], len, NULL, in ieee80211_wx_set_encode()
418 (*crypt)->ops->set_key(sec.keys[key], 13, NULL, in ieee80211_wx_set_encode()
632 if (ext->key_len > 0 && (*crypt)->ops->set_key && in ieee80211_wx_set_encode_ext()
633 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in ieee80211_wx_set_encode_ext()
Dieee80211_crypt.c196 .set_key = NULL,
Dieee80211_crypt_wep.c273 .set_key = prism2_wep_set_key,
/drivers/net/wireless/ti/wlcore/
Dhw_ops.h198 if (!wl->ops->set_key) in wlcore_hw_set_key()
201 return wl->ops->set_key(wl, cmd, vif, sta, key_conf); in wlcore_hw_set_key()
Dwlcore.h101 int (*set_key)(struct wl1271 *wl, enum set_key_cmd cmd, member
/drivers/net/wireless/ipw2x00/
Dlibipw_wx.c421 (*crypt)->ops->set_key(sec.keys[key], len, NULL, in libipw_wx_set_encode()
438 (*crypt)->ops->set_key(sec.keys[key], 13, NULL, in libipw_wx_set_encode()
636 if (ext->key_len > 0 && (*crypt)->ops->set_key && in libipw_wx_set_encodeext()
637 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in libipw_wx_set_encodeext()
/drivers/staging/rtl8192e/
Drtllib_wx.c412 (*crypt)->ops->set_key(sec.keys[key], len, NULL, in rtllib_wx_set_encode()
432 (*crypt)->ops->set_key(sec.keys[key], 13, NULL, in rtllib_wx_set_encode()
641 if (ext->key_len > 0 && (*crypt)->ops->set_key && in rtllib_wx_set_encode_ext()
642 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in rtllib_wx_set_encode_ext()
Drtllib_crypt.c197 .set_key = NULL,
Drtllib_crypt_wep.c268 .set_key = prism2_wep_set_key,
Drtllib_crypt_ccmp.c440 .set_key = rtllib_ccmp_set_key,
/drivers/net/wireless/orinoco/
Dwext.c727 int idx, alg = ext->alg, set_key = 1; in orinoco_ioctl_set_encodeext() local
753 set_key = ((alg == IW_ENCODE_ALG_TKIP) || in orinoco_ioctl_set_encodeext()
757 if (set_key) { in orinoco_ioctl_set_encodeext()
/drivers/net/wireless/rtlwifi/rtl8723ae/
Dsw.c249 .set_key = rtl8723e_set_key,
/drivers/net/wireless/rtlwifi/rtl8192ee/
Dsw.c245 .set_key = rtl92ee_set_key,
/drivers/net/wireless/rtlwifi/rtl8188ee/
Dsw.c263 .set_key = rtl88ee_set_key,
/drivers/net/wireless/rtlwifi/rtl8192de/
Dsw.c247 .set_key = rtl92de_set_key,
/drivers/net/wireless/rtlwifi/rtl8723be/
Dsw.c256 .set_key = rtl8723be_set_key,
/drivers/net/wireless/rtlwifi/rtl8192ce/
Dsw.c236 .set_key = rtl92ce_set_key,
/drivers/net/wireless/rtlwifi/rtl8192cu/
Dsw.c143 .set_key = rtl92c_set_key,
/drivers/net/wireless/rtlwifi/rtl8192se/
Dsw.c290 .set_key = rtl92se_set_key,

123