Searched refs:wiphy_idx (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/net/wireless/ |
D | core.c | 57 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() 433 rdev->wiphy_idx = atomic_inc_return(&wiphy_counter); in wiphy_new_nm() [all …]
|
D | core.h | 53 int wiphy_idx; member 206 struct cfg80211_registered_device *cfg80211_rdev_by_wiphy_idx(int wiphy_idx); 209 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx);
|
D | reg.c | 1933 struct wiphy *request_wiphy = wiphy_idx_to_wiphy(lr->wiphy_idx); in handle_channel() 2781 last_wiphy = wiphy_idx_to_wiphy(lr->wiphy_idx); in __reg_process_hint_country_ie() 2935 if (reg_request->wiphy_idx != WIPHY_IDX_INVALID) in reg_process_hint() 2936 wiphy = wiphy_idx_to_wiphy(reg_request->wiphy_idx); in reg_process_hint() 3091 request.wiphy_idx = get_wiphy_idx(wiphy); in reg_process_self_managed_hints() 3138 request->wiphy_idx = WIPHY_IDX_INVALID; in regulatory_hint_core() 3161 request->wiphy_idx = WIPHY_IDX_INVALID; in regulatory_hint_user() 3233 request->wiphy_idx = get_wiphy_idx(wiphy); in regulatory_hint() 3286 lr->wiphy_idx != WIPHY_IDX_INVALID) in regulatory_hint_country_ie() 3289 request->wiphy_idx = get_wiphy_idx(wiphy); in regulatory_hint_country_ie() [all …]
|
D | sysfs.c | 35 SHOW_FMT(index, "%d", wiphy_idx);
|
D | nl80211.h | 22 ((u64)wiphy_to_rdev(wdev->wiphy)->wiphy_idx << 32); in wdev_id()
|
D | pmsr.c | 342 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) || in cfg80211_pmsr_complete() 555 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) || in cfg80211_pmsr_report()
|
D | nl80211.c | 74 int wiphy_idx = -1; in __cfg80211_wdev_from_attrs() local 86 wiphy_idx = wdev_id >> 32; in __cfg80211_wdev_from_attrs() 95 if (have_wdev_id && rdev->wiphy_idx != wiphy_idx) in __cfg80211_wdev_from_attrs() 911 cb->args[0] = (*rdev)->wiphy_idx + 1; in nl80211_prepare_wdev_dump() 2129 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) || in nl80211_send_wiphy() 2725 state->filter_wiphy = rdev->wiphy_idx; in nl80211_dump_wiphy_parse() 2764 state->filter_wiphy != rdev->wiphy_idx) in nl80211_dump_wiphy() 3443 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) || in nl80211_send_iface() 3568 if (filter_wiphy >= 0 && filter_wiphy != rdev->wiphy_idx) in nl80211_dump_interface() 10231 if (nla_put_u32(skb, NL80211_ATTR_WIPHY, rdev->wiphy_idx)) in __cfg80211_alloc_vendor_skb() [all …]
|
/kernel/linux/linux-5.10/include/net/ |
D | regulatory.h | 79 int wiphy_idx; member
|