Lines Matching refs:edge_attrs
579 struct nlattr *edge_attrs[MAC802154_HWSIM_EDGE_ATTR_MAX + 1]; in hwsim_new_edge_nl() local
588 …if (nla_parse_nested_deprecated(edge_attrs, MAC802154_HWSIM_EDGE_ATTR_MAX, info->attrs[MAC802154_H… in hwsim_new_edge_nl()
591 if (!edge_attrs[MAC802154_HWSIM_EDGE_ATTR_ENDPOINT_ID]) in hwsim_new_edge_nl()
595 v1 = nla_get_u32(edge_attrs[MAC802154_HWSIM_EDGE_ATTR_ENDPOINT_ID]); in hwsim_new_edge_nl()
641 struct nlattr *edge_attrs[MAC802154_HWSIM_EDGE_ATTR_MAX + 1]; in hwsim_del_edge_nl() local
650 …if (nla_parse_nested_deprecated(edge_attrs, MAC802154_HWSIM_EDGE_ATTR_MAX, info->attrs[MAC802154_H… in hwsim_del_edge_nl()
653 if (!edge_attrs[MAC802154_HWSIM_EDGE_ATTR_ENDPOINT_ID]) in hwsim_del_edge_nl()
657 v1 = nla_get_u32(edge_attrs[MAC802154_HWSIM_EDGE_ATTR_ENDPOINT_ID]); in hwsim_del_edge_nl()
687 struct nlattr *edge_attrs[MAC802154_HWSIM_EDGE_ATTR_MAX + 1]; in hwsim_set_edge_lqi() local
698 …if (nla_parse_nested_deprecated(edge_attrs, MAC802154_HWSIM_EDGE_ATTR_MAX, info->attrs[MAC802154_H… in hwsim_set_edge_lqi()
701 if (!edge_attrs[MAC802154_HWSIM_EDGE_ATTR_ENDPOINT_ID] || in hwsim_set_edge_lqi()
702 !edge_attrs[MAC802154_HWSIM_EDGE_ATTR_LQI]) in hwsim_set_edge_lqi()
706 v1 = nla_get_u32(edge_attrs[MAC802154_HWSIM_EDGE_ATTR_ENDPOINT_ID]); in hwsim_set_edge_lqi()
707 lqi = nla_get_u8(edge_attrs[MAC802154_HWSIM_EDGE_ATTR_LQI]); in hwsim_set_edge_lqi()