Home
last modified time | relevance | path

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

/linux-4.4.14/fs/ncpfs/
Dioctl.c87 s32 auth_type; member
591 user.auth_type = server->auth.auth_type; in __ncp_ioctl()
618 user.auth_type = server->auth.auth_type; in __ncp_ioctl()
653 user.auth_type = user32.auth_type; in __ncp_ioctl()
676 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.4.14/net/bluetooth/
Dhci_conn.c508 conn->auth_type = HCI_AT_GENERAL_BONDING; in hci_conn_add()
1074 u8 sec_level, u8 auth_type) in hci_connect_acl() argument
1097 acl->auth_type = auth_type; in hci_connect_acl()
1171 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) in hci_conn_auth() argument
1184 auth_type |= (conn->auth_type & 0x01); in hci_conn_auth()
1186 conn->auth_type = auth_type; in hci_conn_auth()
1222 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, in hci_conn_security() argument
1279 if (!hci_conn_auth(conn, sec_level, auth_type)) in hci_conn_security()
1500 req.type = conn->auth_type; in hci_get_auth_info()
Dhci_event.c1597 if (!hci_conn_ssp_enabled(conn) && !(conn->auth_type & 0x01) && in hci_outgoing_auth_needed()
3445 conn->auth_type != 0xff && (conn->auth_type & 0x01)) { in hci_link_key_request_evt()
3909 return conn->remote_auth | (conn->auth_type & 0x01); in hci_get_auth_req()
3919 return (conn->remote_auth & ~0x01) | (conn->auth_type & 0x01); in hci_get_auth_req()
4002 conn->auth_type != HCI_AT_NO_BONDING) in hci_io_capa_request_evt()
4003 conn->auth_type |= 0x01; in hci_io_capa_request_evt()
4005 conn->auth_type = hci_get_auth_req(conn); in hci_io_capa_request_evt()
4012 conn->auth_type &= HCI_AT_NO_BONDING_MITM; in hci_io_capa_request_evt()
4014 cp.authentication = conn->auth_type; in hci_io_capa_request_evt()
4071 loc_mitm = (conn->auth_type & 0x01); in hci_user_confirm_request_evt()
Dhci_core.c2337 if (conn->auth_type > 0x01 && conn->remote_auth > 0x01) in hci_persistent_key()
2341 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()
7135 u8 auth_type = l2cap_get_auth_type(chan); in l2cap_chan_connect() local
7136 hcon = hci_connect_acl(hdev, dst, chan->sec_level, auth_type); in l2cap_chan_connect()
Dmgmt.c3502 u8 sec_level, auth_type; in pair_device() local
3539 auth_type = HCI_AT_DEDICATED_BONDING; in pair_device()
3543 auth_type); in pair_device()
3616 hci_conn_security(conn, sec_level, auth_type, true)) { in pair_device()
/linux-4.4.14/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.c202 enum nl80211_auth_type auth_type, in cfg80211_mlme_auth() argument
215 .auth_type = auth_type, in cfg80211_mlme_auth()
224 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.h331 enum nl80211_auth_type auth_type,
Dcore.c913 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in __cfg80211_leave()
1020 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in cfg80211_netdev_notifier_call()
Dnl80211.c3286 enum nl80211_auth_type auth_type, in nl80211_valid_auth_type() argument
3289 if (auth_type > NL80211_AUTHTYPE_MAX) in nl80211_valid_auth_type()
3295 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
3301 if (auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
3376 params.auth_type = nla_get_u32( in nl80211_start_ap()
3378 if (!nl80211_valid_auth_type(rdev, params.auth_type, in nl80211_start_ap()
3382 params.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in nl80211_start_ap()
6978 enum nl80211_auth_type auth_type; in nl80211_authenticate() local
7052 auth_type = nla_get_u32(info->attrs[NL80211_ATTR_AUTH_TYPE]); in nl80211_authenticate()
7053 if (!nl80211_valid_auth_type(rdev, auth_type, NL80211_CMD_AUTHENTICATE)) in nl80211_authenticate()
[all …]
/linux-4.4.14/drivers/net/wireless/mwifiex/
Duap_cmd.c43 switch (params->auth_type) { in mwifiex_set_secure_params()
483 struct host_cmd_tlv_auth_type *auth_type; in mwifiex_uap_bss_param_prepare() local
605 auth_type = (struct host_cmd_tlv_auth_type *)tlv; in mwifiex_uap_bss_param_prepare()
606 auth_type->header.type = cpu_to_le16(TLV_TYPE_AUTH_TYPE); in mwifiex_uap_bss_param_prepare()
607 auth_type->header.len = in mwifiex_uap_bss_param_prepare()
610 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()
Dcfg80211.c2034 int ret, auth_type = 0; in mwifiex_cfg80211_assoc() local
2080 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in mwifiex_cfg80211_assoc()
2081 auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in mwifiex_cfg80211_assoc()
2084 auth_type = sme->auth_type; in mwifiex_cfg80211_assoc()
2090 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc()
2095 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc()
Dfw.h799 __le16 auth_type; member
1795 u8 auth_type; member
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dfweh.c51 __be32 auth_type; member
285 emsg.auth_type = be32_to_cpu(emsg_be->auth_type); in brcmf_fweh_event_worker()
Dfweh.h210 s32 auth_type; member
Dcfg80211.h118 u32 auth_type; member
Dcfg80211.c1482 switch (sme->auth_type) { in brcmf_set_auth_type()
1499 brcmf_err("invalid auth type (%d)\n", sme->auth_type); in brcmf_set_auth_type()
1509 sec->auth_type = sme->auth_type; in brcmf_set_auth_type()
1703 if (sec->auth_type == NL80211_AUTHTYPE_SHARED_KEY) { in brcmf_set_sharedkey()
1802 sme->auth_type = brcmf_war_auth_type(ifp, sme->auth_type); in brcmf_cfg80211_connect()
4083 settings->ssid, settings->ssid_len, settings->auth_type, in brcmf_cfg80211_start_ap()
/linux-4.4.14/drivers/staging/wlan-ng/
Dcfg80211.c513 if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) || in prism2_connect()
514 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep)) in prism2_connect()
516 else if ((sme->auth_type == NL80211_AUTHTYPE_SHARED_KEY) || in prism2_connect()
517 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && is_wep)) in prism2_connect()
522 sme->auth_type); in prism2_connect()
/linux-4.4.14/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.4.14/include/uapi/linux/
Dncp_fs.h88 int auth_type; member
Dsctp.h429 __u16 auth_type; member
/linux-4.4.14/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()
1059 lbs_deb_enter_args(LBS_DEB_CFG80211, "%d", sme->auth_type); in lbs_set_authtype()
1075 ret = lbs_auth_to_authtype(sme->auth_type); in lbs_set_authtype()
1165 pos += lbs_add_auth_type_tlv(pos, sme->auth_type); in lbs_associate()
1427 wiphy_err(wiphy, "unsupported authtype 0x%x\n", sme->auth_type); in lbs_cfg_connect()
/linux-4.4.14/drivers/staging/wilc1000/
Dhost_interface.h108 u8 auth_type; member
424 enum AUTHTYPE auth_type);
Dhost_interface.c85 enum AUTHTYPE auth_type; member
121 enum AUTHTYPE auth_type; member
264 u8 auth_type; variable
547 …>cfg_attr_info.auth_type) == 1 || (strHostIFCfgParamAttr->cfg_attr_info.auth_type) == 2 || (strHos… in Handle_CfgParam()
549 strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->cfg_attr_info.auth_type; in Handle_CfgParam()
552 hif_drv->strCfgValues.auth_type = (u8)strHostIFCfgParamAttr->cfg_attr_info.auth_type; in Handle_CfgParam()
1029 hif_drv->usr_conn_req.tenuAuth_type = pstrHostIFconnectAttr->auth_type; in Handle_Connect()
1083 auth_type = (u8)hif_drv->usr_conn_req.tenuAuth_type; in Handle_Connect()
1292 strWIDList[u32WidsCount].val = (s8 *)(&auth_type); in Handle_FlushConnect()
1721 strWIDList[1].val = (s8 *)&pstrHostIFkeyAttr->attr.wep.auth_type; in Handle_Key()
[all …]
Dwilc_wfi_cfgoperations.c810 PRINT_INFO(CFG80211_DBG, "Required SSID = %s\n , AuthType = %d\n", sme->ssid, sme->auth_type); in connect()
963 PRINT_D(CFG80211_DBG, "Authentication Type = %d\n", sme->auth_type); in connect()
964 switch (sme->auth_type) { in connect()
976 PRINT_D(CFG80211_DBG, "Automatic Authentation type = %d\n", sme->auth_type); in connect()
/linux-4.4.14/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()
Dairo.c3796 static inline void set_auth_type(struct airo_info *local, int auth_type) in set_auth_type() argument
3798 local->config.authType = auth_type; in set_auth_type()
3802 if (auth_type == AUTH_OPEN || auth_type == AUTH_ENCRYPT) in set_auth_type()
3803 local->last_auth = auth_type; in set_auth_type()
/linux-4.4.14/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.4.14/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.4.14/include/net/bluetooth/
Dhci_core.h433 __u8 auth_type; member
883 u8 sec_level, u8 auth_type);
888 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type,
/linux-4.4.14/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.4.14/include/net/
Dcfg80211.h727 enum nl80211_auth_type auth_type; member
1713 enum nl80211_auth_type auth_type; member
1899 enum nl80211_auth_type auth_type; member
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/
Dhal.h3881 enum auth_type { enum
3926 enum auth_type authentication;
4002 enum auth_type authentication;
/linux-4.4.14/net/sctp/
Dulpevent.c800 ak->auth_type = SCTP_AUTHENTICATION_EVENT; in sctp_ulpevent_make_authkey()
/linux-4.4.14/include/target/iscsi/
Discsi_target_core.h644 char auth_type[8]; member
/linux-4.4.14/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.4.14/drivers/net/wireless/ath/wil6210/
Dcfg80211.c893 info->privacy, info->auth_type); in wil_cfg80211_start_ap()
/linux-4.4.14/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.4.14/net/mac80211/
Dmlme.c4468 switch (req->auth_type) { in ieee80211_mgd_auth()