Home
last modified time | relevance | path

Searched refs:mmie (Results 1 – 3 of 3) sorted by relevance

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Dwpa.c938 struct ieee80211_mmie *mmie; in ieee80211_crypto_aes_cmac_encrypt() local
953 if (WARN_ON(skb_tailroom(skb) < sizeof(*mmie))) in ieee80211_crypto_aes_cmac_encrypt()
956 mmie = skb_put(skb, sizeof(*mmie)); in ieee80211_crypto_aes_cmac_encrypt()
957 mmie->element_id = WLAN_EID_MMIE; in ieee80211_crypto_aes_cmac_encrypt()
958 mmie->length = sizeof(*mmie) - 2; in ieee80211_crypto_aes_cmac_encrypt()
959 mmie->key_id = cpu_to_le16(key->conf.keyidx); in ieee80211_crypto_aes_cmac_encrypt()
964 bip_ipn_set64(mmie->sequence_number, pn64); in ieee80211_crypto_aes_cmac_encrypt()
975 skb->data + 24, skb->len - 24, mmie->mic); in ieee80211_crypto_aes_cmac_encrypt()
986 struct ieee80211_mmie_16 *mmie; in ieee80211_crypto_aes_cmac_256_encrypt() local
1000 if (WARN_ON(skb_tailroom(skb) < sizeof(*mmie))) in ieee80211_crypto_aes_cmac_256_encrypt()
[all …]
Drx.c988 struct ieee80211_mmie *mmie; in ieee80211_get_mmie_keyidx() local
991 if (skb->len < 24 + sizeof(*mmie) || !is_multicast_ether_addr(hdr->da)) in ieee80211_get_mmie_keyidx()
997 mmie = (struct ieee80211_mmie *) in ieee80211_get_mmie_keyidx()
998 (skb->data + skb->len - sizeof(*mmie)); in ieee80211_get_mmie_keyidx()
999 if (mmie->element_id == WLAN_EID_MMIE && in ieee80211_get_mmie_keyidx()
1000 mmie->length == sizeof(*mmie) - 2) in ieee80211_get_mmie_keyidx()
1001 return le16_to_cpu(mmie->key_id); in ieee80211_get_mmie_keyidx()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/
Dtxrx.c1250 struct ieee80211_mmie *mmie = (struct ieee80211_mmie *) icv; local
1251 memset(mmie, 0, sizeof(struct ieee80211_mmie));
1252 mmie->element_id = WLAN_EID_MMIE;
1253 mmie->length = sizeof(*mmie) - 2;