| /linux/drivers/nvme/target/ |
| H A D | fabrics-cmd-auth.c | 323 ctrl->cntlid, req->sq->qid, data->auth_type, data->auth_id, in nvmet_execute_auth_send() 325 if (data->auth_type != NVME_AUTH_COMMON_MESSAGES && in nvmet_execute_auth_send() 326 data->auth_type != NVME_AUTH_DHCHAP_MESSAGES) in nvmet_execute_auth_send() 328 if (data->auth_type == NVME_AUTH_COMMON_MESSAGES) { in nvmet_execute_auth_send() 468 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvmet_auth_success1() 499 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvmet_auth_failure1() 523 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvmet_auth_receive_data_len()
|
| /linux/drivers/net/wireless/nxp/nxpwifi/ |
| H A D | uap_cmd.c | 135 struct host_cmd_tlv_auth_type *auth_type; in nxpwifi_uap_bss_param_prepare() local 263 auth_type = (struct host_cmd_tlv_auth_type *)tlv; in nxpwifi_uap_bss_param_prepare() 264 auth_type->header.type = cpu_to_le16(TLV_TYPE_AUTH_TYPE); in nxpwifi_uap_bss_param_prepare() 265 auth_type->header.len = in nxpwifi_uap_bss_param_prepare() 268 auth_type->auth_type = (u8)bss_cfg->auth_mode; in nxpwifi_uap_bss_param_prepare() 269 auth_type->pwe_derivation = 0; in nxpwifi_uap_bss_param_prepare() 270 auth_type->transition_disable = 0; in nxpwifi_uap_bss_param_prepare() 800 switch (params->auth_type) { in nxpwifi_set_secure_params()
|
| H A D | join.c | 354 auth_tlv->header.len = cpu_to_le16(sizeof(auth_tlv->auth_type)); in nxpwifi_cmd_802_11_associate() 356 auth_tlv->auth_type = in nxpwifi_cmd_802_11_associate() 359 auth_tlv->auth_type = cpu_to_le16(NL80211_AUTHTYPE_OPEN_SYSTEM); in nxpwifi_cmd_802_11_associate() 364 auth_tlv->auth_type = cpu_to_le16(NXPWIFI_AUTHTYPE_SAE); in nxpwifi_cmd_802_11_associate()
|
| /linux/drivers/nvme/host/ |
| H A D | auth.c | 100 dev_dbg(ctrl->device, "%s: qid %d auth_type %d auth_id %x\n", in nvme_auth_receive_validate() 101 __func__, qid, data->auth_type, data->auth_id); in nvme_auth_receive_validate() 103 if (data->auth_type == NVME_AUTH_COMMON_MESSAGES && in nvme_auth_receive_validate() 107 if (data->auth_type != NVME_AUTH_DHCHAP_MESSAGES || in nvme_auth_receive_validate() 111 qid, data->auth_type, data->auth_id); in nvme_auth_receive_validate() 136 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvme_auth_set_dhchap_negotiate_data() 301 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvme_auth_set_dhchap_reply_data() 406 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvme_auth_set_dhchap_failure2_data() 420 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvme_auth_dhchap_setup_host_response()
|
| /linux/drivers/staging/greybus/ |
| H A D | greybus_authentication.h | 59 __u32 auth_type; member
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | uap_cmd.c | 32 switch (params->auth_type) { in mwifiex_set_secure_params() 476 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()
|
| H A D | join.c | 456 auth_tlv->header.len = cpu_to_le16(sizeof(auth_tlv->auth_type)); in mwifiex_cmd_802_11_associate() 458 auth_tlv->auth_type = cpu_to_le16( in mwifiex_cmd_802_11_associate() 461 auth_tlv->auth_type = cpu_to_le16(NL80211_AUTHTYPE_OPEN_SYSTEM); in mwifiex_cmd_802_11_associate() 466 auth_tlv->auth_type = cpu_to_le16(MWIFIEX_AUTHTYPE_SAE); in mwifiex_cmd_802_11_associate()
|
| H A D | cfg80211.c | 2275 int ret, auth_type = 0; in mwifiex_cfg80211_assoc() 2331 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in mwifiex_cfg80211_assoc() 2332 auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in mwifiex_cfg80211_assoc() 2335 auth_type = sme->auth_type; in mwifiex_cfg80211_assoc() 2341 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc() 2346 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc() 4326 switch (req->auth_type) { in mwifiex_cfg80211_authenticate() 4344 "unsupported auth type=%d\n", req->auth_type); in mwifiex_cfg80211_authenticate() 4409 if (req->auth_type in mwifiex_cfg80211_authenticate() 2271 int ret, auth_type = 0; mwifiex_cfg80211_assoc() local [all...] |
| /linux/net/wireless/ |
| H A D | sme.c | 175 auth_req.auth_type = params->auth_type; in cfg80211_conn_do_work() 352 wdev->conn->params.auth_type != NL80211_AUTHTYPE_NETWORK_EAP) { in cfg80211_sme_rx_auth() 354 switch (wdev->conn->params.auth_type) { in cfg80211_sme_rx_auth() 357 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth() 360 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth() 364 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth() 369 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth() 595 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect() 598 wdev->conn->params.auth_type in cfg80211_sme_connect() [all...] |
| H A D | wext-compat.c | 946 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in cfg80211_set_auth_alg() 951 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_SHARED_KEY; in cfg80211_set_auth_alg() 956 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_NETWORK_EAP; in cfg80211_set_auth_alg() 960 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in cfg80211_set_auth_alg()
|
| H A D | trace.h | 713 __field(enum nl80211_auth_type, auth_type) 726 __entry->auth_type = settings->auth_type; 739 BOOL_TO_STR(__entry->privacy), __entry->auth_type, 1437 __field(enum nl80211_auth_type, auth_type) 1446 __entry->auth_type = req->auth_type; 1449 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->auth_type, 1604 __field(enum nl80211_auth_type, auth_type) 1616 __entry->auth_type [all...] |
| H A D | nl80211.c | 7204 enum nl80211_auth_type auth_type, in nl80211_start_ap() 7207 if (auth_type > NL80211_AUTHTYPE_MAX) in nl80211_start_ap() 7213 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_start_ap() 7217 (auth_type == NL80211_AUTHTYPE_FILS_SK || in nl80211_start_ap() 7218 auth_type == NL80211_AUTHTYPE_FILS_SK_PFS || in nl80211_start_ap() 7219 auth_type == NL80211_AUTHTYPE_FILS_PK)) in nl80211_start_ap() 7223 auth_type == NL80211_AUTHTYPE_EPPKE) in nl80211_start_ap() 7227 auth_type == NL80211_AUTHTYPE_IEEE8021X) in nl80211_start_ap() 7234 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_start_ap() 7238 if (auth_type in nl80211_start_ap() 7038 nl80211_valid_auth_type(struct cfg80211_registered_device * rdev,enum nl80211_auth_type auth_type,enum nl80211_commands cmd) nl80211_valid_auth_type() argument 12790 enum nl80211_auth_type auth_type; nl80211_authenticate() local 14272 u32 auth_type; nl80211_update_connect_params() local [all...] |
| /linux/drivers/net/wireless/microchip/wilc1000/ |
| H A D | cfg80211.c | 309 enum authtype auth_type = WILC_FW_AUTH_ANY; in connect() local 349 switch (sme->auth_type) { in connect() 351 auth_type = WILC_FW_AUTH_OPEN_SYSTEM; in connect() 355 auth_type = WILC_FW_AUTH_SAE; in connect() 370 auth_type = WILC_FW_AUTH_IEEE8021; in connect() 372 auth_type = WILC_FW_AUTH_OPEN_SYSTEM_SHA256; in connect() 374 auth_type = WILC_FW_AUTH_IEE8021X_SHA256; in connect() 412 wfi_drv->conn_info.auth_type = auth_type; in connect()
|
| H A D | hif.h | 111 enum authtype auth_type; member
|
| /linux/net/bluetooth/ |
| H A D | hci_conn.c | 1095 conn->auth_type = HCI_AT_GENERAL_BONDING; in __hci_conn_add() 1799 * attempt, we simply update pending_sec_level and auth_type fields in hci_connect_acl() 1836 u8 sec_level, u8 auth_type, in hci_conn_link() 1873 acl->auth_type = auth_type; in hci_connect_sco() 2623 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) in hci_conn_security() 2636 auth_type |= (conn->auth_type & 0x01); in hci_conn_security() 2638 conn->auth_type = auth_type; in hci_conn_security() 1786 hci_connect_acl(struct hci_dev * hdev,bdaddr_t * dst,u8 sec_level,u8 auth_type,enum conn_reasons conn_reason,u16 timeout) hci_connect_acl() argument 2573 hci_conn_auth(struct hci_conn * conn,__u8 sec_level,__u8 auth_type) hci_conn_auth() argument 2622 hci_conn_security(struct hci_conn * conn,__u8 sec_level,__u8 auth_type,bool initiator) hci_conn_security() argument [all...] |
| H A D | hci_event.c | 2487 if (!hci_conn_ssp_enabled(conn) && !(conn->auth_type & 0x01) && in hci_check_pending_name() 4880 conn->auth_type != 0xff && (conn->auth_type & 0x01)) { in hci_pscan_rep_mode_evt() 5434 return conn->remote_auth | (conn->auth_type & 0x01); in hci_user_confirm_request_evt() 5444 return (conn->remote_auth & ~0x01) | (conn->auth_type & 0x01); in hci_user_confirm_request_evt() 5531 conn->auth_type != HCI_AT_NO_BONDING) in hci_user_passkey_notify_evt() 5532 conn->auth_type |= 0x01; in hci_user_passkey_notify_evt() 5534 conn->auth_type = hci_get_auth_req(conn); in hci_user_passkey_notify_evt() 5541 conn->auth_type &= HCI_AT_NO_BONDING_MITM; in hci_user_passkey_notify_evt() 5543 cp.authentication = conn->auth_type; in hci_user_passkey_notify_evt() [all...] |
| /linux/include/linux/ |
| H A D | nvme.h | 1879 __u8 auth_type; member 1889 __u8 auth_type; member 1905 __u8 auth_type; member 1926 __u8 auth_type; member 1939 __u8 auth_type; member 1947 __u8 auth_type; member
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | fweh.c | 293 emsg.auth_type = be32_to_cpu(emsg_be->auth_type); in brcmf_fweh_event_worker()
|
| H A D | cfg80211.h | 121 u32 auth_type; member
|
| /linux/drivers/staging/greybus/Documentation/firmware/ |
| H A D | firmware-management | 265 __u32 auth_type; 300 an Interface. The user needs to fill the 'auth_type', 'uid', and 'challenge'
|
| /linux/net/bluetooth/rfcomm/ |
| H A D | core.c | 213 __u8 auth_type; in rfcomm_check_security() local 218 auth_type = HCI_AT_GENERAL_BONDING_MITM; in rfcomm_check_security() 221 auth_type = HCI_AT_GENERAL_BONDING; in rfcomm_check_security() 224 auth_type = HCI_AT_NO_BONDING; in rfcomm_check_security() 228 return hci_conn_security(conn->hcon, d->sec_level, auth_type, in rfcomm_check_security()
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | cfg80211.c | 1085 wil_get_auth_type_name(enum nl80211_auth_type auth_type) in wil_get_auth_type_name() argument 1087 switch (auth_type) { in wil_get_auth_type_name() 1120 wil_get_auth_type_name(sme->auth_type)); in wil_print_connect_params() 1230 if (sme->auth_type == NL80211_AUTHTYPE_FT) in wil_cfg80211_connect() 1232 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC && in wil_cfg80211_connect() 2171 wil_dbg_misc(wil, "Privacy: %d auth_type %d\n", in wil_cfg80211_start_ap() 2172 info->privacy, info->auth_type); in wil_cfg80211_start_ap()
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_nego.c | 141 strcpy(conn->sess->auth_type, "CHAP"); in iscsi_handle_authentication() 143 strcpy(conn->sess->auth_type, NONE); in iscsi_handle_authentication()
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | cfg80211.c | 196 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() 2831 ret = ath6kl_set_auth_type(vif, info->auth_type); in ath6kl_start_ap()
|
| /linux/include/uapi/linux/ |
| H A D | sctp.h | 540 __u16 auth_type; member
|