Home
last modified time | relevance | path

Searched refs:auth_type (Results 1 – 25 of 53) sorted by relevance

123

/Linux-v4.19/drivers/staging/wilc1000/
Dhost_interface.h109 u8 auth_type; member
215 enum authtype auth_type; member
306 u8 index, u8 mode, enum authtype auth_type);
322 u8 security, enum authtype auth_type,
Dhost_interface.c31 enum authtype auth_type; member
67 enum authtype auth_type; member
463 u8 auth_type = param->auth_type; in handle_cfg_param() local
465 if (auth_type == 1 || auth_type == 2 || auth_type == 5) { in handle_cfg_param()
467 wid_list[i].val = (s8 *)&param->auth_type; in handle_cfg_param()
470 hif_drv->cfg_values.auth_type = auth_type; in handle_cfg_param()
955 hif_drv->usr_conn_req.auth_type = conn_attr->auth_type; in handle_connect()
992 wid_list[wid_cnt].val = (s8 *)&hif_drv->usr_conn_req.auth_type; in handle_connect()
1727 wid_list[1].val = (s8 *)&hif_key->attr.wep.auth_type; in handle_key()
2824 u8 index, u8 mode, enum authtype auth_type) in wilc_add_wep_key_bss_ap() argument
[all …]
Dwilc_wfi_cfgoperations.c673 enum authtype auth_type = ANY; in connect() local
768 switch (sme->auth_type) { in connect()
770 auth_type = OPEN_SYSTEM; in connect()
774 auth_type = SHARED_KEY; in connect()
783 auth_type = IEEE8021; in connect()
796 security, auth_type, in connect()
/Linux-v4.19/drivers/staging/greybus/
Dauthentication.c141 static int cap_authenticate(struct gb_cap *cap, u32 auth_type, u8 *uid, in cap_authenticate() argument
160 request->auth_type = cpu_to_le32(auth_type); in cap_authenticate()
245 ret = cap_authenticate(cap, authenticate->auth_type, in cap_ioctl()
Dgreybus_authentication.h106 __u32 auth_type; member
/Linux-v4.19/net/bluetooth/
Dhci_conn.c512 conn->auth_type = HCI_AT_GENERAL_BONDING; in hci_conn_add()
1186 u8 sec_level, u8 auth_type) in hci_connect_acl() argument
1209 acl->auth_type = auth_type; in hci_connect_acl()
1283 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) in hci_conn_auth() argument
1296 auth_type |= (conn->auth_type & 0x01); in hci_conn_auth()
1298 conn->auth_type = auth_type; in hci_conn_auth()
1334 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, in hci_conn_security() argument
1391 if (!hci_conn_auth(conn, sec_level, auth_type)) in hci_conn_security()
1612 req.type = conn->auth_type; in hci_get_auth_info()
/Linux-v4.19/drivers/staging/wlan-ng/
Dcfg80211.c465 if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) || in prism2_connect()
466 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep)) in prism2_connect()
468 else if ((sme->auth_type == NL80211_AUTHTYPE_SHARED_KEY) || in prism2_connect()
469 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && is_wep)) in prism2_connect()
474 sme->auth_type); in prism2_connect()
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Duap_cmd.c44 switch (params->auth_type) { in mwifiex_set_secure_params()
484 struct host_cmd_tlv_auth_type *auth_type; in mwifiex_uap_bss_param_prepare() local
606 auth_type = (struct host_cmd_tlv_auth_type *)tlv; in mwifiex_uap_bss_param_prepare()
607 auth_type->header.type = cpu_to_le16(TLV_TYPE_AUTH_TYPE); in mwifiex_uap_bss_param_prepare()
608 auth_type->header.len = in mwifiex_uap_bss_param_prepare()
611 auth_type->auth_type = (u8)bss_cfg->auth_mode; in mwifiex_uap_bss_param_prepare()
Djoin.c466 auth_tlv->header.len = cpu_to_le16(sizeof(auth_tlv->auth_type)); in mwifiex_cmd_802_11_associate()
468 auth_tlv->auth_type = cpu_to_le16( in mwifiex_cmd_802_11_associate()
471 auth_tlv->auth_type = cpu_to_le16(NL80211_AUTHTYPE_OPEN_SYSTEM); in mwifiex_cmd_802_11_associate()
/Linux-v4.19/drivers/staging/ks7010/
Dks_hostif.c273 unsigned short auth_type) in hostif_data_indication_wpa() argument
283 unsigned int key_index = auth_type - 1; in hostif_data_indication_wpa()
294 if (((auth_type == TYPE_PMK1 && in hostif_data_indication_wpa()
296 (auth_type == TYPE_GMK1 && in hostif_data_indication_wpa()
298 (auth_type == TYPE_GMK2 && in hostif_data_indication_wpa()
306 if (auth_type > 0 && auth_type < 4) { /* auth_type check */ in hostif_data_indication_wpa()
354 u16 auth_type; in hostif_data_indication() local
367 auth_type = get_word(priv); /* AuthType */ in hostif_data_indication()
385 if (auth_type != TYPE_DATA && priv->wpa.rsn_enabled) { in hostif_data_indication()
386 ret = hostif_data_indication_wpa(priv, auth_type); in hostif_data_indication()
[all …]
Dks_hostif.h69 __le16 auth_type; member
395 __le16 auth_type; member
/Linux-v4.19/net/wireless/
Dsme.c172 params->channel, params->auth_type, in cfg80211_conn_do_work()
343 wdev->conn->params.auth_type != NL80211_AUTHTYPE_NETWORK_EAP) { in cfg80211_sme_rx_auth()
345 switch (wdev->conn->params.auth_type) { in cfg80211_sme_rx_auth()
348 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
351 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
355 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
360 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
558 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect()
561 wdev->conn->params.auth_type = in cfg80211_sme_connect()
Dmlme.c220 enum nl80211_auth_type auth_type, in cfg80211_mlme_auth() argument
233 .auth_type = auth_type, in cfg80211_mlme_auth()
242 if (auth_type == NL80211_AUTHTYPE_SHARED_KEY) in cfg80211_mlme_auth()
Dtrace.h488 __field(enum nl80211_auth_type, auth_type)
500 __entry->auth_type = settings->auth_type;
512 BOOL_TO_STR(__entry->privacy), __entry->auth_type,
1111 __field(enum nl80211_auth_type, auth_type)
1120 __entry->auth_type = req->auth_type;
1123 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->auth_type,
1254 __field(enum nl80211_auth_type, auth_type)
1266 __entry->auth_type = sme->auth_type;
1276 __entry->auth_type, BOOL_TO_STR(__entry->privacy),
Dwext-compat.c922 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in cfg80211_set_auth_alg()
927 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_SHARED_KEY; in cfg80211_set_auth_alg()
932 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_NETWORK_EAP; in cfg80211_set_auth_alg()
936 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in cfg80211_set_auth_alg()
Dnl80211.c4124 enum nl80211_auth_type auth_type, in nl80211_valid_auth_type() argument
4127 if (auth_type > NL80211_AUTHTYPE_MAX) in nl80211_valid_auth_type()
4133 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
4137 (auth_type == NL80211_AUTHTYPE_FILS_SK || in nl80211_valid_auth_type()
4138 auth_type == NL80211_AUTHTYPE_FILS_SK_PFS || in nl80211_valid_auth_type()
4139 auth_type == NL80211_AUTHTYPE_FILS_PK)) in nl80211_valid_auth_type()
4144 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
4148 if (auth_type == NL80211_AUTHTYPE_FILS_SK_PFS || in nl80211_valid_auth_type()
4149 auth_type == NL80211_AUTHTYPE_FILS_PK) in nl80211_valid_auth_type()
4154 auth_type == NL80211_AUTHTYPE_FILS_SK) in nl80211_valid_auth_type()
[all …]
/Linux-v4.19/drivers/crypto/
Dn2_core.c211 int enc_type, int auth_type, in control_word_base() argument
220 word |= ((u64) auth_type << CONTROL_AUTH_TYPE_SHIFT); in control_word_base()
253 u8 auth_type; member
522 unsigned int auth_type, unsigned int digest_size, in n2_do_async_digest() argument
566 auth_type, digest_size, in n2_do_async_digest()
623 return n2_do_async_digest(req, n2alg->auth_type, in n2_hash_async_digest()
1290 u8 auth_type; member
1316 .auth_type = AUTH_TYPE_MD5,
1324 .auth_type = AUTH_TYPE_SHA1,
1332 .auth_type = AUTH_TYPE_SHA256,
[all …]
/Linux-v4.19/drivers/staging/greybus/Documentation/firmware/
Dauthenticate.c71 .auth_type = 0,
Dfirmware-management265 __u32 auth_type;
300 an Interface. The user needs to fill the 'auth_type', 'uid', and 'challenge'
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfweh.h239 __be32 auth_type; member
281 s32 auth_type; member
Dfweh.c248 emsg.auth_type = be32_to_cpu(emsg_be->auth_type); in brcmf_fweh_event_worker()
Dcfg80211.h113 u32 auth_type; member
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Dcfg.c107 static int lbs_auth_to_authtype(enum nl80211_auth_type auth_type) in lbs_auth_to_authtype() argument
111 switch (auth_type) { in lbs_auth_to_authtype()
114 ret = auth_type; in lbs_auth_to_authtype()
345 static int lbs_add_auth_type_tlv(u8 *tlv, enum nl80211_auth_type auth_type) in lbs_add_auth_type_tlv() argument
356 auth->auth = cpu_to_le16(lbs_auth_to_authtype(auth_type)); in lbs_add_auth_type_tlv()
1035 ret = lbs_auth_to_authtype(sme->auth_type); in lbs_set_authtype()
1123 pos += lbs_add_auth_type_tlv(pos, sme->auth_type); in lbs_associate()
1382 wiphy_err(wiphy, "unsupported authtype 0x%x\n", sme->auth_type); in lbs_cfg_connect()
/Linux-v4.19/drivers/net/wireless/
Drndis_wlan.c1107 enum nl80211_auth_type auth_type, int keymgmt) in set_auth_mode() argument
1114 __func__, wpa_version, auth_type, keymgmt); in set_auth_mode()
1128 } else if (auth_type == NL80211_AUTHTYPE_SHARED_KEY) in set_auth_mode()
1130 else if (auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) in set_auth_mode()
1132 else if (auth_type == NL80211_AUTHTYPE_AUTOMATIC) in set_auth_mode()
2191 sme->privacy, sme->crypto.wpa_versions, sme->auth_type, in rndis_connect()
2204 ret = set_auth_mode(usbdev, sme->crypto.wpa_versions, sme->auth_type, in rndis_connect()
2297 enum nl80211_auth_type auth_type; in rndis_join_ibss() local
2309 auth_type = NL80211_AUTHTYPE_SHARED_KEY; in rndis_join_ibss()
2312 auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in rndis_join_ibss()
[all …]
/Linux-v4.19/drivers/crypto/bcm/
Dspu2.c624 enum spu2_hash_type auth_type, in spu2_fmd_ctrl0_write() argument
641 if (is_inbound && (auth_type != SPU2_HASH_TYPE_NONE)) in spu2_fmd_ctrl0_write()
644 ctrl0 |= (((u64)auth_type << SPU2_HASH_TYPE_SHIFT) | in spu2_fmd_ctrl0_write()

123