Home
last modified time | relevance | path

Searched refs:hwsim_net (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/net/wireless/
Dmac80211_hwsim.c263 struct hwsim_net { struct
270 struct hwsim_net *hwsim_net = net_generic(net, hwsim_net_id); in hwsim_net_get_netgroup() argument
272 return hwsim_net->netgroup; in hwsim_net_get_netgroup()
277 struct hwsim_net *hwsim_net = net_generic(net, hwsim_net_id); in hwsim_net_set_netgroup() local
279 hwsim_net->netgroup = ida_simple_get(&hwsim_netgroup_ida, in hwsim_net_set_netgroup()
281 return hwsim_net->netgroup >= 0 ? 0 : -ENOMEM; in hwsim_net_set_netgroup()
286 struct hwsim_net *hwsim_net = net_generic(net, hwsim_net_id); in hwsim_net_get_wmediumd() local
288 return hwsim_net->wmediumd; in hwsim_net_get_wmediumd()
293 struct hwsim_net *hwsim_net = net_generic(net, hwsim_net_id); in hwsim_net_set_wmediumd() local
295 hwsim_net->wmediumd = portid; in hwsim_net_set_wmediumd()
[all …]