Home
last modified time | relevance | path

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

123

/hostap-3.7.0/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 …]
Dtest_vectors.c178 u16 fc; in test_vector_ccmp_pv1() local
202 fc = WPA_GET_LE16(frame1); in test_vector_ccmp_pv1()
205 fc, in test_vector_ccmp_pv1()
206 fc & WLAN_FC_PVER, in test_vector_ccmp_pv1()
207 (fc & (BIT(2) | BIT(3) | BIT(4))) >> 2, in test_vector_ccmp_pv1()
208 (fc & (BIT(5) | BIT(6) | BIT(7))) >> 5, in test_vector_ccmp_pv1()
209 !!(fc & BIT(8)), in test_vector_ccmp_pv1()
210 !!(fc & BIT(9)), in test_vector_ccmp_pv1()
211 !!(fc & BIT(10)), in test_vector_ccmp_pv1()
212 !!(fc & BIT(11)), in test_vector_ccmp_pv1()
[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 …]
Dccmp.c21 u16 fc, stype, seq; in ccmp_aad_nonce() local
27 fc = le_to_host16(hdr->frame_control); in ccmp_aad_nonce()
28 stype = WLAN_FC_GET_STYPE(fc); in ccmp_aad_nonce()
29 if ((fc & (WLAN_FC_TODS | WLAN_FC_FROMDS)) == in ccmp_aad_nonce()
33 if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_DATA) { in ccmp_aad_nonce()
34 fc &= ~0x0070; /* Mask subtype bits */ in ccmp_aad_nonce()
38 fc &= ~WLAN_FC_HTC; in ccmp_aad_nonce()
44 } else if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_MGMT) in ccmp_aad_nonce()
47 fc &= ~(WLAN_FC_RETRY | WLAN_FC_PWRMGT | WLAN_FC_MOREDATA); in ccmp_aad_nonce()
48 fc |= WLAN_FC_ISWEP; in ccmp_aad_nonce()
[all …]
Drx_data.c403 u16 fc = le_to_host16(hdr->frame_control); in rx_data_bss_prot() local
422 if ((fc & (WLAN_FC_TODS | WLAN_FC_FROMDS)) == in rx_data_bss_prot()
447 } else if (fc & WLAN_FC_TODS) { in rx_data_bss_prot()
454 } else if (fc & WLAN_FC_FROMDS) { in rx_data_bss_prot()
552 if (fc & WLAN_FC_TODS) in rx_data_bss_prot()
558 if (fc & WLAN_FC_TODS) in rx_data_bss_prot()
568 } else if ((fc & (WLAN_FC_TODS | WLAN_FC_FROMDS)) == in rx_data_bss_prot()
574 } else if (fc & WLAN_FC_TODS) in rx_data_bss_prot()
671 u16 fc = le_to_host16(hdr->frame_control); in rx_data_bss_prot() local
673 if (!(fc & (WLAN_FC_FROMDS | WLAN_FC_TODS))) in rx_data_bss_prot()
[all …]
Dgcmp.c21 u16 fc, stype, seq; in gcmp_aad_nonce() local
25 fc = le_to_host16(hdr->frame_control); in gcmp_aad_nonce()
26 stype = WLAN_FC_GET_STYPE(fc); in gcmp_aad_nonce()
27 if ((fc & (WLAN_FC_TODS | WLAN_FC_FROMDS)) == in gcmp_aad_nonce()
31 if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_DATA) { in gcmp_aad_nonce()
32 fc &= ~0x0070; /* Mask subtype bits */ in gcmp_aad_nonce()
36 fc &= ~WLAN_FC_HTC; in gcmp_aad_nonce()
43 fc &= ~(WLAN_FC_RETRY | WLAN_FC_PWRMGT | WLAN_FC_MOREDATA); in gcmp_aad_nonce()
44 WPA_PUT_LE16(aad, fc); in gcmp_aad_nonce()
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()
74 u16 fc; in bip_gmac_protect() local
101 fc = le_to_host16(hdr->frame_control); in bip_gmac_protect()
102 fc &= ~(WLAN_FC_RETRY | WLAN_FC_PWRMGT | WLAN_FC_MOREDATA); in bip_gmac_protect()
103 WPA_PUT_LE16(buf, fc); in bip_gmac_protect()
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.c393 u16 fc, reason; in rx_mgmt_deauth() local
431 fc = le_to_host16(mgmt->frame_control); in rx_mgmt_deauth()
432 if (!(fc & WLAN_FC_ISWEP) && reason == 6) in rx_mgmt_deauth()
434 else if (!(fc & WLAN_FC_ISWEP) && reason == 7) in rx_mgmt_deauth()
1604 u16 fc, reason; in rx_mgmt_disassoc() local
1644 fc = le_to_host16(mgmt->frame_control); in rx_mgmt_disassoc()
1645 if (!(fc & WLAN_FC_ISWEP) && reason == 6) in rx_mgmt_disassoc()
1647 else if (!(fc & WLAN_FC_ISWEP) && reason == 7) in rx_mgmt_disassoc()
2105 u16 fc; in check_mmie_mic() local
2122 fc = le_to_host16(hdr->frame_control); in check_mmie_mic()
[all …]
/hostap-3.7.0/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-3.7.0/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:
Drsa3072-user.pem37 67:13:2f:d8:e2:f0:5c:75:9e:aa:79:fc:c1:b7:48:
70 5e:08:1a:93:ba:fc:97:1c:aa:e2:1f:99:2c:ca:0b:3f:7a:ab:
71 9e:35:ab:b7:78:f5:a0:d2:38:f8:ed:91:e7:9e:0c:b7:fc:ce:
73 3d:67:4d:e8:5d:fc:6a:f1:a4:0f:7d:20:f0:e7:7f:af:f4:71:
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:
Dserver-eku-client-server.pem21 61:1f:ef:3a:1c:d5:c6:fc:95:5d:9b:37:d6:5b:cb:
52 46:db:de:44:bc:ce:b3:5a:fc:72:01:a0:b2:49:b2:b2:ce:de:
62 ad:77:3e:94:fc:82:38:cf:5f:17:77:e8:4e:6a:8b:75:21:ce:
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:
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:
/hostap-3.7.0/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-3.7.0/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-3.7.0/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:
/hostap-3.7.0/src/ap/
Ddrv_callbacks.c1309 u16 fc; in hostapd_action_rx() local
1318 fc = le_to_host16(mgmt->frame_control); in hostapd_action_rx()
1319 if (WLAN_FC_GET_STYPE(fc) != WLAN_FC_STYPE_ACTION) in hostapd_action_rx()
1442 u16 fc = le_to_host16(hdr->frame_control); in hostapd_mgmt_rx() local
1448 if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_MGMT && in hostapd_mgmt_rx()
1449 WLAN_FC_GET_STYPE(fc) == WLAN_FC_STYPE_BEACON) in hostapd_mgmt_rx()
1857 u16 fc; in wpa_supplicant_event() local
1860 fc = le_to_host16(hdr->frame_control); in wpa_supplicant_event()
1861 if (WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_MGMT && in wpa_supplicant_event()
1862 WLAN_FC_GET_STYPE(fc) == WLAN_FC_STYPE_BEACON) in wpa_supplicant_event()
[all …]

123