Searched refs:mic_header1 (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/staging/r8188eu/core/ |
D | rtw_security.c | 635 static void construct_mic_iv(u8 *mic_header1, int qc_exists, int a4_exists, u8 *mpdu, uint payload_… 636 static void construct_mic_header1(u8 *mic_header1, int header_length, u8 *mpdu); 852 static void construct_mic_header1(u8 *mic_header1, int header_length, u8 *mpdu) in construct_mic_header1() argument 855 mic_header1[0] = (u8)((header_length - 2) / 256); in construct_mic_header1() 856 mic_header1[1] = (u8)((header_length - 2) % 256); in construct_mic_header1() 857 mic_header1[2] = mpdu[0] & 0xcf; /* Mute CF poll & CF ack bits */ in construct_mic_header1() 858 mic_header1[3] = mpdu[1] & 0xc7; /* Mute retry, more data and pwr mgt bits */ in construct_mic_header1() 859 mic_header1[4] = mpdu[4]; /* A1 */ in construct_mic_header1() 860 mic_header1[5] = mpdu[5]; in construct_mic_header1() 861 mic_header1[6] = mpdu[6]; in construct_mic_header1() [all …]
|
/linux-6.1.9/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 646 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-6.1.9/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 918 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 …]
|