Lines Matching refs: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()
812 struct ieee80211_mgmt *mgmt; in ieee80211_mesh_build_beacon() local
868 mgmt = skb_put_zero(skb, hdr_len); in ieee80211_mesh_build_beacon()
869 mgmt->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_mesh_build_beacon()
871 eth_broadcast_addr(mgmt->da); in ieee80211_mesh_build_beacon()
872 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_mesh_build_beacon()
873 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_mesh_build_beacon()
874 ieee80211_mps_set_frame_flags(sdata, NULL, (void *) mgmt); in ieee80211_mesh_build_beacon()
875 mgmt->u.beacon.beacon_int = in ieee80211_mesh_build_beacon()
877 mgmt->u.beacon.capab_info |= cpu_to_le16( in ieee80211_mesh_build_beacon()
1243 struct ieee80211_mgmt *mgmt, size_t len) in ieee80211_mesh_rx_probe_req() argument
1254 pos = mgmt->u.probe_req.variable; in ieee80211_mesh_rx_probe_req()
1255 baselen = (u8 *) pos - (u8 *) mgmt; in ieee80211_mesh_rx_probe_req()
1267 if ((!ether_addr_equal(mgmt->da, sdata->vif.addr) && in ieee80211_mesh_rx_probe_req()
1268 !is_broadcast_ether_addr(mgmt->da)) || in ieee80211_mesh_rx_probe_req()
1294 memcpy(hdr->da, mgmt->sa, ETH_ALEN); in ieee80211_mesh_rx_probe_req()
1305 struct ieee80211_mgmt *mgmt, in ieee80211_mesh_rx_bcn_presp() argument
1319 !ether_addr_equal(mgmt->da, sdata->vif.addr)) in ieee80211_mesh_rx_bcn_presp()
1322 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_mesh_rx_bcn_presp()
1326 elems = ieee802_11_parse_elems(mgmt->u.probe_resp.variable, in ieee80211_mesh_rx_bcn_presp()
1354 mesh_neighbour_update(sdata, mgmt->sa, elems, in ieee80211_mesh_rx_bcn_presp()
1363 ifmsh->sync_ops->rx_bcn_presp(sdata, stype, mgmt, len, in ieee80211_mesh_rx_bcn_presp()
1427 struct ieee80211_mgmt *mgmt, size_t len, in mesh_fwd_csa_frame() argument
1444 memcpy(mgmt_fwd, mgmt, len); in mesh_fwd_csa_frame()
1454 struct ieee80211_mgmt *mgmt, size_t len) in mesh_rx_csa_frame() argument
1463 if (mgmt->u.action.u.measurement.action_code != in mesh_rx_csa_frame()
1467 pos = mgmt->u.action.u.chan_switch.variable; in mesh_rx_csa_frame()
1495 if (mesh_fwd_csa_frame(sdata, mgmt, len, elems) < 0) in mesh_rx_csa_frame()
1503 struct ieee80211_mgmt *mgmt, in ieee80211_mesh_rx_mgmt_action() argument
1507 switch (mgmt->u.action.category) { in ieee80211_mesh_rx_mgmt_action()
1509 switch (mgmt->u.action.u.self_prot.action_code) { in ieee80211_mesh_rx_mgmt_action()
1513 mesh_rx_plink_frame(sdata, mgmt, len, rx_status); in ieee80211_mesh_rx_mgmt_action()
1518 if (mesh_action_is_path_sel(mgmt)) in ieee80211_mesh_rx_mgmt_action()
1519 mesh_rx_path_sel_frame(sdata, mgmt, len); in ieee80211_mesh_rx_mgmt_action()
1522 mesh_rx_csa_frame(sdata, mgmt, len); in ieee80211_mesh_rx_mgmt_action()
1531 struct ieee80211_mgmt *mgmt; in ieee80211_mesh_rx_queued_mgmt() local
1541 mgmt = (struct ieee80211_mgmt *) skb->data; in ieee80211_mesh_rx_queued_mgmt()
1542 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in ieee80211_mesh_rx_queued_mgmt()
1547 ieee80211_mesh_rx_bcn_presp(sdata, stype, mgmt, skb->len, in ieee80211_mesh_rx_queued_mgmt()
1551 ieee80211_mesh_rx_probe_req(sdata, mgmt, skb->len); in ieee80211_mesh_rx_queued_mgmt()
1554 ieee80211_mesh_rx_mgmt_action(sdata, mgmt, skb->len, rx_status); in ieee80211_mesh_rx_queued_mgmt()