Home
last modified time | relevance | path

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

/linux-6.1.9/net/wireless/
Dcore.c57 struct cfg80211_registered_device *cfg80211_rdev_by_wiphy_idx(int wiphy_idx) in cfg80211_rdev_by_wiphy_idx() argument
64 if (rdev->wiphy_idx == wiphy_idx) { in cfg80211_rdev_by_wiphy_idx()
77 return rdev->wiphy_idx; in get_wiphy_idx()
80 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx) in wiphy_idx_to_wiphy() argument
86 rdev = cfg80211_rdev_by_wiphy_idx(wiphy_idx); in wiphy_idx_to_wiphy()
96 int wiphy_idx, taken = -1, digits; in cfg80211_dev_check_name() local
104 sscanf(newname, PHY_NAME "%d%n", &wiphy_idx, &taken); in cfg80211_dev_check_name()
105 if (taken == strlen(newname) && wiphy_idx != rdev->wiphy_idx) { in cfg80211_dev_check_name()
108 while (wiphy_idx /= 10) in cfg80211_dev_check_name()
446 rdev->wiphy_idx = atomic_inc_return(&wiphy_counter); in wiphy_new_nm()
[all …]
Dcore.h52 int wiphy_idx; member
210 struct cfg80211_registered_device *cfg80211_rdev_by_wiphy_idx(int wiphy_idx);
213 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx);
Dreg.c1144 request->wiphy_idx = WIPHY_IDX_INVALID; in reg_reload_regdb()
1989 struct wiphy *request_wiphy = wiphy_idx_to_wiphy(lr->wiphy_idx); in handle_channel()
2887 last_wiphy = wiphy_idx_to_wiphy(lr->wiphy_idx); in __reg_process_hint_country_ie()
3041 if (reg_request->wiphy_idx != WIPHY_IDX_INVALID) in reg_process_hint()
3042 wiphy = wiphy_idx_to_wiphy(reg_request->wiphy_idx); in reg_process_hint()
3196 request.wiphy_idx = get_wiphy_idx(wiphy); in reg_process_self_managed_hint()
3255 request->wiphy_idx = WIPHY_IDX_INVALID; in regulatory_hint_core()
3278 request->wiphy_idx = WIPHY_IDX_INVALID; in regulatory_hint_user()
3350 request->wiphy_idx = get_wiphy_idx(wiphy); in regulatory_hint()
3403 lr->wiphy_idx != WIPHY_IDX_INVALID) in regulatory_hint_country_ie()
[all …]
Dnl80211.h22 ((u64)wiphy_to_rdev(wdev->wiphy)->wiphy_idx << 32); in wdev_id()
Dsysfs.c36 SHOW_FMT(index, "%d", wiphy_idx);
Dnl80211.c74 int wiphy_idx = -1; in __cfg80211_wdev_from_attrs() local
84 wiphy_idx = wdev_id >> 32; in __cfg80211_wdev_from_attrs()
115 if (have_wdev_id && rdev->wiphy_idx != wiphy_idx) in __cfg80211_wdev_from_attrs()
1007 cb->args[0] = (*rdev)->wiphy_idx + 1; in nl80211_prepare_wdev_dump()
2388 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) || in nl80211_send_wiphy()
3013 state->filter_wiphy = rdev->wiphy_idx; in nl80211_dump_wiphy_parse()
3052 state->filter_wiphy != rdev->wiphy_idx) in nl80211_dump_wiphy()
3790 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) || in nl80211_send_iface()
3943 if (filter_wiphy >= 0 && filter_wiphy != rdev->wiphy_idx) in nl80211_dump_interface()
11330 if (nla_put_u32(skb, NL80211_ATTR_WIPHY, rdev->wiphy_idx)) in __cfg80211_alloc_vendor_skb()
[all …]
Dpmsr.c362 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) || in cfg80211_pmsr_complete()
575 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) || in cfg80211_pmsr_report()
/linux-6.1.9/include/net/
Dregulatory.h82 int wiphy_idx; member