Home
last modified time | relevance | path

Searched refs:prxattrib (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/staging/rtl8723bs/core/
H A Drtw_security.c101 struct rx_pkt_attrib *prxattrib = &(((union recv_frame *)precvframe)->u.hdr.attrib); in rtw_wep_decrypt() local
108 if ((prxattrib->encrypt == _WEP40_) || (prxattrib->encrypt == _WEP104_)) { in rtw_wep_decrypt()
109 iv = pframe+prxattrib->hdrlen; in rtw_wep_decrypt()
111 keyindex = prxattrib->key_index; in rtw_wep_decrypt()
116 length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; in rtw_wep_decrypt()
118 payload = pframe+prxattrib->iv_len+prxattrib->hdrlen; in rtw_wep_decrypt()
545 struct rx_pkt_attrib *prxattrib = &((union recv_frame *)precvframe)->u.hdr.attrib; in rtw_tkip_decrypt() local
553 if (prxattrib->encrypt == _TKIP_) { in rtw_tkip_decrypt()
554 stainfo = rtw_get_stainfo(&padapter->stapriv, &prxattrib->ta[0]); in rtw_tkip_decrypt()
556 if (is_multicast_ether_addr(prxattrib->ra)) { in rtw_tkip_decrypt()
[all …]
H A Drtw_recv.c308 struct rx_pkt_attrib *prxattrib = &precvframe->u.hdr.attrib; in recvframe_chkmic() local
314 stainfo = rtw_get_stainfo(&adapter->stapriv, &prxattrib->ta[0]); in recvframe_chkmic()
316 if (prxattrib->encrypt == _TKIP_) { in recvframe_chkmic()
319 if (is_multicast_ether_addr(prxattrib->ra)) { in recvframe_chkmic()
323 mickey = &psecuritypriv->dot118021XGrprxmickey[prxattrib->key_index].skey[0]; in recvframe_chkmic()
335 …datalen = precvframe->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len-prxattrib->icv_len-8;/* icv_le… in recvframe_chkmic()
337 payload = pframe+prxattrib->hdrlen+prxattrib->iv_len; in recvframe_chkmic()
339 …rtw_seccalctkipmic(mickey, pframe, payload, datalen, &miccode[0], (unsigned char)prxattrib->priori… in recvframe_chkmic()
354 …if ((is_multicast_ether_addr(prxattrib->ra) == true) && (prxattrib->key_index != pmlmeinfo->key_i… in recvframe_chkmic()
357 if (prxattrib->bdecrypted && brpt_micerror) in recvframe_chkmic()
[all …]