Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Dsec_wpi.c164 data_len -= WAPI_IV_LEN; in wlan_tx_wapi_encryption()
228 return data_len + WAPI_IV_LEN; in wlan_tx_wapi_encryption()
297 encryp_data_len = data_len - WAPI_IV_LEN; in wlan_rx_wapi_decryption()
298 ral_data_len = data_len - WAPI_IV_LEN - WAPI_MIC_LEN; in wlan_rx_wapi_decryption()
316 (input_ptk + header_len + WAPI_IV_LEN), encryp_data_len, in wlan_rx_wapi_decryption()
339 u32 wapi_iv_icv_offset = WAPI_IV_ICV_OFFSET - WAPI_IV_LEN; in lib80211_wpi_encrypt()
356 memmove(pos + hdrlen + WAPI_IV_LEN, pos + wapi_iv_icv_offset + hdrlen, len); in lib80211_wpi_encrypt()
415 (skb_headroom(mpdu) >= WAPI_IV_LEN)) { in lib80211_wpi_encrypt_prepare()
416 pos = skb_push(mpdu, WAPI_IV_LEN); in lib80211_wpi_encrypt_prepare()
417 memmove(pos, pos + WAPI_IV_LEN, hdr_len); in lib80211_wpi_encrypt_prepare()
[all …]
H A Dsec_wpi.h22 #define WAPI_IV_LEN (WAPI_KEYID_LEN + WAPI_RESERVD_LEN + WAPI_PN_LEN) macro
25 #define WAPI_IV_ICV_OFFSET (WAPI_IV_LEN + WAPI_MIC_LEN)