mmie 980 net/mac80211/rx.c struct ieee80211_mmie *mmie; mmie 983 net/mac80211/rx.c if (skb->len < 24 + sizeof(*mmie) || !is_multicast_ether_addr(hdr->da)) mmie 989 net/mac80211/rx.c mmie = (struct ieee80211_mmie *) mmie 990 net/mac80211/rx.c (skb->data + skb->len - sizeof(*mmie)); mmie 991 net/mac80211/rx.c if (mmie->element_id == WLAN_EID_MMIE && mmie 992 net/mac80211/rx.c mmie->length == sizeof(*mmie) - 2) mmie 993 net/mac80211/rx.c return le16_to_cpu(mmie->key_id); mmie 938 net/mac80211/wpa.c struct ieee80211_mmie *mmie; mmie 953 net/mac80211/wpa.c if (WARN_ON(skb_tailroom(skb) < sizeof(*mmie))) mmie 956 net/mac80211/wpa.c mmie = skb_put(skb, sizeof(*mmie)); mmie 957 net/mac80211/wpa.c mmie->element_id = WLAN_EID_MMIE; mmie 958 net/mac80211/wpa.c mmie->length = sizeof(*mmie) - 2; mmie 959 net/mac80211/wpa.c mmie->key_id = cpu_to_le16(key->conf.keyidx); mmie 964 net/mac80211/wpa.c bip_ipn_set64(mmie->sequence_number, pn64); mmie 975 net/mac80211/wpa.c skb->data + 24, skb->len - 24, mmie->mic); mmie 986 net/mac80211/wpa.c struct ieee80211_mmie_16 *mmie; mmie 1000 net/mac80211/wpa.c if (WARN_ON(skb_tailroom(skb) < sizeof(*mmie))) mmie 1003 net/mac80211/wpa.c mmie = skb_put(skb, sizeof(*mmie)); mmie 1004 net/mac80211/wpa.c mmie->element_id = WLAN_EID_MMIE; mmie 1005 net/mac80211/wpa.c mmie->length = sizeof(*mmie) - 2; mmie 1006 net/mac80211/wpa.c mmie->key_id = cpu_to_le16(key->conf.keyidx); mmie 1011 net/mac80211/wpa.c bip_ipn_set64(mmie->sequence_number, pn64); mmie 1018 net/mac80211/wpa.c skb->data + 24, skb->len - 24, mmie->mic); mmie 1029 net/mac80211/wpa.c struct ieee80211_mmie *mmie; mmie 1038 net/mac80211/wpa.c if (skb->len < 24 + sizeof(*mmie)) mmie 1041 net/mac80211/wpa.c mmie = (struct ieee80211_mmie *) mmie 1042 net/mac80211/wpa.c (skb->data + skb->len - sizeof(*mmie)); mmie 1043 net/mac80211/wpa.c if (mmie->element_id != WLAN_EID_MMIE || mmie 1044 net/mac80211/wpa.c mmie->length != sizeof(*mmie) - 2) mmie 1047 net/mac80211/wpa.c bip_ipn_swap(ipn, mmie->sequence_number); mmie 1059 net/mac80211/wpa.c if (crypto_memneq(mic, mmie->mic, sizeof(mmie->mic))) { mmie 1068 net/mac80211/wpa.c skb_trim(skb, skb->len - sizeof(*mmie)); mmie 1079 net/mac80211/wpa.c struct ieee80211_mmie_16 *mmie; mmie 1088 net/mac80211/wpa.c if (skb->len < 24 + sizeof(*mmie)) mmie 1091 net/mac80211/wpa.c mmie = (struct ieee80211_mmie_16 *) mmie 1092 net/mac80211/wpa.c (skb->data + skb->len - sizeof(*mmie)); mmie 1093 net/mac80211/wpa.c if (mmie->element_id != WLAN_EID_MMIE || mmie 1094 net/mac80211/wpa.c mmie->length != sizeof(*mmie) - 2) mmie 1097 net/mac80211/wpa.c bip_ipn_swap(ipn, mmie->sequence_number); mmie 1109 net/mac80211/wpa.c if (crypto_memneq(mic, mmie->mic, sizeof(mmie->mic))) { mmie 1118 net/mac80211/wpa.c skb_trim(skb, skb->len - sizeof(*mmie)); mmie 1129 net/mac80211/wpa.c struct ieee80211_mmie_16 *mmie; mmie 1145 net/mac80211/wpa.c if (WARN_ON(skb_tailroom(skb) < sizeof(*mmie))) mmie 1148 net/mac80211/wpa.c mmie = skb_put(skb, sizeof(*mmie)); mmie 1149 net/mac80211/wpa.c mmie->element_id = WLAN_EID_MMIE; mmie 1150 net/mac80211/wpa.c mmie->length = sizeof(*mmie) - 2; mmie 1151 net/mac80211/wpa.c mmie->key_id = cpu_to_le16(key->conf.keyidx); mmie 1156 net/mac80211/wpa.c bip_ipn_set64(mmie->sequence_number, pn64); mmie 1162 net/mac80211/wpa.c bip_ipn_swap(nonce + ETH_ALEN, mmie->sequence_number); mmie 1166 net/mac80211/wpa.c skb->data + 24, skb->len - 24, mmie->mic) < 0) mmie 1178 net/mac80211/wpa.c struct ieee80211_mmie_16 *mmie; mmie 1187 net/mac80211/wpa.c if (skb->len < 24 + sizeof(*mmie)) mmie 1190 net/mac80211/wpa.c mmie = (struct ieee80211_mmie_16 *) mmie 1191 net/mac80211/wpa.c (skb->data + skb->len - sizeof(*mmie)); mmie 1192 net/mac80211/wpa.c if (mmie->element_id != WLAN_EID_MMIE || mmie 1193 net/mac80211/wpa.c mmie->length != sizeof(*mmie) - 2) mmie 1196 net/mac80211/wpa.c bip_ipn_swap(ipn, mmie->sequence_number); mmie 1216 net/mac80211/wpa.c crypto_memneq(mic, mmie->mic, sizeof(mmie->mic))) { mmie 1227 net/mac80211/wpa.c skb_trim(skb, skb->len - sizeof(*mmie));