Home
last modified time | relevance | path

Searched refs:capab (Results 1 – 25 of 37) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa_ie.c116 u16 capab = 0; in rsn_supp_capab() local
119 capab |= WPA_CAPABILITY_MFPC; in rsn_supp_capab()
121 capab |= WPA_CAPABILITY_MFPR; in rsn_supp_capab()
123 capab |= WPA_CAPABILITY_OCVC; in rsn_supp_capab()
125 capab |= WPA_CAPABILITY_EXT_KEY_ID_FOR_UNICAST; in rsn_supp_capab()
127 return capab; in rsn_supp_capab()
363 u16 capab = 0; in wpa_gen_rsnxe() local
368 capab |= BIT(WLAN_RSNX_CAPAB_SAE_H2E); in wpa_gen_rsnxe()
371 capab |= BIT(WLAN_RSNX_CAPAB_SAE_PK); in wpa_gen_rsnxe()
376 capab |= BIT(WLAN_RSNX_CAPAB_SECURE_LTF); in wpa_gen_rsnxe()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_ie.c93 u16 capab = 0; in wpa_own_rsn_capab() local
96 capab |= WPA_CAPABILITY_PREAUTH; in wpa_own_rsn_capab()
99 capab |= (RSN_NUM_REPLAY_COUNTERS_16 << 2); in wpa_own_rsn_capab()
102 capab |= WPA_CAPABILITY_MFPC; in wpa_own_rsn_capab()
104 capab |= WPA_CAPABILITY_MFPR; in wpa_own_rsn_capab()
108 capab |= WPA_CAPABILITY_OCVC; in wpa_own_rsn_capab()
112 capab |= BIT(8) | BIT(15); in wpa_own_rsn_capab()
115 capab |= WPA_CAPABILITY_EXT_KEY_ID_FOR_UNICAST; in wpa_own_rsn_capab()
117 return capab; in wpa_own_rsn_capab()
394 u16 capab = 0; in wpa_write_rsnxe() local
[all …]
Dhs20.c50 u16 capab; in hostapd_eid_osen() local
78 capab = 0; in hostapd_eid_osen()
81 capab |= (RSN_NUM_REPLAY_COUNTERS_16 << 2); in hostapd_eid_osen()
84 capab |= WPA_CAPABILITY_MFPC; in hostapd_eid_osen()
86 capab |= WPA_CAPABILITY_MFPR; in hostapd_eid_osen()
92 capab |= WPA_CAPABILITY_OCVC; in hostapd_eid_osen()
94 WPA_PUT_LE16(eid, capab); in hostapd_eid_osen()
Dieee802_11_shared.c1017 struct ieee80211_vht_capabilities *capab; in get_tx_parameters() local
1020 capab = sta->vht_capabilities; in get_tx_parameters()
1027 vht_chanwidth = capab->vht_capabilities_info & in get_tx_parameters()
1029 vht_80p80 = capab->vht_capabilities_info & in get_tx_parameters()
1054 u16 capab = 0; in hostapd_eid_rsnxe() local
1068 capab |= BIT(WLAN_RSNX_CAPAB_SAE_H2E); in hostapd_eid_rsnxe()
1071 capab |= BIT(WLAN_RSNX_CAPAB_SAE_PK); in hostapd_eid_rsnxe()
1076 capab |= BIT(WLAN_RSNX_CAPAB_SECURE_LTF); in hostapd_eid_rsnxe()
1078 capab |= BIT(WLAN_RSNX_CAPAB_SECURE_RTT); in hostapd_eid_rsnxe()
1080 capab |= BIT(WLAN_RSNX_CAPAB_PROT_RANGE_NEG); in hostapd_eid_rsnxe()
[all …]
Dieee802_11_he.c343 u16 capab; in hostapd_eid_he_6ghz_band_cap() local
351 capab = he_cap->he_6ghz_capa & HE_6GHZ_BAND_CAP_MIN_MPDU_START; in hostapd_eid_he_6ghz_band_cap()
352 capab |= (conf->he_6ghz_max_ampdu_len_exp << in hostapd_eid_he_6ghz_band_cap()
355 capab |= (conf->he_6ghz_max_mpdu << in hostapd_eid_he_6ghz_band_cap()
358 capab |= HE_6GHZ_BAND_CAP_SMPS_DISABLED; in hostapd_eid_he_6ghz_band_cap()
360 capab |= HE_6GHZ_BAND_CAP_RX_ANTPAT_CONS; in hostapd_eid_he_6ghz_band_cap()
362 capab |= HE_6GHZ_BAND_CAP_TX_ANTPAT_CONS; in hostapd_eid_he_6ghz_band_cap()
370 cap->capab = host_to_le16(capab); in hostapd_eid_he_6ghz_band_cap()
Dneighbor_db.c224 u16 capab = hostapd_own_capab_info(hapd); in hostapd_neighbor_set_own_report() local
243 if (capab & WLAN_CAPABILITY_SPECTRUM_MGMT) in hostapd_neighbor_set_own_report()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dhs20.c50 u16 capab; in hostapd_eid_osen() local
78 capab = 0; in hostapd_eid_osen()
81 capab |= (RSN_NUM_REPLAY_COUNTERS_16 << 2); in hostapd_eid_osen()
85 capab |= WPA_CAPABILITY_MFPC; in hostapd_eid_osen()
87 capab |= WPA_CAPABILITY_MFPR; in hostapd_eid_osen()
92 capab |= WPA_CAPABILITY_OCVC; in hostapd_eid_osen()
94 WPA_PUT_LE16(eid, capab); in hostapd_eid_osen()
Dwpa_auth_ie.c97 u16 capab; in wpa_write_rsn_ie() local
282 capab = 0; in wpa_write_rsn_ie()
284 capab |= WPA_CAPABILITY_PREAUTH; in wpa_write_rsn_ie()
287 capab |= (RSN_NUM_REPLAY_COUNTERS_16 << 2); in wpa_write_rsn_ie()
291 capab |= WPA_CAPABILITY_MFPC; in wpa_write_rsn_ie()
293 capab |= WPA_CAPABILITY_MFPR; in wpa_write_rsn_ie()
298 capab |= WPA_CAPABILITY_OCVC; in wpa_write_rsn_ie()
302 capab |= BIT(8) | BIT(15); in wpa_write_rsn_ie()
304 WPA_PUT_LE16(pos, capab); in wpa_write_rsn_ie()
384 u16 capab; in wpa_write_osen() local
[all …]
Dneighbor_db.c166 u16 capab = hostapd_own_capab_info(hapd); in hostapd_neighbor_set_own_report() local
185 if (capab & WLAN_CAPABILITY_SPECTRUM_MGMT) in hostapd_neighbor_set_own_report()
Dieee802_11_shared.c972 struct ieee80211_vht_capabilities *capab; in get_tx_parameters() local
975 capab = sta->vht_capabilities; in get_tx_parameters()
982 vht_chanwidth = capab->vht_capabilities_info & in get_tx_parameters()
984 vht_80p80 = capab->vht_capabilities_info & in get_tx_parameters()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_config_file.c1158 const char *capab) in hostapd_config_ht_capab() argument
1160 if (os_strstr(capab, "[LDPC]")) in hostapd_config_ht_capab()
1162 if (os_strstr(capab, "[HT40-]")) { in hostapd_config_ht_capab()
1166 if (os_strstr(capab, "[HT40+]")) { in hostapd_config_ht_capab()
1170 if (os_strstr(capab, "[HT40+]") && os_strstr(capab, "[HT40-]")) { in hostapd_config_ht_capab()
1174 if (!os_strstr(capab, "[HT40+]") && !os_strstr(capab, "[HT40-]")) in hostapd_config_ht_capab()
1176 if (os_strstr(capab, "[SMPS-STATIC]")) { in hostapd_config_ht_capab()
1180 if (os_strstr(capab, "[SMPS-DYNAMIC]")) { in hostapd_config_ht_capab()
1184 if (os_strstr(capab, "[GF]")) in hostapd_config_ht_capab()
1186 if (os_strstr(capab, "[SHORT-GI-20]")) in hostapd_config_ht_capab()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_config_file.c1069 const char *capab) in hostapd_config_ht_capab() argument
1071 if (os_strstr(capab, "[LDPC]")) in hostapd_config_ht_capab()
1073 if (os_strstr(capab, "[HT40-]")) { in hostapd_config_ht_capab()
1077 if (os_strstr(capab, "[HT40+]")) { in hostapd_config_ht_capab()
1081 if (os_strstr(capab, "[HT40+]") && os_strstr(capab, "[HT40-]")) { in hostapd_config_ht_capab()
1085 if (!os_strstr(capab, "[HT40+]") && !os_strstr(capab, "[HT40-]")) in hostapd_config_ht_capab()
1087 if (os_strstr(capab, "[HT20]")) in hostapd_config_ht_capab()
1089 if (os_strstr(capab, "[GF]")) in hostapd_config_ht_capab()
1091 if (os_strstr(capab, "[SHORT-GI-20]")) in hostapd_config_ht_capab()
1093 if (os_strstr(capab, "[SHORT-GI-40]")) in hostapd_config_ht_capab()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa_ie.c115 u16 capab; in wpa_gen_wpa_ie_rsn() local
219 capab = 0; in wpa_gen_wpa_ie_rsn()
222 capab |= WPA_CAPABILITY_MFPC; in wpa_gen_wpa_ie_rsn()
224 capab |= WPA_CAPABILITY_MFPR; in wpa_gen_wpa_ie_rsn()
227 capab |= WPA_CAPABILITY_OCVC; in wpa_gen_wpa_ie_rsn()
228 WPA_PUT_LE16(pos, capab); in wpa_gen_wpa_ie_rsn()
Dwpa_ft.c172 u16 capab; in wpa_ft_gen_req_ies() local
248 capab = 0; in wpa_ft_gen_req_ies()
254 capab |= WPA_CAPABILITY_MFPC; in wpa_ft_gen_req_ies()
257 capab |= WPA_CAPABILITY_OCVC; in wpa_ft_gen_req_ies()
258 WPA_PUT_LE16(pos, capab); in wpa_ft_gen_req_ies()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dieee802_11_common.h288 int ieee802_11_ext_capab(const u8 *ie, unsigned int capab);
290 unsigned int capab);
291 bool ieee802_11_rsnx_capab(const u8 *rsnxe, unsigned int capab);
Dwpa_common.c3369 u16 capab; in wpa_pasn_add_rsne() local
3437 capab = WPA_CAPABILITY_MFPC | WPA_CAPABILITY_MFPR; in wpa_pasn_add_rsne()
3438 WPA_PUT_LE16(pos, capab); in wpa_pasn_add_rsne()
3599 u16 capab = WPA_CAPABILITY_MFPC | WPA_CAPABILITY_MFPR; in wpa_pasn_validate_rsne() local
3604 if ((data->capabilities & capab) != capab) { in wpa_pasn_validate_rsne()
3757 void wpa_pasn_add_rsnxe(struct wpabuf *buf, u16 capab) in wpa_pasn_add_rsnxe() argument
3761 flen = (capab & 0xff00) ? 2 : 1; in wpa_pasn_add_rsnxe()
3762 if (!capab) in wpa_pasn_add_rsnxe()
3766 capab |= flen - 1; /* bit 0-3 = Field length (n - 1) */ in wpa_pasn_add_rsnxe()
3770 wpabuf_put_u8(buf, capab & 0x00ff); in wpa_pasn_add_rsnxe()
[all …]
Dieee802_11_common.c2480 int ieee802_11_ext_capab(const u8 *ie, unsigned int capab) in ieee802_11_ext_capab() argument
2482 if (!ie || ie[1] <= capab / 8) in ieee802_11_ext_capab()
2484 return !!(ie[2 + capab / 8] & BIT(capab % 8)); in ieee802_11_ext_capab()
2489 unsigned int capab) in ieee802_11_rsnx_capab_len() argument
2506 return capabs & BIT(capab); in ieee802_11_rsnx_capab_len()
2510 bool ieee802_11_rsnx_capab(const u8 *rsnxe, unsigned int capab) in ieee802_11_rsnx_capab() argument
2513 rsnxe ? rsnxe[1] : 0, capab); in ieee802_11_rsnx_capab()
/third_party/libbpf/include/uapi/linux/
Dpkt_cls.h92 __u32 capab; member
109 __u32 capab; \
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dpasn_supplicant.c671 u16 capab; in wpas_pasn_build_auth_1() local
738 capab = 0; in wpas_pasn_build_auth_1()
739 capab |= BIT(WLAN_RSNX_CAPAB_SAE_H2E); in wpas_pasn_build_auth_1()
741 capab |= BIT(WLAN_RSNX_CAPAB_SECURE_LTF); in wpas_pasn_build_auth_1()
743 capab |= BIT(WLAN_RSNX_CAPAB_SECURE_RTT); in wpas_pasn_build_auth_1()
745 capab |= BIT(WLAN_RSNX_CAPAB_PROT_RANGE_NEG); in wpas_pasn_build_auth_1()
746 wpa_pasn_add_rsnxe(buf, capab); in wpas_pasn_build_auth_1()
Dbss.h190 int wpa_bss_ext_capab(const struct wpa_bss *bss, unsigned int capab);
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dbss.h159 int wpa_bss_ext_capab(const struct wpa_bss *bss, unsigned int capab);
Dscan.c2282 enum local_hw_capab capab = wpa_s->hw_capab; in scan_est_throughput() local
2317 if (capab == CAPAB_HT || capab == CAPAB_HT40 || capab == CAPAB_VHT) { in scan_est_throughput()
2326 if (capab == CAPAB_HT40 || capab == CAPAB_VHT) { in scan_est_throughput()
2336 if (capab == CAPAB_VHT) { in scan_est_throughput()
Dinterworking.c1327 const u8 *capab, *end; in cred_conn_capab_missing() local
1343 capab = wpabuf_head(bss->anqp->hs20_connection_capability); in cred_conn_capab_missing()
1344 end = capab + wpabuf_len(bss->anqp->hs20_connection_capability); in cred_conn_capab_missing()
1349 if (!has_proto_match(capab, end, in cred_conn_capab_missing()
1355 capab, end, in cred_conn_capab_missing()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dieee802_11_common.c2009 int ieee802_11_ext_capab(const u8 *ie, unsigned int capab) in ieee802_11_ext_capab() argument
2011 if (!ie || ie[1] <= capab / 8) in ieee802_11_ext_capab()
2013 return !!(ie[2 + capab / 8] & BIT(capab % 8)); in ieee802_11_ext_capab()
Dieee802_11_common.h227 int ieee802_11_ext_capab(const u8 *ie, unsigned int capab);

12