Home
last modified time | relevance | path

Searched refs:mpdu (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/staging/rtl8723au/core/
Drtw_security.c833 static void construct_mic_header2(u8 *mic_header2, u8 *mpdu, int a4_exists,
1007 static void construct_mic_iv(u8 *mic_iv, int qc_exists, int a4_exists, u8 *mpdu, in construct_mic_iv() argument
1014 mic_iv[1] = mpdu[30] & 0x0f; /* QoS_TC */ in construct_mic_iv()
1016 mic_iv[1] = mpdu[24] & 0x0f; /* mute bits 7-4 */ in construct_mic_iv()
1020 mic_iv[i] = mpdu[i + 8]; /* mic_iv[2:7] = A2[0:5] = mpdu[10:15] */ in construct_mic_iv()
1032 static void construct_mic_header1(u8 *mic_header1, int header_length, u8 *mpdu) in construct_mic_header1() argument
1036 mic_header1[2] = mpdu[0] & 0xcf; /* Mute CF poll & CF ack bits */ in construct_mic_header1()
1037 mic_header1[3] = mpdu[1] & 0xc7; /* Mute retry, more data and pwr mgt bits */ in construct_mic_header1()
1038 mic_header1[4] = mpdu[4]; /* A1 */ in construct_mic_header1()
1039 mic_header1[5] = mpdu[5]; in construct_mic_header1()
[all …]
/linux-4.1.27/drivers/staging/rtl8188eu/core/
Drtw_security.c764 static void construct_mic_iv(u8 *mic_header1, int qc_exists, int a4_exists, u8 *mpdu, uint payload_…
765 static void construct_mic_header1(u8 *mic_header1, int header_length, u8 *mpdu);
766 static void construct_mic_header2(u8 *mic_header2, u8 *mpdu, int a4_exists, int qc_exists);
767 static void construct_ctr_preload(u8 *ctr_preload, int a4_exists, int qc_exists, u8 *mpdu, u8 *pn_v…
941 static void construct_mic_iv(u8 *mic_iv, int qc_exists, int a4_exists, u8 *mpdu, in construct_mic_iv() argument
947 mic_iv[1] = mpdu[30] & 0x0f; /* QoS_TC */ in construct_mic_iv()
949 mic_iv[1] = mpdu[24] & 0x0f; /* mute bits 7-4 */ in construct_mic_iv()
953 mic_iv[i] = mpdu[i + 8]; /* mic_iv[2:7] = A2[0:5] = mpdu[10:15] */ in construct_mic_iv()
965 static void construct_mic_header1(u8 *mic_header1, int header_length, u8 *mpdu) in construct_mic_header1() argument
969 mic_header1[2] = mpdu[0] & 0xcf; /* Mute CF poll & CF ack bits */ in construct_mic_header1()
[all …]
/linux-4.1.27/drivers/staging/rtl8712/
Drtl871x_security.c910 u8 *mpdu, uint payload_length, u8 *pn_vector) in construct_mic_iv() argument
916 mic_iv[1] = mpdu[30] & 0x0f; /* QoS_TC */ in construct_mic_iv()
918 mic_iv[1] = mpdu[24] & 0x0f; /* mute bits 7-4 */ in construct_mic_iv()
922 mic_iv[i] = mpdu[i + 8]; in construct_mic_iv()
934 static void construct_mic_header1(u8 *mic_header1, sint header_length, u8 *mpdu) in construct_mic_header1() argument
938 mic_header1[2] = mpdu[0] & 0xcf; /* Mute CF poll & CF ack bits */ in construct_mic_header1()
940 mic_header1[3] = mpdu[1] & 0xc7; in construct_mic_header1()
941 mic_header1[4] = mpdu[4]; /* A1 */ in construct_mic_header1()
942 mic_header1[5] = mpdu[5]; in construct_mic_header1()
943 mic_header1[6] = mpdu[6]; in construct_mic_header1()
[all …]