Home
last modified time | relevance | path

Searched refs:icv_len (Results 1 – 15 of 15) sorted by relevance

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Drtw_security.h301 #define SET_ICE_IV_LEN(iv_len, icv_len, encrypt)\ argument
307 icv_len = 4;\
311 icv_len = 4;\
315 icv_len = 8;\
320 icv_len = 16;\
324 icv_len = 16;\
328 icv_len = 16;\
332 icv_len = 0;\
Drtw_recv.h172 u8 icv_len; member
Drtw_xmit.h404 u8 icv_len; member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Dkey.c528 key->conf.icv_len = IEEE80211_WEP_ICV_LEN; in ieee80211_key_alloc()
532 key->conf.icv_len = IEEE80211_TKIP_ICV_LEN; in ieee80211_key_alloc()
545 key->conf.icv_len = IEEE80211_CCMP_MIC_LEN; in ieee80211_key_alloc()
566 key->conf.icv_len = IEEE80211_CCMP_256_MIC_LEN; in ieee80211_key_alloc()
586 key->conf.icv_len = sizeof(struct ieee80211_mmie); in ieee80211_key_alloc()
588 key->conf.icv_len = sizeof(struct ieee80211_mmie_16); in ieee80211_key_alloc()
608 key->conf.icv_len = sizeof(struct ieee80211_mmie_16); in ieee80211_key_alloc()
627 key->conf.icv_len = IEEE80211_GCMP_MIC_LEN; in ieee80211_key_alloc()
651 key->conf.icv_len = cs->mic_len; in ieee80211_key_alloc()
Dsta_info.h342 u8 icv_len; member
Drx.c4122 fastrx.icv_len = key->conf.icv_len; in ieee80211_check_fast_rx()
4273 pskb_trim(skb, skb->len - fast_rx->icv_len)) in ieee80211_invoke_fast_rx()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/
Dtxrx.c1194 size_t icv_len; local
1211 icv_len = t->tx_info->control.hw_key->icv_len;
1216 icv_len += 8; /* MIC */
1219 iv_len + icv_len + WSM_TX_EXTRA_HEADROOM) ||
1228 iv_len + WSM_TX_EXTRA_HEADROOM, icv_len);
1230 } else if (skb_tailroom(t->skb) < icv_len) {
1231 size_t offset = icv_len - skb_tailroom(t->skb);
1236 icv_len, skb_tailroom(t->skb));
1247 icv = skb_put(t->skb, icv_len);
2912 size_t iv_len = 0, icv_len = 0; local
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_xmit.c1295 pattrib->icv_len = 4; in update_attrib_sec_info()
1301 pattrib->icv_len = 4; in update_attrib_sec_info()
1324 pattrib->icv_len = 8; in update_attrib_sec_info()
1337 pattrib->icv_len = 16; in update_attrib_sec_info()
1349 pattrib->icv_len = 16; in update_attrib_sec_info()
1361 pattrib->icv_len = 16; in update_attrib_sec_info()
1367 pattrib->icv_len = 0; in update_attrib_sec_info()
2032 …rib->last_txcmdsz - pattrib->hdrlen - pattrib->iv_len - ((pattrib->bswenc) ? pattrib->icv_len : 0); in xmitframe_addmic()
2036 …mitpriv->frag_len - pattrib->hdrlen - pattrib->iv_len - ((pattrib->bswenc) ? pattrib->icv_len : 0); in xmitframe_addmic()
2038 payload = payload + length + pattrib->icv_len; in xmitframe_addmic()
[all …]
Drtw_security.c326 length = pattrib->last_txcmdsz - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len; in rtw_wep_encrypt()
335 length = pxmitpriv->frag_len - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len ; in rtw_wep_encrypt()
810 length = pattrib->last_txcmdsz - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len; in rtw_tkip_encrypt()
818 length = pxmitpriv->frag_len - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len ; in rtw_tkip_encrypt()
1647 plen = pattrib->last_txcmdsz - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len; in rtw_aes_encrypt()
1651 plen = pxmitpriv->frag_len - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len; in rtw_aes_encrypt()
1753 length = pattrib->last_txcmdsz - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len; in rtw_aes_encrypt()
1757 length = pxmitpriv->frag_len - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len ; in rtw_aes_encrypt()
2630 plen = pattrib->last_txcmdsz - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len; in rtw_gcmp_encrypt()
2634 plen = pxmitpriv->frag_len - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len; in rtw_gcmp_encrypt()
Drtw_recv.c534 …datalen = precvframe->u.hdr.len - prxattrib->hdrlen - prxattrib->iv_len - prxattrib->icv_len - 8; … in recvframe_chkmic()
2015 SET_ICE_IV_LEN(pattrib->iv_len, pattrib->icv_len, pattrib->encrypt); in validate_mgmt_protect()
2020 data_len = pattrib->pkt_len - pattrib->hdrlen - pattrib->iv_len - pattrib->icv_len; in validate_mgmt_protect()
2045 pattrib->pkt_len = pattrib->pkt_len - pattrib->iv_len - pattrib->icv_len; in validate_mgmt_protect()
2282 SET_ICE_IV_LEN(pattrib->iv_len, pattrib->icv_len, pattrib->encrypt); in validate_recv_data_frame()
2285 pattrib->iv_len = pattrib->icv_len = 0; in validate_recv_data_frame()
2598 recvframe_pull_tail(precvframe, pattrib->icv_len); in wlanhdr_to_ethhdr()
2804 recvframe_pull_tail(prframe, pfhdr->attrib.icv_len); in recvframe_defrag()
2811 pfhdr->attrib.icv_len = pnfhdr->attrib.icv_len; in recvframe_defrag()
3178 recvframe_pull_tail(prframe, rattrib->icv_len); in amsdu_to_msdu()
[all …]
Drtw_wapi_sms4.c656 memcpy(pframe + pattrib->hdrlen + pattrib->iv_len + pattrib->pktlen - pattrib->icv_len, in SecSWSMS4Encryption()
662 …WapiSMS4Encryption(pDataKey, pIV, (SecPtr + DataOffset), pattrib->pktlen + pattrib->icv_len, (SecP… in SecSWSMS4Encryption()
Drtw_tdls.c1873 - prx_pkt_attrib->icv_len in On_TDLS_Setup_Req()
2085 - prx_pkt_attrib->icv_len in On_TDLS_Setup_Rsp()
2258 - prx_pkt_attrib->icv_len in On_TDLS_Setup_Cfm()
2377 - prx_pkt_attrib->icv_len in On_TDLS_Dis_Req()
2558 - prx_pkt_attrib->icv_len in On_TDLS_Ch_Switch_Req()
2671 - prx_pkt_attrib->icv_len in On_TDLS_Ch_Switch_Rsp()
Drtw_mlme_ext.c2861 prxattrib->icv_len = 4; in OnAuth()
9253 pattrib->icv_len = 4; in issue_auth()
9255 pattrib->pktlen += pattrib->icv_len; in issue_auth()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/mesh/
Drtw_mesh_hwmp.c1086 left = frame_len - attrib->hdrlen - attrib->iv_len - attrib->icv_len - 2; in rtw_mesh_rx_path_sel_frame()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/net/
Dmac80211.h1781 u8 icv_len; member