Lines Matching refs:wiphy

63 struct wiphy;
600 void wiphy_read_of_freq_limits(struct wiphy *wiphy);
602 static inline void wiphy_read_of_freq_limits(struct wiphy *wiphy) in wiphy_read_of_freq_limits() argument
853 bool cfg80211_chandef_usable(struct wiphy *wiphy,
865 int cfg80211_chandef_dfs_required(struct wiphy *wiphy,
1469 int cfg80211_check_station_change(struct wiphy *wiphy,
2216 struct wiphy *wiphy; member
2364 struct wiphy *wiphy; member
3975 int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow);
3976 int (*resume)(struct wiphy *wiphy);
3977 void (*set_wakeup)(struct wiphy *wiphy, bool enabled);
3979 struct wireless_dev * (*add_virtual_intf)(struct wiphy *wiphy,
3984 int (*del_virtual_intf)(struct wiphy *wiphy,
3986 int (*change_virtual_intf)(struct wiphy *wiphy,
3991 int (*add_key)(struct wiphy *wiphy, struct net_device *netdev,
3994 int (*get_key)(struct wiphy *wiphy, struct net_device *netdev,
3998 int (*del_key)(struct wiphy *wiphy, struct net_device *netdev,
4000 int (*set_default_key)(struct wiphy *wiphy,
4003 int (*set_default_mgmt_key)(struct wiphy *wiphy,
4006 int (*set_default_beacon_key)(struct wiphy *wiphy,
4010 int (*start_ap)(struct wiphy *wiphy, struct net_device *dev,
4012 int (*change_beacon)(struct wiphy *wiphy, struct net_device *dev,
4014 int (*stop_ap)(struct wiphy *wiphy, struct net_device *dev);
4017 int (*add_station)(struct wiphy *wiphy, struct net_device *dev,
4020 int (*del_station)(struct wiphy *wiphy, struct net_device *dev,
4022 int (*change_station)(struct wiphy *wiphy, struct net_device *dev,
4025 int (*get_station)(struct wiphy *wiphy, struct net_device *dev,
4027 int (*dump_station)(struct wiphy *wiphy, struct net_device *dev,
4030 int (*add_mpath)(struct wiphy *wiphy, struct net_device *dev,
4032 int (*del_mpath)(struct wiphy *wiphy, struct net_device *dev,
4034 int (*change_mpath)(struct wiphy *wiphy, struct net_device *dev,
4036 int (*get_mpath)(struct wiphy *wiphy, struct net_device *dev,
4038 int (*dump_mpath)(struct wiphy *wiphy, struct net_device *dev,
4041 int (*get_mpp)(struct wiphy *wiphy, struct net_device *dev,
4043 int (*dump_mpp)(struct wiphy *wiphy, struct net_device *dev,
4046 int (*get_mesh_config)(struct wiphy *wiphy,
4049 int (*update_mesh_config)(struct wiphy *wiphy,
4052 int (*join_mesh)(struct wiphy *wiphy, struct net_device *dev,
4055 int (*leave_mesh)(struct wiphy *wiphy, struct net_device *dev);
4057 int (*join_ocb)(struct wiphy *wiphy, struct net_device *dev,
4059 int (*leave_ocb)(struct wiphy *wiphy, struct net_device *dev);
4061 int (*change_bss)(struct wiphy *wiphy, struct net_device *dev,
4064 int (*set_txq_params)(struct wiphy *wiphy, struct net_device *dev,
4067 int (*libertas_set_mesh_channel)(struct wiphy *wiphy,
4071 int (*set_monitor_channel)(struct wiphy *wiphy,
4074 int (*scan)(struct wiphy *wiphy,
4076 void (*abort_scan)(struct wiphy *wiphy, struct wireless_dev *wdev);
4078 int (*auth)(struct wiphy *wiphy, struct net_device *dev,
4080 int (*assoc)(struct wiphy *wiphy, struct net_device *dev,
4082 int (*deauth)(struct wiphy *wiphy, struct net_device *dev,
4084 int (*disassoc)(struct wiphy *wiphy, struct net_device *dev,
4087 int (*connect)(struct wiphy *wiphy, struct net_device *dev,
4089 int (*update_connect_params)(struct wiphy *wiphy,
4093 int (*disconnect)(struct wiphy *wiphy, struct net_device *dev,
4096 int (*join_ibss)(struct wiphy *wiphy, struct net_device *dev,
4098 int (*leave_ibss)(struct wiphy *wiphy, struct net_device *dev);
4100 int (*set_mcast_rate)(struct wiphy *wiphy, struct net_device *dev,
4103 int (*set_wiphy_params)(struct wiphy *wiphy, u32 changed);
4105 int (*set_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
4107 int (*get_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
4110 int (*set_wds_peer)(struct wiphy *wiphy, struct net_device *dev,
4113 void (*rfkill_poll)(struct wiphy *wiphy);
4116 int (*testmode_cmd)(struct wiphy *wiphy, struct wireless_dev *wdev,
4118 int (*testmode_dump)(struct wiphy *wiphy, struct sk_buff *skb,
4123 int (*set_bitrate_mask)(struct wiphy *wiphy,
4128 int (*dump_survey)(struct wiphy *wiphy, struct net_device *netdev,
4131 int (*set_pmksa)(struct wiphy *wiphy, struct net_device *netdev,
4133 int (*del_pmksa)(struct wiphy *wiphy, struct net_device *netdev,
4135 int (*flush_pmksa)(struct wiphy *wiphy, struct net_device *netdev);
4137 int (*remain_on_channel)(struct wiphy *wiphy,
4142 int (*cancel_remain_on_channel)(struct wiphy *wiphy,
4146 int (*mgmt_tx)(struct wiphy *wiphy, struct wireless_dev *wdev,
4149 int (*mgmt_tx_cancel_wait)(struct wiphy *wiphy,
4153 int (*set_power_mgmt)(struct wiphy *wiphy, struct net_device *dev,
4156 int (*set_cqm_rssi_config)(struct wiphy *wiphy,
4160 int (*set_cqm_rssi_range_config)(struct wiphy *wiphy,
4164 int (*set_cqm_txe_config)(struct wiphy *wiphy,
4168 void (*update_mgmt_frame_registrations)(struct wiphy *wiphy,
4172 int (*set_antenna)(struct wiphy *wiphy, u32 tx_ant, u32 rx_ant);
4173 int (*get_antenna)(struct wiphy *wiphy, u32 *tx_ant, u32 *rx_ant);
4175 int (*sched_scan_start)(struct wiphy *wiphy,
4178 int (*sched_scan_stop)(struct wiphy *wiphy, struct net_device *dev,
4181 int (*set_rekey_data)(struct wiphy *wiphy, struct net_device *dev,
4184 int (*tdls_mgmt)(struct wiphy *wiphy, struct net_device *dev,
4188 int (*tdls_oper)(struct wiphy *wiphy, struct net_device *dev,
4191 int (*probe_client)(struct wiphy *wiphy, struct net_device *dev,
4194 int (*set_noack_map)(struct wiphy *wiphy,
4198 int (*get_channel)(struct wiphy *wiphy,
4202 int (*start_p2p_device)(struct wiphy *wiphy,
4204 void (*stop_p2p_device)(struct wiphy *wiphy,
4207 int (*set_mac_acl)(struct wiphy *wiphy, struct net_device *dev,
4210 int (*start_radar_detection)(struct wiphy *wiphy,
4214 void (*end_cac)(struct wiphy *wiphy,
4216 int (*update_ft_ies)(struct wiphy *wiphy, struct net_device *dev,
4218 int (*crit_proto_start)(struct wiphy *wiphy,
4222 void (*crit_proto_stop)(struct wiphy *wiphy,
4224 int (*set_coalesce)(struct wiphy *wiphy,
4227 int (*channel_switch)(struct wiphy *wiphy,
4231 int (*set_qos_map)(struct wiphy *wiphy,
4235 int (*set_ap_chanwidth)(struct wiphy *wiphy, struct net_device *dev,
4238 int (*add_tx_ts)(struct wiphy *wiphy, struct net_device *dev,
4241 int (*del_tx_ts)(struct wiphy *wiphy, struct net_device *dev,
4244 int (*tdls_channel_switch)(struct wiphy *wiphy,
4248 void (*tdls_cancel_channel_switch)(struct wiphy *wiphy,
4251 int (*start_nan)(struct wiphy *wiphy, struct wireless_dev *wdev,
4253 void (*stop_nan)(struct wiphy *wiphy, struct wireless_dev *wdev);
4254 int (*add_nan_func)(struct wiphy *wiphy, struct wireless_dev *wdev,
4256 void (*del_nan_func)(struct wiphy *wiphy, struct wireless_dev *wdev,
4258 int (*nan_change_conf)(struct wiphy *wiphy,
4263 int (*set_multicast_to_unicast)(struct wiphy *wiphy,
4267 int (*get_txq_stats)(struct wiphy *wiphy,
4271 int (*set_pmk)(struct wiphy *wiphy, struct net_device *dev,
4273 int (*del_pmk)(struct wiphy *wiphy, struct net_device *dev,
4275 int (*external_auth)(struct wiphy *wiphy, struct net_device *dev,
4278 int (*tx_control_port)(struct wiphy *wiphy,
4285 int (*get_ftm_responder_stats)(struct wiphy *wiphy,
4289 int (*start_pmsr)(struct wiphy *wiphy, struct wireless_dev *wdev,
4291 void (*abort_pmsr)(struct wiphy *wiphy, struct wireless_dev *wdev,
4293 int (*update_owe_info)(struct wiphy *wiphy, struct net_device *dev,
4295 int (*probe_mesh_link)(struct wiphy *wiphy, struct net_device *dev,
4297 int (*set_tid_config)(struct wiphy *wiphy, struct net_device *dev,
4299 int (*reset_tid_config)(struct wiphy *wiphy, struct net_device *dev,
4661 int (*doit)(struct wiphy *wiphy, struct wireless_dev *wdev,
4663 int (*dumpit)(struct wiphy *wiphy, struct wireless_dev *wdev,
4938 struct wiphy { struct
5019 void (*reg_notifier)(struct wiphy *wiphy, argument
5080 static inline struct net *wiphy_net(struct wiphy *wiphy) in wiphy_net() argument
5082 return read_pnet(&wiphy->_net); in wiphy_net()
5085 static inline void wiphy_net_set(struct wiphy *wiphy, struct net *net) in wiphy_net_set() argument
5087 write_pnet(&wiphy->_net, net); in wiphy_net_set()
5096 static inline void *wiphy_priv(struct wiphy *wiphy) in wiphy_priv() argument
5098 BUG_ON(!wiphy); in wiphy_priv()
5099 return &wiphy->priv; in wiphy_priv()
5108 static inline struct wiphy *priv_to_wiphy(void *priv) in priv_to_wiphy()
5111 return container_of(priv, struct wiphy, priv); in priv_to_wiphy()
5120 static inline void set_wiphy_dev(struct wiphy *wiphy, struct device *dev) in set_wiphy_dev() argument
5122 wiphy->dev.parent = dev; in set_wiphy_dev()
5131 static inline struct device *wiphy_dev(struct wiphy *wiphy) in wiphy_dev() argument
5133 return wiphy->dev.parent; in wiphy_dev()
5142 static inline const char *wiphy_name(const struct wiphy *wiphy) in wiphy_name() argument
5144 return dev_name(&wiphy->dev); in wiphy_name()
5161 struct wiphy *wiphy_new_nm(const struct cfg80211_ops *ops, int sizeof_priv,
5176 static inline struct wiphy *wiphy_new(const struct cfg80211_ops *ops, in wiphy_new()
5189 int wiphy_register(struct wiphy *wiphy);
5200 void wiphy_unregister(struct wiphy *wiphy);
5207 void wiphy_free(struct wiphy *wiphy);
5298 struct wiphy *wiphy; member
5409 return wiphy_priv(wdev->wiphy); in wdev_priv()
5500 ieee80211_get_channel_khz(struct wiphy *wiphy, u32 freq);
5510 ieee80211_get_channel(struct wiphy *wiphy, int freq) in ieee80211_get_channel() argument
5512 return ieee80211_get_channel_khz(wiphy, MHZ_TO_KHZ(freq)); in ieee80211_get_channel()
5974 int regulatory_hint(struct wiphy *wiphy, const char *alpha2);
5987 int regulatory_set_wiphy_regd(struct wiphy *wiphy,
6001 int regulatory_set_wiphy_regd_sync_rtnl(struct wiphy *wiphy,
6019 void wiphy_apply_custom_regulatory(struct wiphy *wiphy,
6040 const struct ieee80211_reg_rule *freq_reg_info(struct wiphy *wiphy,
6058 bool regulatory_pre_cac_allowed(struct wiphy *wiphy);
6105 void cfg80211_sched_scan_results(struct wiphy *wiphy, u64 reqid);
6117 void cfg80211_sched_scan_stopped(struct wiphy *wiphy, u64 reqid);
6130 void cfg80211_sched_scan_stopped_rtnl(struct wiphy *wiphy, u64 reqid);
6147 cfg80211_inform_bss_frame_data(struct wiphy *wiphy,
6153 cfg80211_inform_bss_width_frame(struct wiphy *wiphy, in cfg80211_inform_bss_width_frame() argument
6165 return cfg80211_inform_bss_frame_data(wiphy, &data, mgmt, len, gfp); in cfg80211_inform_bss_width_frame()
6169 cfg80211_inform_bss_frame(struct wiphy *wiphy, in cfg80211_inform_bss_frame() argument
6180 return cfg80211_inform_bss_frame_data(wiphy, &data, mgmt, len, gfp); in cfg80211_inform_bss_frame()
6260 cfg80211_inform_bss_data(struct wiphy *wiphy,
6268 cfg80211_inform_bss_width(struct wiphy *wiphy, in cfg80211_inform_bss_width() argument
6282 return cfg80211_inform_bss_data(wiphy, &data, ftype, bssid, tsf, in cfg80211_inform_bss_width()
6288 cfg80211_inform_bss(struct wiphy *wiphy, in cfg80211_inform_bss() argument
6301 return cfg80211_inform_bss_data(wiphy, &data, ftype, bssid, tsf, in cfg80211_inform_bss()
6316 struct cfg80211_bss *cfg80211_get_bss(struct wiphy *wiphy,
6323 cfg80211_get_ibss(struct wiphy *wiphy, in cfg80211_get_ibss() argument
6327 return cfg80211_get_bss(wiphy, channel, NULL, ssid, ssid_len, in cfg80211_get_ibss()
6339 void cfg80211_ref_bss(struct wiphy *wiphy, struct cfg80211_bss *bss);
6348 void cfg80211_put_bss(struct wiphy *wiphy, struct cfg80211_bss *bss);
6360 void cfg80211_unlink_bss(struct wiphy *wiphy, struct cfg80211_bss *bss);
6375 void cfg80211_bss_iter(struct wiphy *wiphy,
6377 void (*iter)(struct wiphy *wiphy,
6571 void wiphy_rfkill_set_hw_state(struct wiphy *wiphy, bool blocked);
6577 void wiphy_rfkill_start_polling(struct wiphy *wiphy);
6583 void wiphy_rfkill_stop_polling(struct wiphy *wiphy);
6605 struct sk_buff *__cfg80211_alloc_reply_skb(struct wiphy *wiphy,
6610 struct sk_buff *__cfg80211_alloc_event_skb(struct wiphy *wiphy,
6644 cfg80211_vendor_cmd_alloc_reply_skb(struct wiphy *wiphy, int approxlen) in cfg80211_vendor_cmd_alloc_reply_skb() argument
6646 return __cfg80211_alloc_reply_skb(wiphy, NL80211_CMD_VENDOR, in cfg80211_vendor_cmd_alloc_reply_skb()
6671 unsigned int cfg80211_vendor_cmd_get_sender(struct wiphy *wiphy);
6695 cfg80211_vendor_event_alloc(struct wiphy *wiphy, struct wireless_dev *wdev, in cfg80211_vendor_event_alloc() argument
6698 return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR, in cfg80211_vendor_event_alloc()
6728 cfg80211_vendor_event_alloc_ucast(struct wiphy *wiphy, in cfg80211_vendor_event_alloc_ucast() argument
6733 return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR, in cfg80211_vendor_event_alloc_ucast()
6787 cfg80211_testmode_alloc_reply_skb(struct wiphy *wiphy, int approxlen) in cfg80211_testmode_alloc_reply_skb() argument
6789 return __cfg80211_alloc_reply_skb(wiphy, NL80211_CMD_TESTMODE, in cfg80211_testmode_alloc_reply_skb()
6832 cfg80211_testmode_alloc_event_skb(struct wiphy *wiphy, int approxlen, gfp_t gfp) in cfg80211_testmode_alloc_event_skb() argument
6834 return __cfg80211_alloc_event_skb(wiphy, NULL, NL80211_CMD_TESTMODE, in cfg80211_testmode_alloc_event_skb()
7407 void cfg80211_radar_event(struct wiphy *wiphy,
7518 void cfg80211_report_obss_beacon_khz(struct wiphy *wiphy, const u8 *frame,
7533 static inline void cfg80211_report_obss_beacon(struct wiphy *wiphy, in cfg80211_report_obss_beacon() argument
7537 cfg80211_report_obss_beacon_khz(wiphy, frame, len, MHZ_TO_KHZ(freq), in cfg80211_report_obss_beacon()
7550 bool cfg80211_reg_can_beacon(struct wiphy *wiphy,
7567 bool cfg80211_reg_can_beacon_relax(struct wiphy *wiphy,
7814 unsigned int ieee80211_get_num_supported_channels(struct wiphy *wiphy);
7826 int cfg80211_check_combinations(struct wiphy *wiphy,
7841 int cfg80211_iter_combinations(struct wiphy *wiphy,
7859 void cfg80211_stop_iface(struct wiphy *wiphy, struct wireless_dev *wdev,
7874 void cfg80211_shutdown_all_interfaces(struct wiphy *wiphy);
7885 static inline void wiphy_ext_feature_set(struct wiphy *wiphy, in wiphy_ext_feature_set() argument
7890 ft_byte = &wiphy->ext_features[ftidx / 8]; in wiphy_ext_feature_set()
7904 wiphy_ext_feature_isset(struct wiphy *wiphy, in wiphy_ext_feature_isset() argument
7909 ft_byte = wiphy->ext_features[ftidx / 8]; in wiphy_ext_feature_isset()
8024 bool cfg80211_iftype_allowed(struct wiphy *wiphy, enum nl80211_iftype iftype,
8032 #define wiphy_printk(level, wiphy, format, args...) \ argument
8033 dev_printk(level, &(wiphy)->dev, format, ##args)
8034 #define wiphy_emerg(wiphy, format, args...) \ argument
8035 dev_emerg(&(wiphy)->dev, format, ##args)
8036 #define wiphy_alert(wiphy, format, args...) \ argument
8037 dev_alert(&(wiphy)->dev, format, ##args)
8038 #define wiphy_crit(wiphy, format, args...) \ argument
8039 dev_crit(&(wiphy)->dev, format, ##args)
8040 #define wiphy_err(wiphy, format, args...) \ argument
8041 dev_err(&(wiphy)->dev, format, ##args)
8042 #define wiphy_warn(wiphy, format, args...) \ argument
8043 dev_warn(&(wiphy)->dev, format, ##args)
8044 #define wiphy_notice(wiphy, format, args...) \ argument
8045 dev_notice(&(wiphy)->dev, format, ##args)
8046 #define wiphy_info(wiphy, format, args...) \ argument
8047 dev_info(&(wiphy)->dev, format, ##args)
8049 #define wiphy_err_ratelimited(wiphy, format, args...) \ argument
8050 dev_err_ratelimited(&(wiphy)->dev, format, ##args)
8051 #define wiphy_warn_ratelimited(wiphy, format, args...) \ argument
8052 dev_warn_ratelimited(&(wiphy)->dev, format, ##args)
8054 #define wiphy_debug(wiphy, format, args...) \ argument
8055 wiphy_printk(KERN_DEBUG, wiphy, format, ##args)
8057 #define wiphy_dbg(wiphy, format, args...) \ argument
8058 dev_dbg(&(wiphy)->dev, format, ##args)
8063 #define wiphy_vdbg(wiphy, format, args...) \ argument
8066 wiphy_printk(KERN_DEBUG, wiphy, format, ##args); \
8076 #define wiphy_WARN(wiphy, format, args...) \ argument
8077 WARN(1, "wiphy: %s\n" format, wiphy_name(wiphy), ##args);
8093 void cfg80211_bss_flush(struct wiphy *wiphy);