Home
last modified time | relevance | path

Searched refs:fc (Results 1 – 25 of 58) sorted by relevance

123

/hostap-latest/wlantest/
Dprocess.c24 u16 fc; in rx_get_sta() local
32 fc = le_to_host16(hdr->frame_control); in rx_get_sta()
33 switch (WLAN_FC_GET_TYPE(fc)) { in rx_get_sta()
51 switch (fc & (WLAN_FC_TODS | WLAN_FC_FROMDS)) { in rx_get_sta()
71 if (WLAN_FC_GET_STYPE(fc) == WLAN_FC_STYPE_PSPOLL && in rx_get_sta()
93 u16 fc, type, stype; in rx_update_ps() local
98 fc = le_to_host16(hdr->frame_control); in rx_update_ps()
99 type = WLAN_FC_GET_TYPE(fc); in rx_update_ps()
100 stype = WLAN_FC_GET_STYPE(fc); in rx_update_ps()
126 if (sta->pwrmgt && !(fc & WLAN_FC_PWRMGT)) { in rx_update_ps()
[all …]
Dinject.c61 u16 fc, stype; in is_robust_mgmt() local
65 fc = le_to_host16(mgmt->frame_control); in is_robust_mgmt()
66 if (WLAN_FC_GET_TYPE(fc) != WLAN_FC_TYPE_MGMT) in is_robust_mgmt()
68 stype = WLAN_FC_GET_STYPE(fc); in is_robust_mgmt()
121 u16 fc; in wlantest_inject_prot_bc() local
126 fc = le_to_host16(hdr->frame_control); in wlantest_inject_prot_bc()
131 if ((fc & (WLAN_FC_TODS | WLAN_FC_FROMDS)) == in wlantest_inject_prot_bc()
169 u16 fc; in wlantest_inject_prot() local
178 fc = le_to_host16(hdr->frame_control); in wlantest_inject_prot()
180 if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_DATA && in wlantest_inject_prot()
[all …]
Dbip.c22 u16 fc; in bip_protect() local
48 fc = le_to_host16(hdr->frame_control); in bip_protect()
49 fc &= ~(WLAN_FC_RETRY | WLAN_FC_PWRMGT | WLAN_FC_MOREDATA); in bip_protect()
50 WPA_PUT_LE16(buf, fc); in bip_protect()
79 u16 fc; in bip_protect_s1g_beacon() local
125 fc = le_to_host16(hdr->frame_control); in bip_protect_s1g_beacon()
126 if (WLAN_FC_GET_TYPE(fc) != WLAN_FC_TYPE_EXT || in bip_protect_s1g_beacon()
127 WLAN_FC_GET_STYPE(fc) != WLAN_FC_STYPE_S1G_BEACON) { in bip_protect_s1g_beacon()
134 WPA_PUT_LE16(buf, fc); in bip_protect_s1g_beacon()
137 if (fc & WLAN_FC_S1G_BEACON_NEXT_TBTT) in bip_protect_s1g_beacon()
[all …]
Dtest_vectors.c180 u16 fc; in test_vector_ccmp_pv1() local
204 fc = WPA_GET_LE16(frame1); in test_vector_ccmp_pv1()
207 fc, in test_vector_ccmp_pv1()
208 fc & WLAN_FC_PVER, in test_vector_ccmp_pv1()
209 (fc & (BIT(2) | BIT(3) | BIT(4))) >> 2, in test_vector_ccmp_pv1()
210 (fc & (BIT(5) | BIT(6) | BIT(7))) >> 5, in test_vector_ccmp_pv1()
211 !!(fc & BIT(8)), in test_vector_ccmp_pv1()
212 !!(fc & BIT(9)), in test_vector_ccmp_pv1()
213 !!(fc & BIT(10)), in test_vector_ccmp_pv1()
214 !!(fc & BIT(11)), in test_vector_ccmp_pv1()
[all …]
Dccmp.c22 u16 fc, stype, seq; in ccmp_aad_nonce() local
28 fc = le_to_host16(hdr->frame_control); in ccmp_aad_nonce()
29 stype = WLAN_FC_GET_STYPE(fc); in ccmp_aad_nonce()
30 if ((fc & (WLAN_FC_TODS | WLAN_FC_FROMDS)) == in ccmp_aad_nonce()
34 if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_DATA) { in ccmp_aad_nonce()
35 fc &= ~0x0070; /* Mask subtype bits */ in ccmp_aad_nonce()
39 fc &= ~WLAN_FC_HTC; in ccmp_aad_nonce()
45 } else if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_MGMT) in ccmp_aad_nonce()
48 fc &= ~(WLAN_FC_RETRY | WLAN_FC_PWRMGT | WLAN_FC_MOREDATA); in ccmp_aad_nonce()
49 fc |= WLAN_FC_ISWEP; in ccmp_aad_nonce()
[all …]
Drx_data.c411 u16 fc = le_to_host16(hdr->frame_control); in rx_data_bss_prot() local
432 if ((fc & (WLAN_FC_TODS | WLAN_FC_FROMDS)) == in rx_data_bss_prot()
462 } else if (fc & WLAN_FC_TODS) { in rx_data_bss_prot()
472 } else if (fc & WLAN_FC_FROMDS) { in rx_data_bss_prot()
595 } else if ((fc & (WLAN_FC_TODS | WLAN_FC_FROMDS)) == in rx_data_bss_prot()
632 if ((fc & (WLAN_FC_TODS | WLAN_FC_FROMDS)) && in rx_data_bss_prot()
719 u16 fc = le_to_host16(hdr->frame_control); in rx_data_bss_prot() local
721 if (!(fc & (WLAN_FC_FROMDS | WLAN_FC_TODS))) in rx_data_bss_prot()
770 u16 fc = le_to_host16(hdr->frame_control); in rx_data_bss() local
771 int prot = !!(fc & WLAN_FC_ISWEP); in rx_data_bss()
[all …]
Dgcmp.c22 u16 fc, stype, seq; in gcmp_aad_nonce() local
26 fc = le_to_host16(hdr->frame_control); in gcmp_aad_nonce()
27 stype = WLAN_FC_GET_STYPE(fc); in gcmp_aad_nonce()
28 if ((fc & (WLAN_FC_TODS | WLAN_FC_FROMDS)) == in gcmp_aad_nonce()
32 if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_DATA) { in gcmp_aad_nonce()
33 fc &= ~0x0070; /* Mask subtype bits */ in gcmp_aad_nonce()
37 fc &= ~WLAN_FC_HTC; in gcmp_aad_nonce()
44 fc &= ~(WLAN_FC_RETRY | WLAN_FC_PWRMGT | WLAN_FC_MOREDATA); in gcmp_aad_nonce()
45 WPA_PUT_LE16(aad, fc); in gcmp_aad_nonce()
Dtkip.c259 u16 fc = le_to_host16(hdr11->frame_control); in michael_mic_hdr() local
261 switch (fc & (WLAN_FC_FROMDS | WLAN_FC_TODS)) { in michael_mic_hdr()
281 if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_DATA && in michael_mic_hdr()
282 (WLAN_FC_GET_STYPE(fc) & 0x08)) { in michael_mic_hdr()
306 u16 fc = le_to_host16(hdr->frame_control); in tkip_decrypt() local
352 if (fn == 0 && (fc & WLAN_FC_MOREFRAG)) { in tkip_decrypt()
363 if (frag->buf && (fn || (fc & WLAN_FC_MOREFRAG)) && in tkip_decrypt()
371 if (!(fc & WLAN_FC_MOREFRAG)) { in tkip_decrypt()
384 if ((fc & WLAN_FC_MOREFRAG) || (fn > 0 && full_payload == plain)) { in tkip_decrypt()
402 mic_key = tk + ((fc & WLAN_FC_FROMDS) ? 16 : 24); in tkip_decrypt()
[all …]
Drx_mgmt.c944 u16 fc, reason; in rx_mgmt_deauth() local
982 fc = le_to_host16(mgmt->frame_control); in rx_mgmt_deauth()
983 if (!(fc & WLAN_FC_ISWEP) && reason == 6) in rx_mgmt_deauth()
985 else if (!(fc & WLAN_FC_ISWEP) && reason == 7) in rx_mgmt_deauth()
2525 u16 fc, reason; in rx_mgmt_disassoc() local
2565 fc = le_to_host16(mgmt->frame_control); in rx_mgmt_disassoc()
2566 if (!(fc & WLAN_FC_ISWEP) && reason == 6) in rx_mgmt_disassoc()
2568 else if (!(fc & WLAN_FC_ISWEP) && reason == 7) in rx_mgmt_disassoc()
3067 u16 fc; in check_mmie_mic() local
3084 fc = le_to_host16(hdr->frame_control); in check_mmie_mic()
[all …]
/hostap-latest/src/drivers/
Ddriver_nl80211_monitor.c29 u16 fc; in handle_tx_callback() local
33 fc = le_to_host16(hdr->frame_control); in handle_tx_callback()
36 event.tx_status.type = WLAN_FC_GET_TYPE(fc); in handle_tx_callback()
37 event.tx_status.stype = WLAN_FC_GET_STYPE(fc); in handle_tx_callback()
50 u16 fc; in from_unknown_sta() local
56 fc = le_to_host16(hdr->frame_control); in from_unknown_sta()
61 event.rx_from_unknown.wds = (fc & (WLAN_FC_FROMDS | WLAN_FC_TODS)) == in from_unknown_sta()
71 u16 fc; in handle_frame() local
78 fc = le_to_host16(hdr->frame_control); in handle_frame()
80 switch (WLAN_FC_GET_TYPE(fc)) { in handle_frame()
Ddriver_hostap.c62 u16 fc, ethertype; in handle_data() local
71 fc = le_to_host16(hdr->frame_control); in handle_data()
73 if ((fc & (WLAN_FC_FROMDS | WLAN_FC_TODS)) != WLAN_FC_TODS) { in handle_data()
74 printf("Not ToDS data frame (fc=0x%04x)\n", fc); in handle_data()
123 u16 fc; in handle_tx_callback() local
127 fc = le_to_host16(hdr->frame_control); in handle_tx_callback()
130 event.tx_status.type = WLAN_FC_GET_TYPE(fc); in handle_tx_callback()
131 event.tx_status.stype = WLAN_FC_GET_STYPE(fc); in handle_tx_callback()
143 u16 fc, type, stype; in handle_frame() local
157 fc = le_to_host16(hdr->frame_control); in handle_frame()
[all …]
/hostap-latest/tests/hwsim/auth_serv/
Dsha512-user.pem17 e1:33:fc:8b:98:d7:f2:70:90:f3:de:39:45:17:9f:
19 c0:45:ea:3e:a8:8f:3f:ad:19:2f:3c:49:fc:ef:a7:
37 ef:85:a8:17:d2:fc:3a:a9:b5:9d:f1:c5:02:0d:2a:
40 42:bc:e2:f3:c7:ec:3d:fc:ed:c5:f6:2c:c0:4e:ff:
63 26:ad:09:fc:56:28:78:3b:3a:00:91:8d:f9:d1:39:a2:c5:3f:
70 0f:dd:e6:d4:04:eb:fc:65:98:da:fd:e3:7c:04:d6:a0:2a:9e:
74 7a:eb:61:72:4d:3b:cc:fc:1c:ff:86:fb:6a:83:b8:ca:9a:34:
Dserver-eku-client-server.pem21 61:1f:ef:3a:1c:d5:c6:fc:95:5d:9b:37:d6:5b:cb:
48 66:57:88:7e:5b:fc:3f:5d:d0:ad:f0:b7:53:89:8f:a7:47:68:
50 a0:ba:8d:b5:08:4f:49:fc:07:fa:db:10:e3:0f:6d:a9:b2:14:
56 ac:01:2d:a9:73:8a:32:24:e1:27:53:b6:e8:fc:f4:bc:af:d9:
Drsa3072-user-rsa2048.pem16 00:db:66:ff:8b:95:66:96:2e:4a:74:02:80:43:fc:
50 dc:12:5f:2e:fc:cd:4b:6a:64:7d:9f:ed:a4:b7:bf:c4:4f:cf:
64 3c:57:63:eb:4a:f7:61:98:6b:dc:46:33:2b:cc:13:fc:4f:e9:
68 8c:c6:f8:76:73:b2:ea:94:c6:c0:fc:23:64:58:48:ac:57:b0:
Dserver-certpol.pem17 5e:84:fa:64:a0:64:24:0b:78:48:fc:8d:66:8b:2f:
29 e3:76:fc:64:85:64:65:6b:da:5c:c9:38:50:39:89:
33 57:05:12:fc:00:ef:89:f0:3f:03:f6:93:5b:b0:44:
62 8f:56:1c:56:97:ab:bf:67:77:b5:62:5d:e4:75:67:fc:e6:16:
Dca.pem5 42:97:6c:30:8e:79:fc:7b:6a:e3:ef:9d:18:a4:74:9d:8b:5f:57:53
46 57:f5:8f:ba:67:c9:fc:44:68:b3:7c:f1:af:3a:5f:0d:8f:a1:
56 fc:5f:47:84:3d:d2:2e:db:0b:9e:b6:1e:85:04:c1:e5:c0:b2:
Dca-and-crl-expired.pem5 42:97:6c:30:8e:79:fc:7b:6a:e3:ef:9d:18:a4:74:9d:8b:5f:57:53
46 57:f5:8f:ba:67:c9:fc:44:68:b3:7c:f1:af:3a:5f:0d:8f:a1:
56 fc:5f:47:84:3d:d2:2e:db:0b:9e:b6:1e:85:04:c1:e5:c0:b2:
Dca-and-crl.pem5 42:97:6c:30:8e:79:fc:7b:6a:e3:ef:9d:18:a4:74:9d:8b:5f:57:53
46 57:f5:8f:ba:67:c9:fc:44:68:b3:7c:f1:af:3a:5f:0d:8f:a1:
56 fc:5f:47:84:3d:d2:2e:db:0b:9e:b6:1e:85:04:c1:e5:c0:b2:
Dec-server.pem16 35:ba:07:24:c6:94:86:56:f6:eb:65:45:5f:fc:81:
18 36:2d:5b:4b:2c:91:1f:db:86:07:45:24:fc:0f:0e:
/hostap-latest/tests/hwsim/auth_serv/iCA-user/
Dca-and-root.pem16 00:b9:88:7a:fc:1a:f9:00:68:63:c7:40:ff:d5:38:
54 45:df:c8:3e:8f:fc:fc:55:3e:35:8d:7b:82:50:d5:a3:ea:bb:
56 9e:2a:23:06:35:e0:13:bc:50:84:06:e4:1b:b9:fc:32:a2:4a:
59 fc:54:76:b5:6f:a0:f6:51:20:1f:7f:8e:aa:5f:c8:48:88:e4:
86 42:97:6c:30:8e:79:fc:7b:6a:e3:ef:9d:18:a4:74:9d:8b:5f:57:53
127 57:f5:8f:ba:67:c9:fc:44:68:b3:7c:f1:af:3a:5f:0d:8f:a1:
137 fc:5f:47:84:3d:d2:2e:db:0b:9e:b6:1e:85:04:c1:e5:c0:b2:
Dcacert.pem16 00:b9:88:7a:fc:1a:f9:00:68:63:c7:40:ff:d5:38:
54 45:df:c8:3e:8f:fc:fc:55:3e:35:8d:7b:82:50:d5:a3:ea:bb:
56 9e:2a:23:06:35:e0:13:bc:50:84:06:e4:1b:b9:fc:32:a2:4a:
59 fc:54:76:b5:6f:a0:f6:51:20:1f:7f:8e:aa:5f:c8:48:88:e4:
Duser_and_ica.pem23 fc:6e:c4:cf:7f:91:e0:97:c2:63:10:a1:da:e6:a9:
101 00:b9:88:7a:fc:1a:f9:00:68:63:c7:40:ff:d5:38:
139 45:df:c8:3e:8f:fc:fc:55:3e:35:8d:7b:82:50:d5:a3:ea:bb:
141 9e:2a:23:06:35:e0:13:bc:50:84:06:e4:1b:b9:fc:32:a2:4a:
144 fc:54:76:b5:6f:a0:f6:51:20:1f:7f:8e:aa:5f:c8:48:88:e4:
/hostap-latest/tests/hwsim/auth_serv/test-ca/
Dcacert.pem5 42:97:6c:30:8e:79:fc:7b:6a:e3:ef:9d:18:a4:74:9d:8b:5f:57:53
46 57:f5:8f:ba:67:c9:fc:44:68:b3:7c:f1:af:3a:5f:0d:8f:a1:
56 fc:5f:47:84:3d:d2:2e:db:0b:9e:b6:1e:85:04:c1:e5:c0:b2:
/hostap-latest/tests/hwsim/auth_serv/iCA-server/
Dserver-revoked.pem30 fc:ed:58:74:b0:ab:f9:75:5c:e8:49:aa:16:4a:19:
54 f9:c3:15:a9:b1:8c:2a:dc:8d:40:98:ac:78:8f:f5:fc:53:88:
61 fc:67:0f:3f:00:21:e7:b4:2f:48:7b:77:86:fb:16:28:ab:68:
Dca-and-root.pem17 33:5e:13:ee:a1:01:f5:82:de:6e:fc:83:db:e7:22:
86 42:97:6c:30:8e:79:fc:7b:6a:e3:ef:9d:18:a4:74:9d:8b:5f:57:53
127 57:f5:8f:ba:67:c9:fc:44:68:b3:7c:f1:af:3a:5f:0d:8f:a1:
137 fc:5f:47:84:3d:d2:2e:db:0b:9e:b6:1e:85:04:c1:e5:c0:b2:

123