Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_security.c919 static void construct_mic_header1(u8 *mic_header1, sint header_length, u8 *mpdu) in construct_mic_header1() argument
921 mic_header1[0] = (u8)((header_length - 2) / 256); in construct_mic_header1()
922 mic_header1[1] = (u8)((header_length - 2) % 256); in construct_mic_header1()
923 mic_header1[2] = mpdu[0] & 0xcf; /* Mute CF poll & CF ack bits */ in construct_mic_header1()
925 mic_header1[3] = mpdu[1] & 0xc7; in construct_mic_header1()
926 mic_header1[4] = mpdu[4]; /* A1 */ in construct_mic_header1()
927 mic_header1[5] = mpdu[5]; in construct_mic_header1()
928 mic_header1[6] = mpdu[6]; in construct_mic_header1()
929 mic_header1[7] = mpdu[7]; in construct_mic_header1()
930 mic_header1[8] = mpdu[8]; in construct_mic_header1()
[all …]
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_security.c886 u8 *mic_header1,
895 u8 *mic_header1,
1156 u8 *mic_header1, in construct_mic_header1() argument
1162 mic_header1[0] = (u8)((header_length - 2) / 256); in construct_mic_header1()
1163 mic_header1[1] = (u8)((header_length - 2) % 256); in construct_mic_header1()
1167 mic_header1[2] = mpdu[0]; in construct_mic_header1()
1169 mic_header1[2] = mpdu[0] & 0xcf; /* Mute CF poll & CF ack bits */ in construct_mic_header1()
1171 mic_header1[3] = mpdu[1] & 0xc7; /* Mute retry, more data and pwr mgt bits */ in construct_mic_header1()
1172 mic_header1[4] = mpdu[4]; /* A1 */ in construct_mic_header1()
1173 mic_header1[5] = mpdu[5]; in construct_mic_header1()
[all …]