Lines Matching refs:elems
404 struct ieee802_11_elems *elems) in mesh_sta_info_init() argument
415 rates = ieee80211_sta_get_rates(sdata, elems, sband->band, in mesh_sta_info_init()
432 elems->ht_cap_elem, sta)) in mesh_sta_info_init()
436 elems->vht_cap_elem, sta); in mesh_sta_info_init()
442 if (elems->ht_operation && in mesh_sta_info_init()
443 !(elems->ht_operation->ht_param & in mesh_sta_info_init()
516 struct ieee802_11_elems *elems) in mesh_sta_info_alloc() argument
523 if (mesh_peer_accepts_plinks(elems) && in mesh_sta_info_alloc()
526 elems->ie_start, in mesh_sta_info_alloc()
527 elems->total_len, in mesh_sta_info_alloc()
547 u8 *addr, struct ieee802_11_elems *elems) __acquires(RCU) in mesh_sta_info_get() argument
554 mesh_sta_info_init(sdata, sta, elems); in mesh_sta_info_get()
558 sta = mesh_sta_info_alloc(sdata, addr, elems); in mesh_sta_info_get()
564 mesh_sta_info_init(sdata, sta, elems); in mesh_sta_info_get()
584 struct ieee802_11_elems *elems) in mesh_neighbour_update() argument
589 sta = mesh_sta_info_get(sdata, hw_addr, elems); in mesh_neighbour_update()
593 if (mesh_peer_accepts_plinks(elems) && in mesh_neighbour_update()
600 ieee80211_mps_frame_release(sta, elems); in mesh_neighbour_update()
981 struct ieee802_11_elems *elems, in mesh_plink_get_event() argument
986 u8 ie_len = elems->peering_len; in mesh_plink_get_event()
990 mesh_matches_local(sdata, elems)); in mesh_plink_get_event()
1072 struct ieee802_11_elems *elems) in mesh_process_plink_frame() argument
1079 u8 ie_len = elems->peering_len; in mesh_process_plink_frame()
1082 if (!elems->peering) { in mesh_process_plink_frame()
1088 if (elems->rsn_len && in mesh_process_plink_frame()
1107 (!elems->mesh_id || !elems->mesh_config)) { in mesh_process_plink_frame()
1114 plid = get_unaligned_le16(PLINK_GET_LLID(elems->peering)); in mesh_process_plink_frame()
1117 llid = get_unaligned_le16(PLINK_GET_PLID(elems->peering)); in mesh_process_plink_frame()
1132 event = mesh_plink_get_event(sdata, sta, elems, ftype, llid, plid); in mesh_process_plink_frame()
1137 sta = mesh_sta_info_get(sdata, mgmt->sa, elems); in mesh_process_plink_frame()
1174 struct ieee802_11_elems elems; in mesh_rx_plink_frame() local
1202 ieee802_11_parse_elems(baseaddr, len - baselen, true, &elems); in mesh_rx_plink_frame()
1203 mesh_process_plink_frame(sdata, mgmt, &elems); in mesh_rx_plink_frame()