Home
last modified time | relevance | path

Searched refs:seq_len (Results 1 – 17 of 17) sorted by relevance

/drivers/net/wireless/iwmc3200wifi/
Dcfg80211.c150 params->seq_len > IW_ENCODE_SEQ_MAX_SIZE) in iwm_key_init()
155 key->seq_len = params->seq_len; in iwm_key_init()
157 memcpy(key->seq, params->seq, key->seq_len); in iwm_key_init()
207 params.seq_len = key->seq_len; in iwm_cfg80211_get_key()
636 key_param.seq_len = 0; in iwm_cfg80211_connect()
Dcommands.c695 if (key->seq_len) in iwm_set_key()
696 memcpy(ccmp->iv_count, key->seq, key->seq_len); in iwm_set_key()
718 if (key->seq_len) in iwm_set_key()
719 memcpy(ccmp->iv_count, key->seq, key->seq_len); in iwm_set_key()
Diwm.h173 int seq_len; member
/drivers/net/wireless/orinoco/
Dwext.c31 const u8 *seq, int seq_len) in orinoco_set_key() argument
43 if (seq_len) { in orinoco_set_key()
44 priv->keys[index].seq = kzalloc(seq_len, GFP_ATOMIC); in orinoco_set_key()
51 priv->keys[index].seq_len = seq_len; in orinoco_set_key()
55 if (seq_len) in orinoco_set_key()
56 memcpy(priv->keys[index].seq, seq, seq_len); in orinoco_set_key()
82 priv->keys[index].seq_len = 0; in orinoco_set_key()
/drivers/staging/vt6655/
Dwpactl.c218 param->u.wpa_key.seq_len >= MAX_KEY_LEN) in wpa_set_keys()
277 memcpy(&abySeq[0], param->u.wpa_key.seq, param->u.wpa_key.seq_len); in wpa_set_keys()
282 copy_from_user(&abySeq[0], param->u.wpa_key.seq, param->u.wpa_key.seq_len)) { in wpa_set_keys()
289 if (param->u.wpa_key.seq_len > 0) { in wpa_set_keys()
290 for (ii = 0 ; ii < param->u.wpa_key.seq_len ; ii++) { in wpa_set_keys()
Diowpa.h109 u16 seq_len; member
Diwctl.c1933 size_t seq_len=0,key_len=0; in iwctl_siwencodeext() local
1978 seq_len=IW_ENCODE_SEQ_MAX_SIZE; in iwctl_siwencodeext()
1979 memcpy(seq, ext->rx_seq, seq_len); in iwctl_siwencodeext()
2005 param->u.wpa_key.seq_len = seq_len; in iwctl_siwencodeext()
2017 printk("param->u.wpa_key.seq_len =%d\n",param->u.wpa_key.seq_len); in iwctl_siwencodeext()
2019 for(ii=0;ii<param->u.wpa_key.seq_len;ii++) in iwctl_siwencodeext()
/drivers/staging/vt6656/
Dwpactl.c260 if (param->u.wpa_key.seq && param->u.wpa_key.seq_len > sizeof(abySeq)) in wpa_set_keys()
265 memcpy(&abySeq[0], param->u.wpa_key.seq, param->u.wpa_key.seq_len); in wpa_set_keys()
269 param->u.wpa_key.seq_len)) { in wpa_set_keys()
276 if (param->u.wpa_key.seq_len > 0) { in wpa_set_keys()
277 for (ii = 0 ; ii < param->u.wpa_key.seq_len ; ii++) { in wpa_set_keys()
Diowpa.h102 u16 seq_len; member
Diwctl.c1633 size_t seq_len=0,key_len=0; in iwctl_siwencodeext() local
1676 seq_len=IW_ENCODE_SEQ_MAX_SIZE; in iwctl_siwencodeext()
1677 memcpy(seq, ext->rx_seq, seq_len); in iwctl_siwencodeext()
1703 param->u.wpa_key.seq_len = seq_len; in iwctl_siwencodeext()
/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c1011 int seq_len; in ath6kl_cfg80211_add_key() local
1040 seq_len = params->seq_len; in ath6kl_cfg80211_add_key()
1042 seq_len > ATH6KL_KEY_SEQ_LEN) { in ath6kl_cfg80211_add_key()
1044 seq_len = ATH6KL_KEY_SEQ_LEN; in ath6kl_cfg80211_add_key()
1047 seq_len > sizeof(key->seq)) in ath6kl_cfg80211_add_key()
1052 key->seq_len = seq_len; in ath6kl_cfg80211_add_key()
1053 memcpy(key->seq, params->seq, key->seq_len); in ath6kl_cfg80211_add_key()
1085 key_usage, key->seq_len); in ath6kl_cfg80211_add_key()
1124 key->seq, key->seq_len, key->key, in ath6kl_cfg80211_add_key()
1185 params.seq_len = key->seq_len; in ath6kl_cfg80211_get_key()
[all …]
Dcore.h284 u8 seq_len; member
/drivers/net/wireless/
Drndis_wlan.c1434 int seq_len, u32 cipher, __le32 flags) in add_wpa_key() argument
1452 if (!rx_seq || seq_len <= 0) { in add_wpa_key()
1457 if (rx_seq && seq_len > sizeof(ndis_key.rsc)) { in add_wpa_key()
1494 memcpy(ndis_key.rsc, rx_seq, seq_len); in add_wpa_key()
2456 if (params->seq && params->seq_len > 0) in rndis_add_key()
2464 params->seq_len, params->cipher, flags); in rndis_add_key()
/drivers/net/wireless/libertas/
Dcfg.c1516 lbs_deb_assoc("add_key: seq len %d\n", params->seq_len); in lbs_cfg_add_key()
1517 if (params->seq_len) in lbs_cfg_add_key()
1519 params->seq, params->seq_len); in lbs_cfg_add_key()
/drivers/staging/wlan-ng/
Dcfg80211.c222 params.seq_len = 0; in prism2_get_key()
/drivers/net/wireless/brcm80211/brcmfmac/
Dwl_cfg80211.c1579 if (params->seq && params->seq_len == 6) { in brcmf_add_keyext()
/drivers/net/wireless/bcmdhd/
Dwl_cfg80211.c3640 if (params->seq && params->seq_len == 6) { in wl_add_keyext()