Home
last modified time | relevance | path

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

/net/bluetooth/
Dhci_conn.c447 conn->auth_type = HCI_AT_GENERAL_BONDING; in hci_conn_add()
846 u8 sec_level, u8 auth_type) in hci_connect_acl() argument
865 acl->auth_type = auth_type; in hci_connect_acl()
939 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) in hci_conn_auth() argument
952 auth_type |= (conn->auth_type & 0x01); in hci_conn_auth()
954 conn->auth_type = auth_type; in hci_conn_auth()
990 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, in hci_conn_security() argument
1047 if (!hci_conn_auth(conn, sec_level, auth_type)) in hci_conn_security()
1283 req.type = conn->auth_type; in hci_get_auth_info()
Dhci_event.c1534 if (!hci_conn_ssp_enabled(conn) && !(conn->auth_type & 0x01) && in hci_outgoing_auth_needed()
3189 conn->auth_type != 0xff && (conn->auth_type & 0x01)) { in hci_link_key_request_evt()
3641 return conn->remote_auth | (conn->auth_type & 0x01); in hci_get_auth_req()
3651 return (conn->remote_auth & ~0x01) | (conn->auth_type & 0x01); in hci_get_auth_req()
3692 conn->auth_type != HCI_AT_NO_BONDING) in hci_io_capa_request_evt()
3693 conn->auth_type |= 0x01; in hci_io_capa_request_evt()
3695 conn->auth_type = hci_get_auth_req(conn); in hci_io_capa_request_evt()
3702 conn->auth_type &= HCI_AT_NO_BONDING_MITM; in hci_io_capa_request_evt()
3704 cp.authentication = conn->auth_type; in hci_io_capa_request_evt()
3768 loc_mitm = (conn->auth_type & 0x01); in hci_user_confirm_request_evt()
Dl2cap_core.c795 __u8 auth_type; in l2cap_chan_check_security() local
800 auth_type = l2cap_get_auth_type(chan); in l2cap_chan_check_security()
802 return hci_conn_security(conn->hcon, chan->sec_level, auth_type, in l2cap_chan_check_security()
7071 u8 auth_type = l2cap_get_auth_type(chan); in l2cap_chan_connect() local
7072 hcon = hci_connect_acl(hdev, dst, chan->sec_level, auth_type); in l2cap_chan_connect()
Dhci_core.c3178 if (conn->auth_type > 0x01 && conn->remote_auth > 0x01) in hci_persistent_key()
3182 if (conn->auth_type == 0x02 || conn->auth_type == 0x03) in hci_persistent_key()
Dmgmt.c3112 u8 sec_level, auth_type; in pair_device() local
3141 auth_type = HCI_AT_DEDICATED_BONDING; in pair_device()
3145 auth_type); in pair_device()
3215 hci_conn_security(conn, sec_level, auth_type, true)) in pair_device()
/net/wireless/
Dsme.c156 params->channel, params->auth_type, in cfg80211_conn_do_work()
321 wdev->conn->params.auth_type != NL80211_AUTHTYPE_NETWORK_EAP) { in cfg80211_sme_rx_auth()
323 switch (wdev->conn->params.auth_type) { in cfg80211_sme_rx_auth()
326 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
329 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
333 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
338 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
462 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect()
465 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.h486 __field(enum nl80211_auth_type, auth_type)
498 __entry->auth_type = settings->auth_type;
510 BOOL_TO_STR(__entry->privacy), __entry->auth_type,
997 __field(enum nl80211_auth_type, auth_type)
1006 __entry->auth_type = req->auth_type;
1009 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->auth_type,
1140 __field(enum nl80211_auth_type, auth_type)
1151 __entry->auth_type = sme->auth_type;
1160 __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.c838 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in __cfg80211_leave()
929 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in cfg80211_netdev_notifier_call()
Dcore.h305 enum nl80211_auth_type auth_type,
Dnl80211.c3193 enum nl80211_auth_type auth_type, in nl80211_valid_auth_type() argument
3196 if (auth_type > NL80211_AUTHTYPE_MAX) in nl80211_valid_auth_type()
3202 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
3208 if (auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
3283 params.auth_type = nla_get_u32( in nl80211_start_ap()
3285 if (!nl80211_valid_auth_type(rdev, params.auth_type, in nl80211_start_ap()
3289 params.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in nl80211_start_ap()
6380 enum nl80211_auth_type auth_type; in nl80211_authenticate() local
6454 auth_type = nla_get_u32(info->attrs[NL80211_ATTR_AUTH_TYPE]); in nl80211_authenticate()
6455 if (!nl80211_valid_auth_type(rdev, auth_type, NL80211_CMD_AUTHENTICATE)) in nl80211_authenticate()
[all …]
/net/bluetooth/rfcomm/
Dcore.c215 __u8 auth_type; in rfcomm_check_security() local
220 auth_type = HCI_AT_GENERAL_BONDING_MITM; in rfcomm_check_security()
223 auth_type = HCI_AT_GENERAL_BONDING; in rfcomm_check_security()
226 auth_type = HCI_AT_NO_BONDING; in rfcomm_check_security()
230 return hci_conn_security(conn->hcon, d->sec_level, auth_type, in rfcomm_check_security()
/net/sctp/
Dulpevent.c800 ak->auth_type = SCTP_AUTHENTICATION_EVENT; in sctp_ulpevent_make_authkey()
/net/mac80211/
Dmlme.c4136 switch (req->auth_type) { in ieee80211_mgd_auth()