Searched refs:rsn (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dmesh_rsn.c144 static int __mesh_rsn_auth_init(struct mesh_rsn *rsn, const u8 *addr, argument
161 conf.wpa_pairwise = rsn->pairwise_cipher;
162 conf.rsn_pairwise = rsn->pairwise_cipher;
163 conf.wpa_group = rsn->group_cipher;
171 conf.group_mgmt_cipher = rsn->mgmt_group_cipher;
177 rsn->auth = wpa_init(addr, &conf, &cb, rsn);
178 if (rsn->auth == NULL) {
184 rsn->mgtk_len = wpa_cipher_key_len(conf.wpa_group);
185 if (random_get_bytes(rsn
217 mesh_rsn_deinit(struct mesh_rsn *rsn) argument
416 mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid) argument
423 mesh_rsn_derive_aek(struct mesh_rsn *rsn, struct sta_info *sta) argument
534 mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta, const u8 *cat, struct wpabuf *buf) argument
[all...]
H A Dmesh_rsn.h34 void mesh_rsn_get_pmkid(struct mesh_rsn *rsn, struct sta_info *sta, u8 *pmkid);
37 int mesh_rsn_protect_frame(struct mesh_rsn *rsn, struct sta_info *sta,
H A Dsme.c312 const u8 *rsn; local
315 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN);
316 if (!rsn) {
320 } else if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ied) == 0 &&
325 } else if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ied) == 0 &&
498 const u8 *rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); local
500 if (rsn && wpa_parse_wpa_ie(rsn,
[all...]
H A Ddpp_supplicant.c2010 const u8 *rsn; local
2015 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN);
2016 if (rsn && wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ied) == 0 &&
H A Devents.c1639 const u8 *ssid, *rsn; local
1645 rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN);
1646 if (rsn == NULL)
1649 rsn_preauth_scan_result(wpa_s->wpa, bss->bssid, ssid, rsn);
H A Dwpa_supplicant.c3257 const u8 *rsn = wpa_bss_get_ie(bss, WLAN_EID_RSN); local
3259 if (rsn && wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ie) == 0 &&
3267 } else if (!rsn && (ssid->key_mgmt & WPA_KEY_MGMT_OWE) &&
/freebsd-11-stable/contrib/wpa/src/rsn_supp/
H A Dpreauth.h22 const u8 *ssid, const u8 *rsn);
56 const u8 *ssid, const u8 *rsn)
55 rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, const u8 *ssid, const u8 *rsn) argument
H A Dwpa.c1254 struct wpa_ie_data rsn; local
1263 if (wpa_parse_wpa_ie_rsn(ie->rsn_ie, ie->rsn_ie_len, &rsn) < 0 ||
1264 rsn.num_pmkid != 1 || rsn.pmkid == NULL) {
1270 if (os_memcmp_const(rsn.pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN) != 0)
1276 rsn.pmkid, WPA_PMK_NAME_LEN);
3098 struct wpa_ie_data rsn; local
3099 if (wpa_parse_wpa_ie_rsn(sm->ap_rsn_ie, sm->ap_rsn_ie_len, &rsn)
3101 rsn.capabilities & (WPA_CAPABILITY_MFPR |
3105 (rsn
3121 struct wpa_ie_data rsn; local
3136 struct wpa_ie_data rsn; local
3677 struct wpa_ie_data rsn; local
4388 struct wpa_ie_data rsn; local
[all...]
H A Dpreauth.c471 const u8 *ssid, const u8 *rsn)
483 if (wpa_parse_wpa_ie(rsn, 2 + rsn[1], &ie))
470 rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, const u8 *ssid, const u8 *rsn) argument
H A Dwpa_ft.c983 parse.rsn - 2, parse.rsn_len + 2,
/freebsd-11-stable/sys/net80211/
H A Dieee80211_hostap.c1209 struct ieee80211_rsnparms *rsn, const struct ieee80211_frame *wh)
1243 memset(rsn, 0, sizeof(*rsn));
1246 rsn->rsn_mcastcipher = wpa_cipher(frm, &rsn->rsn_mcastkeylen);
1261 w |= 1<<wpa_cipher(frm, &rsn->rsn_ucastkeylen);
1265 rsn->rsn_ucastcipher = IEEE80211_CIPHER_TKIP;
1267 rsn->rsn_ucastcipher = IEEE80211_CIPHER_AES_CCM;
1285 rsn->rsn_keymgmt = WPA_ASE_8021X_UNSPEC;
1287 rsn
1208 ieee80211_parse_wpa(struct ieee80211vap *vap, const uint8_t *frm, struct ieee80211_rsnparms *rsn, const struct ieee80211_frame *wh) argument
1356 ieee80211_parse_rsn(struct ieee80211vap *vap, const uint8_t *frm, struct ieee80211_rsnparms *rsn, const struct ieee80211_frame *wh) argument
1448 wpa_assocreq(struct ieee80211_node *ni, struct ieee80211_rsnparms *rsnparms, const struct ieee80211_frame *wh, const uint8_t *wpa, const uint8_t *rsn, uint16_t capinfo) argument
1660 uint8_t *ssid, *rates, *xrates, *wpa, *rsn, *wme, *ath, *htcap; local
[all...]
H A Dieee80211_scan.h243 uint8_t *rsn; member in struct:ieee80211_scanparams
H A Dieee80211_input.c598 scan->rsn = frm;
/freebsd-11-stable/sys/fs/devfs/
H A Ddevfs.h61 #define mkrid(rsn, rn) ((rn) | ((rsn) << 16))
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_eq.c235 u32 rsn; local
261 rsn = be32_to_cpu(eqe->data.qp_srq.qp_srq_n) & 0xffffff;
263 eqe_type_str(eqe->type), eqe->type, rsn);
264 mlx5_rsc_event(dev, rsn, eqe->type);
269 rsn = be32_to_cpu(eqe->data.qp_srq.qp_srq_n) & 0xffffff;
271 eqe_type_str(eqe->type), eqe->type, rsn);
272 mlx5_srq_event(dev, rsn, eqe->type);
H A Dmlx5_qp.c38 u32 rsn)
45 common = radix_tree_lookup(&table->tree, rsn);
53 rsn);
65 void mlx5_rsc_event(struct mlx5_core_dev *dev, u32 rsn, int event_type) argument
67 struct mlx5_core_rsc_common *common = mlx5_get_rsc(dev, rsn);
80 mlx5_core_warn(dev, "invalid resource type for 0x%x\n", rsn);
37 mlx5_get_rsc(struct mlx5_core_dev *dev, u32 rsn) argument
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dcq.c346 uint32_t rsn, int cqe_ver)
350 uint32_t rsn, int cqe_ver)
352 if (!*cur_rsc || (rsn != (*cur_rsc)->rsn))
353 *cur_rsc = cqe_ver ? mlx5_find_uidx(mctx, rsn) :
354 (struct mlx5_resource *)mlx5_find_qp(mctx, rsn);
371 if (!*cur_rsc || (uidx != (*cur_rsc)->rsn)) {
406 if (!*cur_rsc || (qpn != (*cur_rsc)->rsn)) {
1317 static int is_equal_rsn(struct mlx5_cqe64 *cqe64, uint32_t rsn) argument
1319 return rsn
348 get_req_context(struct mlx5_context *mctx, struct mlx5_resource **cur_rsc, uint32_t rsn, int cqe_ver) argument
1341 free_res_cqe(struct mlx5_cqe64 *cqe64, uint32_t rsn, struct mlx5_srq *srq, int cqe_version) argument
1363 __mlx5_cq_clean(struct mlx5_cq *cq, uint32_t rsn, struct mlx5_srq *srq) argument
[all...]
H A Dverbs.c695 srq->rsc.rsn = resp.srqn;
745 mlx5_clear_uidx(ctx, msrq->rsc.rsn);
1384 qp->rsc.rsn = (ctx->cqe_version && !is_xrc_tgt(attr->qp_type)) ?
1496 __mlx5_cq_clean(to_mcq(ibqp->recv_cq), qp->rsc.rsn,
1499 __mlx5_cq_clean(to_mcq(ibqp->send_cq), qp->rsc.rsn, NULL);
1510 mlx5_clear_uidx(ctx, qp->rsc.rsn);
1598 mlx5_cq_clean(to_mcq(qp->recv_cq), mqp->rsc.rsn,
1603 to_mqp(qp)->rsc.rsn, NULL);
1895 msrq->rsc.rsn = ctx->cqe_version ? cmd.uidx : resp.srqn;
2098 rwq->rsc.rsn
[all...]
H A Dmlx5.h191 uint32_t rsn; member in struct:mlx5_resource
/freebsd-11-stable/contrib/pf/authpf/
H A Dauthpf.c754 char *rsn = NULL, *fn = NULL; local
771 if (asprintf(&rsn, "%s/%s", anchorname, rulesetname) == -1)
788 pargv[5] = rsn;
835 free(rsn);
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cq.c1031 static int is_equal_rsn(struct mlx5_cqe64 *cqe64, u32 rsn) argument
1033 return rsn == (ntohl(cqe64->sop_drop_qpn) & 0xffffff);
1036 void __mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 rsn, struct mlx5_ib_srq *srq) argument
1063 if (is_equal_rsn(cqe64, rsn)) {
/freebsd-11-stable/contrib/wpa/src/common/
H A Dwpa_common.h454 const u8 *rsn; member in struct:wpa_ft_ies
H A Dwpa_common.c951 parse->rsn = pos;
953 ret = wpa_parse_wpa_ie_rsn(parse->rsn - 2,
1043 if (parse->rsn)
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dieee802_11.c1442 struct wpa_ie_data rsn; local
1538 &rsn) < 0) {
1572 if (rsn.pmkid && rsn.num_pmkid > 0) {
1577 rsn.pmkid, rsn.num_pmkid * PMKID_LEN);
1579 pmkid = rsn.pmkid;
1580 num = rsn.num_pmkid;
/freebsd-11-stable/sys/dev/mlx5/
H A Ddriver.h1024 void mlx5_rsc_event(struct mlx5_core_dev *dev, u32 rsn, int event_type);

Completed in 334 milliseconds

12