Lines Matching refs:elems
379 struct ieee802_11_elems *elems, bool insert)
387 rates = ieee80211_sta_get_rates(sdata, elems, band, &basic_rates);
401 elems->ht_cap_elem, sta))
405 if (elems->ht_operation &&
406 !(elems->ht_operation->ht_param &
445 struct ieee802_11_elems *elems)
453 elems->ie_start,
454 elems->total_len,
467 * @elems: IEs from beacon or mesh peering frame.
474 u8 *addr, struct ieee802_11_elems *elems) __acquires(RCU)
481 mesh_sta_info_init(sdata, sta, elems, false);
485 sta = mesh_sta_info_alloc(sdata, addr, elems);
491 mesh_sta_info_init(sdata, sta, elems, true);
505 * @elems: IEs from beacon or mesh peering frame
511 struct ieee802_11_elems *elems)
516 sta = mesh_sta_info_get(sdata, hw_addr, elems);
520 if (mesh_peer_accepts_plinks(elems) &&
527 ieee80211_mps_frame_release(sta, elems);
893 * @elems: peering management IEs
904 struct ieee802_11_elems *elems,
909 u8 ie_len = elems->peering_len;
913 mesh_matches_local(sdata, elems));
997 struct ieee802_11_elems *elems)
1004 u8 ie_len = elems->peering_len;
1007 if (!elems->peering) {
1013 if (elems->rsn_len &&
1032 (!elems->mesh_id || !elems->mesh_config)) {
1039 plid = get_unaligned_le16(PLINK_GET_LLID(elems->peering));
1042 llid = get_unaligned_le16(PLINK_GET_PLID(elems->peering));
1057 event = mesh_plink_get_event(sdata, sta, elems, ftype, llid, plid);
1062 sta = mesh_sta_info_get(sdata, mgmt->sa, elems);
1095 struct ieee802_11_elems elems;
1120 ieee802_11_parse_elems(baseaddr, len - baselen, true, &elems);
1121 mesh_process_plink_frame(sdata, mgmt, &elems);