Home
last modified time | relevance | path

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

/Linux-v4.19/net/wireless/
Dcore.c55 struct cfg80211_registered_device *cfg80211_rdev_by_wiphy_idx(int wiphy_idx) in cfg80211_rdev_by_wiphy_idx() argument
62 if (rdev->wiphy_idx == wiphy_idx) { in cfg80211_rdev_by_wiphy_idx()
75 return rdev->wiphy_idx; in get_wiphy_idx()
78 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx) in wiphy_idx_to_wiphy() argument
84 rdev = cfg80211_rdev_by_wiphy_idx(wiphy_idx); in wiphy_idx_to_wiphy()
94 int wiphy_idx, taken = -1, digits; in cfg80211_dev_check_name() local
102 sscanf(newname, PHY_NAME "%d%n", &wiphy_idx, &taken); in cfg80211_dev_check_name()
103 if (taken == strlen(newname) && wiphy_idx != rdev->wiphy_idx) { in cfg80211_dev_check_name()
106 while (wiphy_idx /= 10) in cfg80211_dev_check_name()
416 rdev->wiphy_idx = atomic_inc_return(&wiphy_counter); in wiphy_new_nm()
[all …]
Dreg.c1655 request_wiphy = wiphy_idx_to_wiphy(lr->wiphy_idx); in handle_channel()
2513 last_wiphy = wiphy_idx_to_wiphy(lr->wiphy_idx); in __reg_process_hint_country_ie()
2666 if (reg_request->wiphy_idx != WIPHY_IDX_INVALID) in reg_process_hint()
2667 wiphy = wiphy_idx_to_wiphy(reg_request->wiphy_idx); in reg_process_hint()
2824 request.wiphy_idx = get_wiphy_idx(wiphy); in reg_process_self_managed_hints()
2871 request->wiphy_idx = WIPHY_IDX_INVALID; in regulatory_hint_core()
2891 request->wiphy_idx = WIPHY_IDX_INVALID; in regulatory_hint_user()
2963 request->wiphy_idx = get_wiphy_idx(wiphy); in regulatory_hint()
3016 lr->wiphy_idx != WIPHY_IDX_INVALID) in regulatory_hint_country_ie()
3019 request->wiphy_idx = get_wiphy_idx(wiphy); in regulatory_hint_country_ie()
[all …]
Dcore.h52 int wiphy_idx; member
182 struct cfg80211_registered_device *cfg80211_rdev_by_wiphy_idx(int wiphy_idx);
185 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx);
Dsysfs.c36 SHOW_FMT(index, "%d", wiphy_idx);
Dnl80211.c72 int wiphy_idx = -1; in __cfg80211_wdev_from_attrs() local
84 wiphy_idx = wdev_id >> 32; in __cfg80211_wdev_from_attrs()
93 if (have_wdev_id && rdev->wiphy_idx != wiphy_idx) in __cfg80211_wdev_from_attrs()
591 cb->args[0] = (*rdev)->wiphy_idx + 1; in nl80211_prepare_wdev_dump()
1618 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) || in nl80211_send_wiphy()
2131 state->filter_wiphy = rdev->wiphy_idx; in nl80211_dump_wiphy_parse()
2167 state->filter_wiphy != rdev->wiphy_idx) in nl80211_dump_wiphy()
2756 ((u64)wiphy_to_rdev(wdev->wiphy)->wiphy_idx << 32); in wdev_id()
2809 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) || in nl80211_send_iface()
2934 if (filter_wiphy >= 0 && filter_wiphy != rdev->wiphy_idx) in nl80211_dump_interface()
[all …]
/Linux-v4.19/include/net/
Dregulatory.h79 int wiphy_idx; member