Home
last modified time | relevance | path

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

/linux-4.1.27/fs/ncpfs/
Dioctl.c87 s32 auth_type; member
589 user.auth_type = server->auth.auth_type; in __ncp_ioctl()
616 user.auth_type = server->auth.auth_type; in __ncp_ioctl()
651 user.auth_type = user32.auth_type; in __ncp_ioctl()
674 server->auth.auth_type = user.auth_type; in __ncp_ioctl()
Dncp_fs_sb.h88 int auth_type; member
Dinode.c591 server->auth.auth_type = NCP_AUTH_NONE; in ncp_fill_super()
/linux-4.1.27/net/bluetooth/
Dhci_conn.c450 conn->auth_type = HCI_AT_GENERAL_BONDING; in hci_conn_add()
863 u8 sec_level, u8 auth_type) in hci_connect_acl() argument
886 acl->auth_type = auth_type; in hci_connect_acl()
960 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) in hci_conn_auth() argument
973 auth_type |= (conn->auth_type & 0x01); in hci_conn_auth()
975 conn->auth_type = auth_type; in hci_conn_auth()
1011 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, in hci_conn_security() argument
1068 if (!hci_conn_auth(conn, sec_level, auth_type)) in hci_conn_security()
1289 req.type = conn->auth_type; in hci_get_auth_info()
Dhci_event.c1646 if (!hci_conn_ssp_enabled(conn) && !(conn->auth_type & 0x01) && in hci_outgoing_auth_needed()
3464 conn->auth_type != 0xff && (conn->auth_type & 0x01)) { in hci_link_key_request_evt()
3920 return conn->remote_auth | (conn->auth_type & 0x01); in hci_get_auth_req()
3930 return (conn->remote_auth & ~0x01) | (conn->auth_type & 0x01); in hci_get_auth_req()
4013 conn->auth_type != HCI_AT_NO_BONDING) in hci_io_capa_request_evt()
4014 conn->auth_type |= 0x01; in hci_io_capa_request_evt()
4016 conn->auth_type = hci_get_auth_req(conn); in hci_io_capa_request_evt()
4023 conn->auth_type &= HCI_AT_NO_BONDING_MITM; in hci_io_capa_request_evt()
4025 cp.authentication = conn->auth_type; in hci_io_capa_request_evt()
4082 loc_mitm = (conn->auth_type & 0x01); in hci_user_confirm_request_evt()
Dhci_core.c2234 if (conn->auth_type > 0x01 && conn->remote_auth > 0x01) in hci_persistent_key()
2238 if (conn->auth_type == 0x02 || conn->auth_type == 0x03) in hci_persistent_key()
Dl2cap_core.c808 __u8 auth_type; in l2cap_chan_check_security() local
813 auth_type = l2cap_get_auth_type(chan); in l2cap_chan_check_security()
815 return hci_conn_security(conn->hcon, chan->sec_level, auth_type, in l2cap_chan_check_security()
7123 u8 auth_type = l2cap_get_auth_type(chan); in l2cap_chan_connect() local
7124 hcon = hci_connect_acl(hdev, dst, chan->sec_level, auth_type); in l2cap_chan_connect()
Dmgmt.c3378 u8 sec_level, auth_type; in pair_device() local
3415 auth_type = HCI_AT_DEDICATED_BONDING; in pair_device()
3419 auth_type); in pair_device()
3494 hci_conn_security(conn, sec_level, auth_type, true)) { in pair_device()
/linux-4.1.27/net/wireless/
Dsme.c165 params->channel, params->auth_type, in cfg80211_conn_do_work()
326 wdev->conn->params.auth_type != NL80211_AUTHTYPE_NETWORK_EAP) { in cfg80211_sme_rx_auth()
328 switch (wdev->conn->params.auth_type) { in cfg80211_sme_rx_auth()
331 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
334 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
338 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
343 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
521 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect()
524 wdev->conn->params.auth_type = in cfg80211_sme_connect()
Dmlme.c201 enum nl80211_auth_type auth_type, in cfg80211_mlme_auth() argument
214 .auth_type = auth_type, in cfg80211_mlme_auth()
223 if (auth_type == NL80211_AUTHTYPE_SHARED_KEY) in cfg80211_mlme_auth()
Dtrace.h487 __field(enum nl80211_auth_type, auth_type)
499 __entry->auth_type = settings->auth_type;
511 BOOL_TO_STR(__entry->privacy), __entry->auth_type,
1077 __field(enum nl80211_auth_type, auth_type)
1086 __entry->auth_type = req->auth_type;
1089 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->auth_type,
1220 __field(enum nl80211_auth_type, auth_type)
1231 __entry->auth_type = sme->auth_type;
1240 __entry->auth_type, BOOL_TO_STR(__entry->privacy),
Dwext-compat.c943 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in cfg80211_set_auth_alg()
948 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_SHARED_KEY; in cfg80211_set_auth_alg()
953 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_NETWORK_EAP; in cfg80211_set_auth_alg()
957 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in cfg80211_set_auth_alg()
Dcore.c904 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in __cfg80211_leave()
1011 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in cfg80211_netdev_notifier_call()
Dcore.h325 enum nl80211_auth_type auth_type,
Dnl80211.c3261 enum nl80211_auth_type auth_type, in nl80211_valid_auth_type() argument
3264 if (auth_type > NL80211_AUTHTYPE_MAX) in nl80211_valid_auth_type()
3270 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
3276 if (auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
3351 params.auth_type = nla_get_u32( in nl80211_start_ap()
3353 if (!nl80211_valid_auth_type(rdev, params.auth_type, in nl80211_start_ap()
3357 params.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in nl80211_start_ap()
6811 enum nl80211_auth_type auth_type; in nl80211_authenticate() local
6885 auth_type = nla_get_u32(info->attrs[NL80211_ATTR_AUTH_TYPE]); in nl80211_authenticate()
6886 if (!nl80211_valid_auth_type(rdev, auth_type, NL80211_CMD_AUTHENTICATE)) in nl80211_authenticate()
[all …]
/linux-4.1.27/drivers/net/wireless/mwifiex/
Duap_cmd.c43 switch (params->auth_type) { in mwifiex_set_secure_params()
466 struct host_cmd_tlv_auth_type *auth_type; in mwifiex_uap_bss_param_prepare() local
587 auth_type = (struct host_cmd_tlv_auth_type *)tlv; in mwifiex_uap_bss_param_prepare()
588 auth_type->header.type = cpu_to_le16(TLV_TYPE_AUTH_TYPE); in mwifiex_uap_bss_param_prepare()
589 auth_type->header.len = in mwifiex_uap_bss_param_prepare()
592 auth_type->auth_type = (u8)bss_cfg->auth_mode; in mwifiex_uap_bss_param_prepare()
Djoin.c462 auth_tlv->header.len = cpu_to_le16(sizeof(auth_tlv->auth_type)); in mwifiex_cmd_802_11_associate()
464 auth_tlv->auth_type = cpu_to_le16( in mwifiex_cmd_802_11_associate()
467 auth_tlv->auth_type = cpu_to_le16(NL80211_AUTHTYPE_OPEN_SYSTEM); in mwifiex_cmd_802_11_associate()
Dcfg80211.c1894 int ret, auth_type = 0; in mwifiex_cfg80211_assoc() local
1940 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in mwifiex_cfg80211_assoc()
1941 auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in mwifiex_cfg80211_assoc()
1944 auth_type = sme->auth_type; in mwifiex_cfg80211_assoc()
1950 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc()
1955 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc()
Dfw.h748 __le16 auth_type; member
1676 u8 auth_type; member
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dfweh.c51 __be32 auth_type; member
281 emsg.auth_type = be32_to_cpu(emsg_be->auth_type); in brcmf_fweh_event_worker()
Dfweh.h208 s32 auth_type; member
Dcfg80211.h118 u32 auth_type; member
Dcfg80211.c1475 switch (sme->auth_type) { in brcmf_set_auth_type()
1492 brcmf_err("invalid auth type (%d)\n", sme->auth_type); in brcmf_set_auth_type()
1502 sec->auth_type = sme->auth_type; in brcmf_set_auth_type()
1696 if (sec->auth_type == NL80211_AUTHTYPE_SHARED_KEY) { in brcmf_set_sharedkey()
1795 sme->auth_type = brcmf_war_auth_type(ifp, sme->auth_type); in brcmf_cfg80211_connect()
3998 settings->ssid, settings->ssid_len, settings->auth_type, in brcmf_cfg80211_start_ap()
/linux-4.1.27/drivers/staging/wlan-ng/
Dcfg80211.c519 if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) || in prism2_connect()
520 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep)) in prism2_connect()
522 else if ((sme->auth_type == NL80211_AUTHTYPE_SHARED_KEY) || in prism2_connect()
523 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && is_wep)) in prism2_connect()
528 sme->auth_type); in prism2_connect()
/linux-4.1.27/drivers/crypto/
Dn2_core.c206 int enc_type, int auth_type, in control_word_base() argument
215 word |= ((u64) auth_type << CONTROL_AUTH_TYPE_SHIFT); in control_word_base()
248 u8 auth_type; member
507 unsigned int auth_type, unsigned int digest_size, in n2_do_async_digest() argument
551 auth_type, digest_size, in n2_do_async_digest()
608 return n2_do_async_digest(req, n2alg->auth_type, in n2_hash_async_digest()
1275 u8 auth_type; member
1322 .auth_type = AUTH_TYPE_MD5,
1330 .auth_type = AUTH_TYPE_SHA1,
1338 .auth_type = AUTH_TYPE_SHA256,
[all …]
/linux-4.1.27/include/uapi/linux/
Dncp_fs.h88 int auth_type; member
Dsctp.h429 __u16 auth_type; member
/linux-4.1.27/drivers/net/wireless/libertas/
Dcfg.c106 static int lbs_auth_to_authtype(enum nl80211_auth_type auth_type) in lbs_auth_to_authtype() argument
110 switch (auth_type) { in lbs_auth_to_authtype()
113 ret = auth_type; in lbs_auth_to_authtype()
344 static int lbs_add_auth_type_tlv(u8 *tlv, enum nl80211_auth_type auth_type) in lbs_add_auth_type_tlv() argument
355 auth->auth = cpu_to_le16(lbs_auth_to_authtype(auth_type)); in lbs_add_auth_type_tlv()
1060 lbs_deb_enter_args(LBS_DEB_CFG80211, "%d", sme->auth_type); in lbs_set_authtype()
1076 ret = lbs_auth_to_authtype(sme->auth_type); in lbs_set_authtype()
1166 pos += lbs_add_auth_type_tlv(pos, sme->auth_type); in lbs_associate()
1428 wiphy_err(wiphy, "unsupported authtype 0x%x\n", sme->auth_type); in lbs_cfg_connect()
/linux-4.1.27/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()
2189 sme->privacy, sme->crypto.wpa_versions, sme->auth_type, in rndis_connect()
2202 ret = set_auth_mode(usbdev, sme->crypto.wpa_versions, sme->auth_type, in rndis_connect()
2295 enum nl80211_auth_type auth_type; in rndis_join_ibss() local
2307 auth_type = NL80211_AUTHTYPE_SHARED_KEY; in rndis_join_ibss()
2310 auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in rndis_join_ibss()
[all …]
Dray_cs.c94 static int build_auth_frame(ray_dev_t *local, UCHAR *dest, int auth_type);
2684 static int build_auth_frame(ray_dev_t *local, UCHAR *dest, int auth_type) in build_auth_frame() argument
2721 writeb(auth_type & 0xff, ptx->var + 2); in build_auth_frame()
/linux-4.1.27/net/bluetooth/rfcomm/
Dcore.c217 __u8 auth_type; in rfcomm_check_security() local
222 auth_type = HCI_AT_GENERAL_BONDING_MITM; in rfcomm_check_security()
225 auth_type = HCI_AT_GENERAL_BONDING; in rfcomm_check_security()
228 auth_type = HCI_AT_NO_BONDING; in rfcomm_check_security()
232 return hci_conn_security(conn->hcon, d->sec_level, auth_type, in rfcomm_check_security()
/linux-4.1.27/include/net/bluetooth/
Dhci_core.h421 __u8 auth_type; member
813 u8 sec_level, u8 auth_type);
818 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type,
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_nego.c154 strcpy(conn->sess->auth_type, "CHAP"); in iscsi_handle_authentication()
156 strcpy(conn->sess->auth_type, NONE); in iscsi_handle_authentication()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c196 enum nl80211_auth_type auth_type) in ath6kl_set_auth_type() argument
198 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "%s: 0x%x\n", __func__, auth_type); in ath6kl_set_auth_type()
200 switch (auth_type) { in ath6kl_set_auth_type()
216 ath6kl_err("%s: 0x%x not supported\n", __func__, auth_type); in ath6kl_set_auth_type()
549 status = ath6kl_set_auth_type(vif, sme->auth_type); in ath6kl_cfg80211_connect()
2810 ret = ath6kl_set_auth_type(vif, info->auth_type); in ath6kl_start_ap()
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/
Dhal.h3881 enum auth_type { enum
3926 enum auth_type authentication;
4002 enum auth_type authentication;
/linux-4.1.27/include/net/
Dcfg80211.h726 enum nl80211_auth_type auth_type; member
1672 enum nl80211_auth_type auth_type; member
1858 enum nl80211_auth_type auth_type; member
/linux-4.1.27/net/sctp/
Dulpevent.c800 ak->auth_type = SCTP_AUTHENTICATION_EVENT; in sctp_ulpevent_make_authkey()
/linux-4.1.27/include/target/iscsi/
Discsi_target_core.h655 char auth_type[8]; member
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dipw2200.h883 u8 auth_type:4, auth_key:4; member
885 u8 auth_key:4, auth_type:4; member
Dipw2200.c7319 priv->assoc_request.auth_type = AUTH_SHARED_KEY; in ipw_associate_network()
7327 priv->assoc_request.auth_type = AUTH_LEAP; in ipw_associate_network()
7329 priv->assoc_request.auth_type = AUTH_OPEN; in ipw_associate_network()
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
Dcfg80211.c739 info->privacy, info->auth_type); in wil_cfg80211_start_ap()
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c2063 ret = rtw_cfg80211_set_auth_type(psecuritypriv, sme->auth_type); in cfg80211_rtw_connect()
2791 settings->auth_type); in cfg80211_rtw_start_ap()
/linux-4.1.27/net/mac80211/
Dmlme.c4473 switch (req->auth_type) { in ieee80211_mgd_auth()