Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/staging/rtl8723bs/core/
Drtw_security.c646 static void construct_mic_iv(u8 *mic_header1,
653 static void construct_mic_header1(u8 *mic_header1,
736 static void construct_mic_header1(u8 *mic_header1, in construct_mic_header1() argument
741 mic_header1[0] = (u8)((header_length - 2) / 256); in construct_mic_header1()
742 mic_header1[1] = (u8)((header_length - 2) % 256); in construct_mic_header1()
746 mic_header1[2] = mpdu[0]; in construct_mic_header1()
748 mic_header1[2] = mpdu[0] & 0xcf; /* Mute CF poll & CF ack bits */ in construct_mic_header1()
750 mic_header1[3] = mpdu[1] & 0xc7; /* Mute retry, more data and pwr mgt bits */ in construct_mic_header1()
751 mic_header1[4] = mpdu[4]; /* A1 */ in construct_mic_header1()
752 mic_header1[5] = mpdu[5]; in construct_mic_header1()
[all …]
/Linux-v6.6/drivers/staging/rtl8712/
Drtl871x_security.c918 static void construct_mic_header1(u8 *mic_header1, sint header_length, u8 *mpdu) in construct_mic_header1() argument
920 mic_header1[0] = (u8)((header_length - 2) / 256); in construct_mic_header1()
921 mic_header1[1] = (u8)((header_length - 2) % 256); in construct_mic_header1()
922 mic_header1[2] = mpdu[0] & 0xcf; /* Mute CF poll & CF ack bits */ in construct_mic_header1()
924 mic_header1[3] = mpdu[1] & 0xc7; in construct_mic_header1()
925 mic_header1[4] = mpdu[4]; /* A1 */ in construct_mic_header1()
926 mic_header1[5] = mpdu[5]; in construct_mic_header1()
927 mic_header1[6] = mpdu[6]; in construct_mic_header1()
928 mic_header1[7] = mpdu[7]; in construct_mic_header1()
929 mic_header1[8] = mpdu[8]; in construct_mic_header1()
[all …]