• Home
  • Raw
  • Download

Lines Matching full:mgmt

18 bool mesh_action_is_path_sel(struct ieee80211_mgmt *mgmt)  in mesh_action_is_path_sel()  argument
20 return (mgmt->u.action.u.mesh_action.action_code == in mesh_action_is_path_sel()
781 struct ieee80211_mgmt *mgmt; in ieee80211_mesh_build_beacon() local
837 mgmt = skb_put_zero(skb, hdr_len); in ieee80211_mesh_build_beacon()
838 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_mesh_build_beacon()
840 eth_broadcast_addr(mgmt->da); in ieee80211_mesh_build_beacon()
841 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_mesh_build_beacon()
842 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_mesh_build_beacon()
843 ieee80211_mps_set_frame_flags(sdata, NULL, (void *) mgmt); in ieee80211_mesh_build_beacon()
844 mgmt->u.beacon.beacon_int = in ieee80211_mesh_build_beacon()
846 mgmt->u.beacon.capab_info |= cpu_to_le16( in ieee80211_mesh_build_beacon()
1212 struct ieee80211_mgmt *mgmt, size_t len) in ieee80211_mesh_rx_probe_req() argument
1223 pos = mgmt->u.probe_req.variable; in ieee80211_mesh_rx_probe_req()
1224 baselen = (u8 *) pos - (u8 *) mgmt; in ieee80211_mesh_rx_probe_req()
1228 ieee802_11_parse_elems(pos, len - baselen, false, &elems, mgmt->bssid, in ieee80211_mesh_rx_probe_req()
1235 if ((!ether_addr_equal(mgmt->da, sdata->vif.addr) && in ieee80211_mesh_rx_probe_req()
1236 !is_broadcast_ether_addr(mgmt->da)) || in ieee80211_mesh_rx_probe_req()
1262 memcpy(hdr->da, mgmt->sa, ETH_ALEN); in ieee80211_mesh_rx_probe_req()
1271 struct ieee80211_mgmt *mgmt, in ieee80211_mesh_rx_bcn_presp() argument
1285 !ether_addr_equal(mgmt->da, sdata->vif.addr)) in ieee80211_mesh_rx_bcn_presp()
1288 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_mesh_rx_bcn_presp()
1292 ieee802_11_parse_elems(mgmt->u.probe_resp.variable, len - baselen, in ieee80211_mesh_rx_bcn_presp()
1293 false, &elems, mgmt->bssid, NULL); in ieee80211_mesh_rx_bcn_presp()
1317 mesh_neighbour_update(sdata, mgmt->sa, &elems, in ieee80211_mesh_rx_bcn_presp()
1327 stype, mgmt, &elems, rx_status); in ieee80211_mesh_rx_bcn_presp()
1389 struct ieee80211_mgmt *mgmt, size_t len, in mesh_fwd_csa_frame() argument
1406 memcpy(mgmt_fwd, mgmt, len); in mesh_fwd_csa_frame()
1416 struct ieee80211_mgmt *mgmt, size_t len) in mesh_rx_csa_frame() argument
1425 if (mgmt->u.action.u.measurement.action_code != in mesh_rx_csa_frame()
1429 pos = mgmt->u.action.u.chan_switch.variable; in mesh_rx_csa_frame()
1433 mgmt->bssid, NULL); in mesh_rx_csa_frame()
1456 if (mesh_fwd_csa_frame(sdata, mgmt, len, &elems) < 0) in mesh_rx_csa_frame()
1462 struct ieee80211_mgmt *mgmt, in ieee80211_mesh_rx_mgmt_action() argument
1466 switch (mgmt->u.action.category) { in ieee80211_mesh_rx_mgmt_action()
1468 switch (mgmt->u.action.u.self_prot.action_code) { in ieee80211_mesh_rx_mgmt_action()
1472 mesh_rx_plink_frame(sdata, mgmt, len, rx_status); in ieee80211_mesh_rx_mgmt_action()
1477 if (mesh_action_is_path_sel(mgmt)) in ieee80211_mesh_rx_mgmt_action()
1478 mesh_rx_path_sel_frame(sdata, mgmt, len); in ieee80211_mesh_rx_mgmt_action()
1481 mesh_rx_csa_frame(sdata, mgmt, len); in ieee80211_mesh_rx_mgmt_action()
1490 struct ieee80211_mgmt *mgmt; in ieee80211_mesh_rx_queued_mgmt() local
1500 mgmt = (struct ieee80211_mgmt *) skb->data; in ieee80211_mesh_rx_queued_mgmt()
1501 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in ieee80211_mesh_rx_queued_mgmt()
1506 ieee80211_mesh_rx_bcn_presp(sdata, stype, mgmt, skb->len, in ieee80211_mesh_rx_queued_mgmt()
1510 ieee80211_mesh_rx_probe_req(sdata, mgmt, skb->len); in ieee80211_mesh_rx_queued_mgmt()
1513 ieee80211_mesh_rx_mgmt_action(sdata, mgmt, skb->len, rx_status); in ieee80211_mesh_rx_queued_mgmt()