Searched refs:mpdu (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/staging/rtl8723au/core/ |
D | rtw_security.c | 831 static void construct_mic_header2(u8 *mic_header2, u8 *mpdu, int a4_exists, 1005 static void construct_mic_iv(u8 *mic_iv, int qc_exists, int a4_exists, u8 *mpdu, in construct_mic_iv() argument 1012 mic_iv[1] = mpdu[30] & 0x0f; /* QoS_TC */ in construct_mic_iv() 1014 mic_iv[1] = mpdu[24] & 0x0f; /* mute bits 7-4 */ in construct_mic_iv() 1018 mic_iv[i] = mpdu[i + 8]; /* mic_iv[2:7] = A2[0:5] = mpdu[10:15] */ in construct_mic_iv() 1030 static void construct_mic_header1(u8 *mic_header1, int header_length, u8 *mpdu) in construct_mic_header1() argument 1034 mic_header1[2] = mpdu[0] & 0xcf; /* Mute CF poll & CF ack bits */ in construct_mic_header1() 1035 mic_header1[3] = mpdu[1] & 0xc7; /* Mute retry, more data and pwr mgt bits */ in construct_mic_header1() 1036 mic_header1[4] = mpdu[4]; /* A1 */ in construct_mic_header1() 1037 mic_header1[5] = mpdu[5]; in construct_mic_header1() [all …]
|
/linux-4.4.14/drivers/staging/rtl8188eu/core/ |
D | rtw_security.c | 764 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.4.14/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 915 u8 *mpdu, uint payload_length, u8 *pn_vector) in construct_mic_iv() argument 921 mic_iv[1] = mpdu[30] & 0x0f; /* QoS_TC */ in construct_mic_iv() 923 mic_iv[1] = mpdu[24] & 0x0f; /* mute bits 7-4 */ in construct_mic_iv() 927 mic_iv[i] = mpdu[i + 8]; in construct_mic_iv() 939 static void construct_mic_header1(u8 *mic_header1, sint header_length, u8 *mpdu) in construct_mic_header1() argument 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() [all …]
|