/freebsd/contrib/wpa/src/rsn_supp/ |
H A D | wpa_ie.c | 110 u16 capab = 0; in rsn_supp_capab() local 113 capab |= WPA_CAPABILITY_MFPC; in rsn_supp_capab() 115 capab |= WPA_CAPABILITY_MFPR; in rsn_supp_capab() 117 capab |= WPA_CAPABILITY_OCVC; in rsn_supp_capab() 121 return capab; in rsn_supp_capab() 357 u16 capab = 0; in wpa_gen_rsnxe() local 377 if (!capab) in wpa_gen_rsnxe() 385 *pos++ = capab & 0x00ff; in wpa_gen_rsnxe() 386 capab >>= 8; in wpa_gen_rsnxe() 387 if (capab) in wpa_gen_rsnxe() [all …]
|
H A D | wpa.c | 4472 u16 capab; in fils_ft_build_assoc_req_rsne() local 4521 capab = 0; in fils_ft_build_assoc_req_rsne() 4523 capab |= WPA_CAPABILITY_MFPC; in fils_ft_build_assoc_req_rsne() 4525 capab |= WPA_CAPABILITY_MFPR; in fils_ft_build_assoc_req_rsne() 4527 capab |= WPA_CAPABILITY_OCVC; in fils_ft_build_assoc_req_rsne() 4529 capab |= WPA_CAPABILITY_EXT_KEY_ID_FOR_UNICAST; in fils_ft_build_assoc_req_rsne() 4530 wpabuf_put_le16(buf, capab); in fils_ft_build_assoc_req_rsne()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | wpa_auth_ie.c | 93 u16 capab = 0; in wpa_own_rsn_capab() local 112 capab |= BIT(8) | BIT(15); in wpa_own_rsn_capab() 117 return capab; in wpa_own_rsn_capab() 394 u16 capab = 0; in wpa_write_rsnxe() local 414 if (!capab) in wpa_write_rsnxe() 422 *pos++ = capab & 0x00ff; in wpa_write_rsnxe() 423 capab >>= 8; in wpa_write_rsnxe() 424 if (capab) in wpa_write_rsnxe() 425 *pos++ = capab; in wpa_write_rsnxe() 434 u16 capab; in wpa_write_osen() local [all …]
|
H A D | hs20.c | 50 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()
|
H A D | ieee802_11_shared.c | 1017 struct ieee80211_vht_capabilities *capab; in get_tx_parameters() local 1020 capab = sta->vht_capabilities; 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() 1082 flen = (capab & 0xff00) ? 2 : 1; in hostapd_eid_rsnxe() 1083 if (len < 2 + flen || !capab) in hostapd_eid_rsnxe() 1089 *pos++ = capab & 0x00ff; in hostapd_eid_rsnxe() 1090 capab >>= 8; in hostapd_eid_rsnxe() 1091 if (capab) in hostapd_eid_rsnxe() [all …]
|
H A D | ieee802_11_he.c | 343 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()
|
H A D | neighbor_db.c | 224 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()
|
H A D | ieee802_11.c | 244 int capab = WLAN_CAPABILITY_ESS; in hostapd_own_capab_info() local 259 capab |= WLAN_CAPABILITY_SHORT_PREAMBLE; in hostapd_own_capab_info() 279 capab |= WLAN_CAPABILITY_PRIVACY; in hostapd_own_capab_info() 284 capab |= WLAN_CAPABILITY_SHORT_SLOT_TIME; in hostapd_own_capab_info() 295 capab |= WLAN_CAPABILITY_SPECTRUM_MGMT; in hostapd_own_capab_info() 299 capab |= IEEE80211_CAP_RRM; in hostapd_own_capab_info() 304 return capab; in hostapd_own_capab_info()
|
H A D | wpa_auth_ft.c | 791 u8 capab; in wpa_write_mdie() local 799 capab = 0; in wpa_write_mdie() 801 capab |= RSN_FT_CAPAB_FT_OVER_DS; in wpa_write_mdie() 802 *pos++ = capab; in wpa_write_mdie()
|
/freebsd/contrib/tcsh/ |
H A D | vms.termcap.c | 33 char *capab; /* the capability itself */ variable 50 capab = bp; in tgetent() 76 capab = bp; in tgetent() 153 if ((cp = capab) == NULL || id == NULL) in tgetnum() 185 if ((cp = capab) == NULL || id == NULL) in tgetflag() 212 if ((cp = capab) == NULL || id == NULL) in tgetstr()
|
/freebsd/contrib/wpa/hostapd/ |
H A D | config_file.c | 1065 const char *capab) in hostapd_config_ht_capab() argument 1067 if (os_strstr(capab, "[LDPC]")) in hostapd_config_ht_capab() 1069 if (os_strstr(capab, "[HT40-]")) { in hostapd_config_ht_capab() 1073 if (os_strstr(capab, "[HT40+]")) { in hostapd_config_ht_capab() 1077 if (os_strstr(capab, "[HT40+]") && os_strstr(capab, "[HT40-]")) { in hostapd_config_ht_capab() 1081 if (!os_strstr(capab, "[HT40+]") && !os_strstr(capab, "[HT40-]")) in hostapd_config_ht_capab() 1083 if (os_strstr(capab, "[GF]")) in hostapd_config_ht_capab() 1089 if (os_strstr(capab, "[TX-STBC]")) in hostapd_config_ht_capab() 1120 const char *capab) in hostapd_config_vht_capab() argument 1126 if (os_strstr(capab, "[VHT160]")) in hostapd_config_vht_capab() [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | ieee802_11_common.h | 273 int ieee802_11_ext_capab(const u8 *ie, unsigned int capab); 275 unsigned int capab); 276 bool ieee802_11_rsnx_capab(const u8 *rsnxe, unsigned int capab);
|
H A D | wpa_common.c | 3330 u16 capab; in wpa_pasn_add_rsne() local 3398 capab = WPA_CAPABILITY_MFPC | WPA_CAPABILITY_MFPR; in wpa_pasn_add_rsne() 3399 WPA_PUT_LE16(pos, capab); in wpa_pasn_add_rsne() 3565 if ((data->capabilities & capab) != capab) { in wpa_pasn_validate_rsne() 3718 void wpa_pasn_add_rsnxe(struct wpabuf *buf, u16 capab) in wpa_pasn_add_rsnxe() argument 3722 flen = (capab & 0xff00) ? 2 : 1; in wpa_pasn_add_rsnxe() 3723 if (!capab) in wpa_pasn_add_rsnxe() 3731 wpabuf_put_u8(buf, capab & 0x00ff); in wpa_pasn_add_rsnxe() 3732 capab >>= 8; in wpa_pasn_add_rsnxe() 3733 if (capab) in wpa_pasn_add_rsnxe() [all …]
|
H A D | ieee802_11_common.c | 2432 int ieee802_11_ext_capab(const u8 *ie, unsigned int capab) in ieee802_11_ext_capab() argument 2434 if (!ie || ie[1] <= capab / 8) in ieee802_11_ext_capab() 2436 return !!(ie[2 + capab / 8] & BIT(capab % 8)); in ieee802_11_ext_capab() 2441 unsigned int capab) in ieee802_11_rsnx_capab_len() argument 2458 return capabs & BIT(capab); in ieee802_11_rsnx_capab_len() 2462 bool ieee802_11_rsnx_capab(const u8 *rsnxe, unsigned int capab) in ieee802_11_rsnx_capab() argument 2465 rsnxe ? rsnxe[1] : 0, capab); in ieee802_11_rsnx_capab()
|
H A D | wpa_common.h | 676 void wpa_pasn_add_rsnxe(struct wpabuf *buf, u16 capab);
|
H A D | ieee802_11_defs.h | 2219 le16 capab; member
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | pasn_supplicant.c | 666 u16 capab; in wpas_pasn_build_auth_1() local 733 capab = 0; in wpas_pasn_build_auth_1() 734 capab |= BIT(WLAN_RSNX_CAPAB_SAE_H2E); in wpas_pasn_build_auth_1() 736 capab |= BIT(WLAN_RSNX_CAPAB_SECURE_LTF); in wpas_pasn_build_auth_1() 738 capab |= BIT(WLAN_RSNX_CAPAB_SECURE_RTT); in wpas_pasn_build_auth_1() 740 capab |= BIT(WLAN_RSNX_CAPAB_PROT_RANGE_NEG); in wpas_pasn_build_auth_1() 741 wpa_pasn_add_rsnxe(buf, capab); in wpas_pasn_build_auth_1()
|
H A D | bss.h | 172 int wpa_bss_ext_capab(const struct wpa_bss *bss, unsigned int capab);
|
H A D | interworking.c | 1333 const u8 *capab, *end; in cred_conn_capab_missing() local 1349 capab = wpabuf_head(bss->anqp->hs20_connection_capability); in cred_conn_capab_missing() 1350 end = capab + wpabuf_len(bss->anqp->hs20_connection_capability); in cred_conn_capab_missing() 1355 if (!has_proto_match(capab, end, in cred_conn_capab_missing() 1361 capab, end, in cred_conn_capab_missing()
|
H A D | bss.c | 1379 int wpa_bss_ext_capab(const struct wpa_bss *bss, unsigned int capab) in wpa_bss_ext_capab() argument 1384 capab); in wpa_bss_ext_capab()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76_connac_mac.c | 413 u16 capab = le16_to_cpu(mgmt->u.action.u.addba_req.capab); in mt76_connac2_mac_write_txwi_80211() local 416 tid = (capab >> 2) & IEEE80211_QOS_CTL_TID_MASK; in mt76_connac2_mac_write_txwi_80211()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | ieee80211.h | 534 uint16_t capab; member
|