Home
last modified time | relevance | path

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

/net/bluetooth/
Dhci_conn.c510 conn->auth_type = HCI_AT_GENERAL_BONDING; in hci_conn_add()
1197 u8 sec_level, u8 auth_type) in hci_connect_acl() argument
1229 acl->auth_type = auth_type; in hci_connect_acl()
1320 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) in hci_conn_auth() argument
1333 auth_type |= (conn->auth_type & 0x01); in hci_conn_auth()
1335 conn->auth_type = auth_type; in hci_conn_auth()
1369 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, in hci_conn_security() argument
1433 if (!hci_conn_auth(conn, sec_level, auth_type)) in hci_conn_security()
1662 req.type = conn->auth_type; in hci_get_auth_info()
Dhci_event.c1932 if (!hci_conn_ssp_enabled(conn) && !(conn->auth_type & 0x01) && in hci_outgoing_auth_needed()
3921 conn->auth_type != 0xff && (conn->auth_type & 0x01)) { in hci_link_key_request_evt()
4430 return conn->remote_auth | (conn->auth_type & 0x01); in hci_get_auth_req()
4440 return (conn->remote_auth & ~0x01) | (conn->auth_type & 0x01); in hci_get_auth_req()
4526 conn->auth_type != HCI_AT_NO_BONDING) in hci_io_capa_request_evt()
4527 conn->auth_type |= 0x01; in hci_io_capa_request_evt()
4529 conn->auth_type = hci_get_auth_req(conn); in hci_io_capa_request_evt()
4536 conn->auth_type &= HCI_AT_NO_BONDING_MITM; in hci_io_capa_request_evt()
4538 cp.authentication = conn->auth_type; in hci_io_capa_request_evt()
4595 loc_mitm = (conn->auth_type & 0x01); in hci_user_confirm_request_evt()
Dhci_core.c2369 if (conn->auth_type > 0x01 && conn->remote_auth > 0x01) in hci_persistent_key()
2373 if (conn->auth_type == 0x02 || conn->auth_type == 0x03) in hci_persistent_key()
Dl2cap_core.c862 __u8 auth_type; in l2cap_chan_check_security() local
867 auth_type = l2cap_get_auth_type(chan); in l2cap_chan_check_security()
869 return hci_conn_security(conn->hcon, chan->sec_level, auth_type, in l2cap_chan_check_security()
7347 u8 auth_type = l2cap_get_auth_type(chan); in l2cap_chan_connect() local
7348 hcon = hci_connect_acl(hdev, dst, chan->sec_level, auth_type); in l2cap_chan_connect()
Dmgmt.c2855 u8 sec_level, auth_type; in pair_device() local
2892 auth_type = HCI_AT_DEDICATED_BONDING; in pair_device()
2896 auth_type); in pair_device()
2968 hci_conn_security(conn, sec_level, auth_type, true)) { in pair_device()
/net/wireless/
Dsme.c172 params->channel, params->auth_type, in cfg80211_conn_do_work()
349 wdev->conn->params.auth_type != NL80211_AUTHTYPE_NETWORK_EAP) { in cfg80211_sme_rx_auth()
351 switch (wdev->conn->params.auth_type) { in cfg80211_sme_rx_auth()
354 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
357 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
361 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
366 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
564 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect()
567 wdev->conn->params.auth_type = in cfg80211_sme_connect()
Dmlme.c224 enum nl80211_auth_type auth_type, in cfg80211_mlme_auth() argument
237 .auth_type = auth_type, in cfg80211_mlme_auth()
246 if (auth_type == NL80211_AUTHTYPE_SHARED_KEY) in cfg80211_mlme_auth()
Dtrace.h555 __field(enum nl80211_auth_type, auth_type)
567 __entry->auth_type = settings->auth_type;
579 BOOL_TO_STR(__entry->privacy), __entry->auth_type,
1183 __field(enum nl80211_auth_type, auth_type)
1192 __entry->auth_type = req->auth_type;
1195 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->auth_type,
1326 __field(enum nl80211_auth_type, auth_type)
1338 __entry->auth_type = sme->auth_type;
1348 __entry->auth_type, BOOL_TO_STR(__entry->privacy),
Dwext-compat.c920 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in cfg80211_set_auth_alg()
925 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_SHARED_KEY; in cfg80211_set_auth_alg()
930 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_NETWORK_EAP; in cfg80211_set_auth_alg()
934 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in cfg80211_set_auth_alg()
Dnl80211.c4780 enum nl80211_auth_type auth_type, in nl80211_valid_auth_type() argument
4783 if (auth_type > NL80211_AUTHTYPE_MAX) in nl80211_valid_auth_type()
4789 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
4793 (auth_type == NL80211_AUTHTYPE_FILS_SK || in nl80211_valid_auth_type()
4794 auth_type == NL80211_AUTHTYPE_FILS_SK_PFS || in nl80211_valid_auth_type()
4795 auth_type == NL80211_AUTHTYPE_FILS_PK)) in nl80211_valid_auth_type()
4802 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
4806 if (auth_type == NL80211_AUTHTYPE_FILS_SK_PFS || in nl80211_valid_auth_type()
4807 auth_type == NL80211_AUTHTYPE_FILS_PK) in nl80211_valid_auth_type()
4812 auth_type == NL80211_AUTHTYPE_FILS_SK) in nl80211_valid_auth_type()
[all …]
Dcore.h365 enum nl80211_auth_type auth_type,
Dcore.c1179 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in __cfg80211_leave()
1256 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in cfg80211_init_wdev()
/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()
/net/sctp/
Dulpevent.c783 ak->auth_type = SCTP_AUTHENTICATION_EVENT; in sctp_ulpevent_make_authkey()
/net/mac80211/
Dmlme.c5093 switch (req->auth_type) { in ieee80211_mgd_auth()
5135 if (req->auth_type == NL80211_AUTHTYPE_SAE) { in ieee80211_mgd_auth()
5170 if (cont_auth && req->auth_type == NL80211_AUTHTYPE_SAE) { in ieee80211_mgd_auth()
5185 if (cont_auth && req->auth_type == NL80211_AUTHTYPE_SAE && in ieee80211_mgd_auth()