Lines Matching defs:mgmt

20 bool mesh_action_is_path_sel(struct ieee80211_mgmt *mgmt)
22 return (mgmt->u.action.u.mesh_action.action_code ==
956 struct ieee80211_mgmt *mgmt;
1012 mgmt = skb_put_zero(skb, hdr_len);
1013 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT |
1015 eth_broadcast_addr(mgmt->da);
1016 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
1017 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN);
1018 ieee80211_mps_set_frame_flags(sdata, NULL, (void *) mgmt);
1019 mgmt->u.beacon.beacon_int =
1021 mgmt->u.beacon.capab_info |= cpu_to_le16(
1397 struct ieee80211_mgmt *mgmt, size_t len)
1408 pos = mgmt->u.probe_req.variable;
1409 baselen = (u8 *) pos - (u8 *) mgmt;
1421 if ((!ether_addr_equal(mgmt->da, sdata->vif.addr) &&
1422 !is_broadcast_ether_addr(mgmt->da)) ||
1448 memcpy(hdr->da, mgmt->sa, ETH_ALEN);
1459 struct ieee80211_mgmt *mgmt,
1473 !ether_addr_equal(mgmt->da, sdata->vif.addr))
1476 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt;
1480 elems = ieee802_11_parse_elems(mgmt->u.probe_resp.variable,
1508 mesh_neighbour_update(sdata, mgmt->sa, elems,
1517 ifmsh->sync_ops->rx_bcn_presp(sdata, stype, mgmt, len,
1582 struct ieee80211_mgmt *mgmt, size_t len,
1599 memcpy(mgmt_fwd, mgmt, len);
1609 struct ieee80211_mgmt *mgmt, size_t len)
1618 if (mgmt->u.action.u.measurement.action_code !=
1622 pos = mgmt->u.action.u.chan_switch.variable;
1650 if (mesh_fwd_csa_frame(sdata, mgmt, len, elems) < 0)
1658 struct ieee80211_mgmt *mgmt,
1662 switch (mgmt->u.action.category) {
1664 switch (mgmt->u.action.u.self_prot.action_code) {
1668 mesh_rx_plink_frame(sdata, mgmt, len, rx_status);
1673 if (mesh_action_is_path_sel(mgmt))
1674 mesh_rx_path_sel_frame(sdata, mgmt, len);
1677 mesh_rx_csa_frame(sdata, mgmt, len);
1686 struct ieee80211_mgmt *mgmt;
1696 mgmt = (struct ieee80211_mgmt *) skb->data;
1697 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE;
1702 ieee80211_mesh_rx_bcn_presp(sdata, stype, mgmt, skb->len,
1706 ieee80211_mesh_rx_probe_req(sdata, mgmt, skb->len);
1709 ieee80211_mesh_rx_mgmt_action(sdata, mgmt, skb->len, rx_status);