Home
last modified time | relevance | path

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

/drivers/staging/rtl8712/
Drtl871x_security.c939 static void construct_mic_header1(u8 *mic_header1, sint header_length, u8 *mpdu) in construct_mic_header1() argument
941 mic_header1[0] = (u8)((header_length - 2) / 256); in construct_mic_header1()
942 mic_header1[1] = (u8)((header_length - 2) % 256); in construct_mic_header1()
943 mic_header1[2] = mpdu[0] & 0xcf; /* Mute CF poll & CF ack bits */ in construct_mic_header1()
945 mic_header1[3] = mpdu[1] & 0xc7; in construct_mic_header1()
946 mic_header1[4] = mpdu[4]; /* A1 */ in construct_mic_header1()
947 mic_header1[5] = mpdu[5]; in construct_mic_header1()
948 mic_header1[6] = mpdu[6]; in construct_mic_header1()
949 mic_header1[7] = mpdu[7]; in construct_mic_header1()
950 mic_header1[8] = mpdu[8]; in construct_mic_header1()
[all …]
/drivers/staging/rtl8188eu/core/
Drtw_security.c758 static void construct_mic_iv(u8 *mic_header1, int qc_exists, int a4_exists, u8 *mpdu, uint payload_…
759 static void construct_mic_header1(u8 *mic_header1, int header_length, u8 *mpdu);
959 static void construct_mic_header1(u8 *mic_header1, int header_length, u8 *mpdu) in construct_mic_header1() argument
961 mic_header1[0] = (u8)((header_length - 2) / 256); in construct_mic_header1()
962 mic_header1[1] = (u8)((header_length - 2) % 256); in construct_mic_header1()
963 mic_header1[2] = mpdu[0] & 0xcf; /* Mute CF poll & CF ack bits */ in construct_mic_header1()
964 mic_header1[3] = mpdu[1] & 0xc7; /* Mute retry, more data and pwr mgt bits */ in construct_mic_header1()
965 mic_header1[4] = mpdu[4]; /* A1 */ in construct_mic_header1()
966 mic_header1[5] = mpdu[5]; in construct_mic_header1()
967 mic_header1[6] = mpdu[6]; in construct_mic_header1()
[all …]