Searched refs:prxattrib (Results 1 – 5 of 5) sorted by relevance
149 if (prxattrib->encrypt == _TKIP_) { in r8712_recvframe_chkmic()154 prxattrib->hdrlen; in r8712_recvframe_chkmic()165 prxattrib->iv_len - prxattrib->icv_len - 8; in r8712_recvframe_chkmic()167 payload = pframe + prxattrib->hdrlen + in r8712_recvframe_chkmic()168 prxattrib->iv_len; in r8712_recvframe_chkmic()171 (unsigned char)prxattrib->priority); in r8712_recvframe_chkmic()179 if (prxattrib->bdecrypted) in r8712_recvframe_chkmic()186 is_multicast_ether_addr(prxattrib->ra)) in r8712_recvframe_chkmic()203 if ((prxattrib->encrypt > 0) && ((prxattrib->bdecrypted == 0) || in r8712_decryptor()206 switch (prxattrib->encrypt) { in r8712_decryptor()[all …]
223 if ((prxattrib->encrypt == _WEP40_) || (prxattrib->encrypt == in r8712_wep_decrypt()225 iv = pframe + prxattrib->hdrlen; in r8712_wep_decrypt()233 u.hdr.len - prxattrib->hdrlen - prxattrib->iv_len; in r8712_wep_decrypt()234 payload = pframe + prxattrib->iv_len + prxattrib->hdrlen; in r8712_wep_decrypt()659 &prxattrib->ta[0]); in r8712_tkip_decrypt()661 iv = pframe + prxattrib->hdrlen; in r8712_tkip_decrypt()663 prxattrib->hdrlen; in r8712_tkip_decrypt()666 prxattrib->iv_len; in r8712_tkip_decrypt()1356 if (prxattrib->encrypt == _AES_) { in r8712_aes_decrypt()1358 &prxattrib->ta[0]); in r8712_aes_decrypt()[all …]
109 if ((prxattrib->encrypt == _WEP40_) || (prxattrib->encrypt == _WEP104_)) { in rtw_wep_decrypt()110 iv = pframe+prxattrib->hdrlen; in rtw_wep_decrypt()112 keyindex = prxattrib->key_index; in rtw_wep_decrypt()117 length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; in rtw_wep_decrypt()119 payload = pframe+prxattrib->iv_len+prxattrib->hdrlen; in rtw_wep_decrypt()557 if (IS_MCAST(prxattrib->ra)) { in rtw_tkip_decrypt()604 iv = pframe+prxattrib->hdrlen; in rtw_tkip_decrypt()605 payload = pframe+prxattrib->iv_len+prxattrib->hdrlen; in rtw_tkip_decrypt()606 length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; in rtw_tkip_decrypt()1308 if (IS_MCAST(prxattrib->ra)) { in rtw_aes_decrypt()[all …]
320 if (IS_MCAST(prxattrib->ra)) { in recvframe_chkmic()336 …datalen = precvframe->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len-prxattrib->icv_len-8;/* icv_le… in recvframe_chkmic()338 payload = pframe+prxattrib->hdrlen+prxattrib->iv_len; in recvframe_chkmic()355 if ((IS_MCAST(prxattrib->ra) == true) && (prxattrib->key_index != pmlmeinfo->key_index)) in recvframe_chkmic()366 IS_MCAST(prxattrib->ra)) in recvframe_chkmic()389 if (prxattrib->encrypt > 0) { in decryptor()395 switch (prxattrib->encrypt) { in decryptor()412 switch (prxattrib->encrypt) { in decryptor()426 } else if (prxattrib->bdecrypted == 1 && prxattrib->encrypt > 0 && in decryptor()437 prxattrib->bdecrypted = true; in decryptor()[all …]
704 struct rx_pkt_attrib *prxattrib = &(precv_frame->u.hdr.attrib); in OnAuth() local706 prxattrib->hdrlen = WLAN_HDR_A3_LEN; in OnAuth()707 prxattrib->encrypt = _WEP40_; in OnAuth()709 iv = pframe+prxattrib->hdrlen; in OnAuth()710 prxattrib->key_index = ((iv[3]>>6)&0x3); in OnAuth()712 prxattrib->iv_len = 4; in OnAuth()713 prxattrib->icv_len = 4; in OnAuth()
Completed in 21 milliseconds