Searched refs:BIP_AAD (Results 1 – 2 of 2) sorted by relevance
/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 1376 u8 *BIP_AAD, *p; in rtw_BIP_verify() local 1386 BIP_AAD = rtw_zmalloc(ori_len); in rtw_BIP_verify() 1388 if (!BIP_AAD) in rtw_BIP_verify() 1396 memcpy(BIP_AAD+BIP_AAD_SIZE, pframe+WLAN_HDR_A3_LEN, pattrib->pkt_len-WLAN_HDR_A3_LEN); in rtw_BIP_verify() 1398 p = rtw_get_ie(BIP_AAD+BIP_AAD_SIZE, WLAN_EID_MMIE, &len, pattrib->pkt_len-WLAN_HDR_A3_LEN); in rtw_BIP_verify() 1420 memcpy(BIP_AAD, &pwlanhdr->frame_control, 2); in rtw_BIP_verify() 1421 ClearRetry(BIP_AAD); in rtw_BIP_verify() 1422 ClearPwrMgt(BIP_AAD); in rtw_BIP_verify() 1423 ClearMData(BIP_AAD); in rtw_BIP_verify() 1425 memcpy(BIP_AAD+2, pwlanhdr->addr1, 18); in rtw_BIP_verify() [all …]
|
D | rtw_xmit.c | 1147 u8 *BIP_AAD = NULL; in rtw_mgmt_xmitframe_coalesce() local 1160 tmp_buf = BIP_AAD = rtw_zmalloc(ori_len); in rtw_mgmt_xmitframe_coalesce() 1163 if (!BIP_AAD) in rtw_mgmt_xmitframe_coalesce() 1205 memcpy(BIP_AAD, &pwlanhdr->frame_control, 2); in rtw_mgmt_xmitframe_coalesce() 1206 ClearRetry(BIP_AAD); in rtw_mgmt_xmitframe_coalesce() 1207 ClearPwrMgt(BIP_AAD); in rtw_mgmt_xmitframe_coalesce() 1208 ClearMData(BIP_AAD); in rtw_mgmt_xmitframe_coalesce() 1210 memcpy(BIP_AAD+2, pwlanhdr->addr1, 18); in rtw_mgmt_xmitframe_coalesce() 1212 memcpy(BIP_AAD+BIP_AAD_SIZE, MGMT_body, frame_body_len); in rtw_mgmt_xmitframe_coalesce() 1215 , BIP_AAD, BIP_AAD_SIZE+frame_body_len, mic)) in rtw_mgmt_xmitframe_coalesce() [all …]
|