Lines Matching refs:wiphy

47  * The fundamental structure for each device is the 'wiphy', of which each
49 * such wiphy can have zero, one, or many virtual interfaces associated with
57 * Each wiphy structure contains device capability information, and also has
62 struct wiphy;
194 * core code when registering the wiphy.
197 * core code when registering the wiphy.
200 * core code when registering the wiphy.
464 * This structure describes a frequency band a wiphy
585 * @wiphy: the wireless device to get extra limits for
594 * sure to call it only if channels in wiphy are copied and can be modified
602 void wiphy_read_of_freq_limits(struct wiphy *wiphy);
604 static inline void wiphy_read_of_freq_limits(struct wiphy *wiphy)
850 * @wiphy: the wiphy to validate against
855 bool cfg80211_chandef_usable(struct wiphy *wiphy,
861 * @wiphy: the wiphy to validate against
867 int cfg80211_chandef_dfs_required(struct wiphy *wiphy,
1435 * @wiphy: the wiphy this operates on
1445 int cfg80211_check_station_change(struct wiphy *wiphy,
1621 * @signal: The signal strength, type depends on the wiphy's signal_type.
1623 * @signal_avg: Average signal strength, type depends on the wiphy's signal_type.
2075 * in the wiphy structure.
2150 * @wiphy: the wiphy this was for
2186 struct wiphy *wiphy;
2275 * @wiphy: the wiphy this was for
2332 struct wiphy *wiphy;
2362 * @signal: signal strength value, according to the wiphy's
2433 * @signal: signal strength value (type depends on the wiphy's signal_type)
2438 * @priv: private area for driver use, has at least wiphy->bss_priv_size bytes
2823 * @WIPHY_PARAM_RETRY_SHORT: wiphy->retry_short has changed
2824 * @WIPHY_PARAM_RETRY_LONG: wiphy->retry_long has changed
2825 * @WIPHY_PARAM_FRAG_THRESHOLD: wiphy->frag_threshold has changed
2826 * @WIPHY_PARAM_RTS_THRESHOLD: wiphy->rts_threshold has changed
3587 * @suspend: wiphy device needs to be suspended. The variable @wow will
3590 * @resume: wiphy device needs to be resumed
3597 * the new netdev in the wiphy's network namespace! Returns the struct
3729 * @set_wiphy_params: Notify that wiphy parameters have changed;
3732 * struct wiphy. If returning an error, no value should be changed.
3736 * wdev may be %NULL if power was set for the wiphy, and will
3929 int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow);
3930 int (*resume)(struct wiphy *wiphy);
3931 void (*set_wakeup)(struct wiphy *wiphy, bool enabled);
3933 struct wireless_dev * (*add_virtual_intf)(struct wiphy *wiphy,
3938 int (*del_virtual_intf)(struct wiphy *wiphy,
3940 int (*change_virtual_intf)(struct wiphy *wiphy,
3945 int (*add_key)(struct wiphy *wiphy, struct net_device *netdev,
3948 int (*get_key)(struct wiphy *wiphy, struct net_device *netdev,
3952 int (*del_key)(struct wiphy *wiphy, struct net_device *netdev,
3954 int (*set_default_key)(struct wiphy *wiphy,
3957 int (*set_default_mgmt_key)(struct wiphy *wiphy,
3960 int (*set_default_beacon_key)(struct wiphy *wiphy,
3964 int (*start_ap)(struct wiphy *wiphy, struct net_device *dev,
3966 int (*change_beacon)(struct wiphy *wiphy, struct net_device *dev,
3968 int (*stop_ap)(struct wiphy *wiphy, struct net_device *dev);
3971 int (*add_station)(struct wiphy *wiphy, struct net_device *dev,
3974 int (*del_station)(struct wiphy *wiphy, struct net_device *dev,
3976 int (*change_station)(struct wiphy *wiphy, struct net_device *dev,
3979 int (*get_station)(struct wiphy *wiphy, struct net_device *dev,
3981 int (*dump_station)(struct wiphy *wiphy, struct net_device *dev,
3984 int (*add_mpath)(struct wiphy *wiphy, struct net_device *dev,
3986 int (*del_mpath)(struct wiphy *wiphy, struct net_device *dev,
3988 int (*change_mpath)(struct wiphy *wiphy, struct net_device *dev,
3990 int (*get_mpath)(struct wiphy *wiphy, struct net_device *dev,
3992 int (*dump_mpath)(struct wiphy *wiphy, struct net_device *dev,
3995 int (*get_mpp)(struct wiphy *wiphy, struct net_device *dev,
3997 int (*dump_mpp)(struct wiphy *wiphy, struct net_device *dev,
4000 int (*get_mesh_config)(struct wiphy *wiphy,
4003 int (*update_mesh_config)(struct wiphy *wiphy,
4006 int (*join_mesh)(struct wiphy *wiphy, struct net_device *dev,
4009 int (*leave_mesh)(struct wiphy *wiphy, struct net_device *dev);
4011 int (*join_ocb)(struct wiphy *wiphy, struct net_device *dev,
4013 int (*leave_ocb)(struct wiphy *wiphy, struct net_device *dev);
4015 int (*change_bss)(struct wiphy *wiphy, struct net_device *dev,
4018 int (*set_txq_params)(struct wiphy *wiphy, struct net_device *dev,
4021 int (*libertas_set_mesh_channel)(struct wiphy *wiphy,
4025 int (*set_monitor_channel)(struct wiphy *wiphy,
4028 int (*scan)(struct wiphy *wiphy,
4030 void (*abort_scan)(struct wiphy *wiphy, struct wireless_dev *wdev);
4032 int (*auth)(struct wiphy *wiphy, struct net_device *dev,
4034 int (*assoc)(struct wiphy *wiphy, struct net_device *dev,
4036 int (*deauth)(struct wiphy *wiphy, struct net_device *dev,
4038 int (*disassoc)(struct wiphy *wiphy, struct net_device *dev,
4041 int (*connect)(struct wiphy *wiphy, struct net_device *dev,
4043 int (*update_connect_params)(struct wiphy *wiphy,
4047 int (*disconnect)(struct wiphy *wiphy, struct net_device *dev,
4050 int (*join_ibss)(struct wiphy *wiphy, struct net_device *dev,
4052 int (*leave_ibss)(struct wiphy *wiphy, struct net_device *dev);
4054 int (*set_mcast_rate)(struct wiphy *wiphy, struct net_device *dev,
4057 int (*set_wiphy_params)(struct wiphy *wiphy, u32 changed);
4059 int (*set_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
4061 int (*get_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
4064 int (*set_wds_peer)(struct wiphy *wiphy, struct net_device *dev,
4067 void (*rfkill_poll)(struct wiphy *wiphy);
4070 int (*testmode_cmd)(struct wiphy *wiphy, struct wireless_dev *wdev,
4072 int (*testmode_dump)(struct wiphy *wiphy, struct sk_buff *skb,
4077 int (*set_bitrate_mask)(struct wiphy *wiphy,
4082 int (*dump_survey)(struct wiphy *wiphy, struct net_device *netdev,
4085 int (*set_pmksa)(struct wiphy *wiphy, struct net_device *netdev,
4087 int (*del_pmksa)(struct wiphy *wiphy, struct net_device *netdev,
4089 int (*flush_pmksa)(struct wiphy *wiphy, struct net_device *netdev);
4091 int (*remain_on_channel)(struct wiphy *wiphy,
4096 int (*cancel_remain_on_channel)(struct wiphy *wiphy,
4100 int (*mgmt_tx)(struct wiphy *wiphy, struct wireless_dev *wdev,
4103 int (*mgmt_tx_cancel_wait)(struct wiphy *wiphy,
4107 int (*set_power_mgmt)(struct wiphy *wiphy, struct net_device *dev,
4110 int (*set_cqm_rssi_config)(struct wiphy *wiphy,
4114 int (*set_cqm_rssi_range_config)(struct wiphy *wiphy,
4118 int (*set_cqm_txe_config)(struct wiphy *wiphy,
4122 void (*update_mgmt_frame_registrations)(struct wiphy *wiphy,
4126 int (*set_antenna)(struct wiphy *wiphy, u32 tx_ant, u32 rx_ant);
4127 int (*get_antenna)(struct wiphy *wiphy, u32 *tx_ant, u32 *rx_ant);
4129 int (*sched_scan_start)(struct wiphy *wiphy,
4132 int (*sched_scan_stop)(struct wiphy *wiphy, struct net_device *dev,
4135 int (*set_rekey_data)(struct wiphy *wiphy, struct net_device *dev,
4138 int (*tdls_mgmt)(struct wiphy *wiphy, struct net_device *dev,
4142 int (*tdls_oper)(struct wiphy *wiphy, struct net_device *dev,
4145 int (*probe_client)(struct wiphy *wiphy, struct net_device *dev,
4148 int (*set_noack_map)(struct wiphy *wiphy,
4152 int (*get_channel)(struct wiphy *wiphy,
4156 int (*start_p2p_device)(struct wiphy *wiphy,
4158 void (*stop_p2p_device)(struct wiphy *wiphy,
4161 int (*set_mac_acl)(struct wiphy *wiphy, struct net_device *dev,
4164 int (*start_radar_detection)(struct wiphy *wiphy,
4168 void (*end_cac)(struct wiphy *wiphy,
4170 int (*update_ft_ies)(struct wiphy *wiphy, struct net_device *dev,
4172 int (*crit_proto_start)(struct wiphy *wiphy,
4176 void (*crit_proto_stop)(struct wiphy *wiphy,
4178 int (*set_coalesce)(struct wiphy *wiphy,
4181 int (*channel_switch)(struct wiphy *wiphy,
4185 int (*set_qos_map)(struct wiphy *wiphy,
4189 int (*set_ap_chanwidth)(struct wiphy *wiphy, struct net_device *dev,
4192 int (*add_tx_ts)(struct wiphy *wiphy, struct net_device *dev,
4195 int (*del_tx_ts)(struct wiphy *wiphy, struct net_device *dev,
4198 int (*tdls_channel_switch)(struct wiphy *wiphy,
4202 void (*tdls_cancel_channel_switch)(struct wiphy *wiphy,
4205 int (*start_nan)(struct wiphy *wiphy, struct wireless_dev *wdev,
4207 void (*stop_nan)(struct wiphy *wiphy, struct wireless_dev *wdev);
4208 int (*add_nan_func)(struct wiphy *wiphy, struct wireless_dev *wdev,
4210 void (*del_nan_func)(struct wiphy *wiphy, struct wireless_dev *wdev,
4212 int (*nan_change_conf)(struct wiphy *wiphy,
4217 int (*set_multicast_to_unicast)(struct wiphy *wiphy,
4221 int (*get_txq_stats)(struct wiphy *wiphy,
4225 int (*set_pmk)(struct wiphy *wiphy, struct net_device *dev,
4227 int (*del_pmk)(struct wiphy *wiphy, struct net_device *dev,
4229 int (*external_auth)(struct wiphy *wiphy, struct net_device *dev,
4232 int (*tx_control_port)(struct wiphy *wiphy,
4239 int (*get_ftm_responder_stats)(struct wiphy *wiphy,
4243 int (*start_pmsr)(struct wiphy *wiphy, struct wireless_dev *wdev,
4245 void (*abort_pmsr)(struct wiphy *wiphy, struct wireless_dev *wdev,
4247 int (*update_owe_info)(struct wiphy *wiphy, struct net_device *dev,
4249 int (*probe_mesh_link)(struct wiphy *wiphy, struct net_device *dev,
4251 int (*set_tid_config)(struct wiphy *wiphy, struct net_device *dev,
4253 int (*reset_tid_config)(struct wiphy *wiphy, struct net_device *dev,
4263 * enum wiphy_flags - wiphy capability flags
4268 * wiphy at all
4611 int (*doit)(struct wiphy *wiphy, struct wireless_dev *wdev,
4613 int (*dumpit)(struct wiphy *wiphy, struct wireless_dev *wdev,
4694 * struct wiphy - wireless hardware description
4720 * @_net: the network namespace this wiphy currently lives in
4735 * @debugfsdir: debugfs directory used for this wiphy (ieee80211/<wiphyname>).
4736 * It will be renamed automatically on wiphy renames
4737 * @dev: (virtual) struct device for this wiphy. The item in
4742 * @interface_modes: bitmask of interfaces types valid for this wiphy,
4749 * @flags: wiphy flags, see &enum wiphy_flags
4750 * @regulatory_flags: wiphy regulatory flags, see
4782 * wiphy is theirs, e.g. in global notifiers
4800 * when the wiphy flag @WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD is set.
4886 struct wiphy {
4887 /* assign these fields before you register the wiphy */
4967 void (*reg_notifier)(struct wiphy *wiphy,
5026 static inline struct net *wiphy_net(struct wiphy *wiphy)
5028 return read_pnet(&wiphy->_net);
5031 static inline void wiphy_net_set(struct wiphy *wiphy, struct net *net)
5033 write_pnet(&wiphy->_net, net);
5037 * wiphy_priv - return priv from wiphy
5039 * @wiphy: the wiphy whose priv pointer to return
5040 * Return: The priv of @wiphy.
5042 static inline void *wiphy_priv(struct wiphy *wiphy)
5044 BUG_ON(!wiphy);
5045 return &wiphy->priv;
5049 * priv_to_wiphy - return the wiphy containing the priv
5052 * Return: The wiphy of @priv.
5054 static inline struct wiphy *priv_to_wiphy(void *priv)
5057 return container_of(priv, struct wiphy, priv);
5061 * set_wiphy_dev - set device pointer for wiphy
5063 * @wiphy: The wiphy whose device to bind
5066 static inline void set_wiphy_dev(struct wiphy *wiphy, struct device *dev)
5068 wiphy->dev.parent = dev;
5072 * wiphy_dev - get wiphy dev pointer
5074 * @wiphy: The wiphy whose device struct to look up
5075 * Return: The dev of @wiphy.
5077 static inline struct device *wiphy_dev(struct wiphy *wiphy)
5079 return wiphy->dev.parent;
5083 * wiphy_name - get wiphy name
5085 * @wiphy: The wiphy whose name to return
5086 * Return: The name of @wiphy.
5088 static inline const char *wiphy_name(const struct wiphy *wiphy)
5090 return dev_name(&wiphy->dev);
5094 * wiphy_new_nm - create a new wiphy for use with cfg80211
5101 * Create a new wiphy and associate the given operations with it.
5104 * Return: A pointer to the new wiphy. This pointer must be
5107 struct wiphy *wiphy_new_nm(const struct cfg80211_ops *ops, int sizeof_priv,
5111 * wiphy_new - create a new wiphy for use with cfg80211
5116 * Create a new wiphy and associate the given operations with it.
5119 * Return: A pointer to the new wiphy. This pointer must be
5122 static inline struct wiphy *wiphy_new(const struct cfg80211_ops *ops,
5129 * wiphy_register - register a wiphy with cfg80211
5131 * @wiphy: The wiphy to register.
5133 * Return: A non-negative wiphy index or a negative error code.
5135 int wiphy_register(struct wiphy *wiphy);
5138 * wiphy_unregister - deregister a wiphy from cfg80211
5140 * @wiphy: The wiphy to unregister.
5146 void wiphy_unregister(struct wiphy *wiphy);
5149 * wiphy_free - free wiphy
5151 * @wiphy: The wiphy to free
5153 void wiphy_free(struct wiphy *wiphy);
5175 * @wiphy: pointer to hardware description
5244 struct wiphy *wiphy;
5337 * wdev_priv - return wiphy priv from wireless_dev
5339 * @wdev: The wireless device whose wiphy's priv pointer to return
5340 * Return: The wiphy priv of @wdev.
5345 return wiphy_priv(wdev->wiphy);
5429 * ieee80211_get_channel_khz - get channel struct from wiphy for specified
5431 * @wiphy: the struct wiphy to get the channel for
5433 * Return: The channel struct from @wiphy at @freq.
5436 ieee80211_get_channel_khz(struct wiphy *wiphy, u32 freq);
5439 * ieee80211_get_channel - get channel struct from wiphy for specified frequency
5441 * @wiphy: the struct wiphy to get the channel for
5443 * Return: The channel struct from @wiphy at @freq.
5446 ieee80211_get_channel(struct wiphy *wiphy, int freq)
5448 return ieee80211_get_channel_khz(wiphy, MHZ_TO_KHZ(freq));
5887 * @wiphy: the wireless device giving the hint (used only for reporting
5901 * The wiphy must have been registered to cfg80211 prior to this call.
5910 int regulatory_hint(struct wiphy *wiphy, const char *alpha2);
5914 * @wiphy: the wireless device we want to process the regulatory domain on
5915 * @rd: the regulatory domain informatoin to use for this wiphy
5923 int regulatory_set_wiphy_regd(struct wiphy *wiphy,
5928 * @wiphy: the wireless device we want to process the regulatory domain on
5929 * @rd: the regulatory domain information to use for this wiphy
5932 * synchronously to this wiphy. For more details see
5937 int regulatory_set_wiphy_regd_sync_rtnl(struct wiphy *wiphy,
5942 * @wiphy: the wireless device we want to process the regulatory domain on
5943 * @regd: the custom regulatory domain to use for this wiphy
5947 * domains. This routine must be called prior to wiphy registration. The
5951 * Drivers using this for a wiphy should also set the wiphy flag
5952 * REGULATORY_CUSTOM_REG or cfg80211 will set it for the wiphy
5955 void wiphy_apply_custom_regulatory(struct wiphy *wiphy,
5960 * @wiphy: the wiphy for which we want to process this rule for
5976 const struct ieee80211_reg_rule *freq_reg_info(struct wiphy *wiphy,
5990 * @wiphy: wiphy for which pre-CAC capability is checked.
5994 bool regulatory_pre_cac_allowed(struct wiphy *wiphy);
6038 * @wiphy: the wiphy which got scheduled scan results
6041 void cfg80211_sched_scan_results(struct wiphy *wiphy, u64 reqid);
6046 * @wiphy: the wiphy on which the scheduled scan stopped
6053 void cfg80211_sched_scan_stopped(struct wiphy *wiphy, u64 reqid);
6058 * @wiphy: the wiphy on which the scheduled scan stopped
6066 void cfg80211_sched_scan_stopped_rtnl(struct wiphy *wiphy, u64 reqid);
6070 * @wiphy: the wiphy reporting the BSS
6083 cfg80211_inform_bss_frame_data(struct wiphy *wiphy,
6089 cfg80211_inform_bss_width_frame(struct wiphy *wiphy,
6101 return cfg80211_inform_bss_frame_data(wiphy, &data, mgmt, len, gfp);
6105 cfg80211_inform_bss_frame(struct wiphy *wiphy,
6116 return cfg80211_inform_bss_frame_data(wiphy, &data, mgmt, len, gfp);
6178 * @wiphy: the wiphy reporting the BSS
6196 cfg80211_inform_bss_data(struct wiphy *wiphy,
6204 cfg80211_inform_bss_width(struct wiphy *wiphy,
6218 return cfg80211_inform_bss_data(wiphy, &data, ftype, bssid, tsf,
6224 cfg80211_inform_bss(struct wiphy *wiphy,
6237 return cfg80211_inform_bss_data(wiphy, &data, ftype, bssid, tsf,
6244 * @wiphy: the wiphy this BSS struct belongs to
6252 struct cfg80211_bss *cfg80211_get_bss(struct wiphy *wiphy,
6259 cfg80211_get_ibss(struct wiphy *wiphy,
6263 return cfg80211_get_bss(wiphy, channel, NULL, ssid, ssid_len,
6270 * @wiphy: the wiphy this BSS struct belongs to
6275 void cfg80211_ref_bss(struct wiphy *wiphy, struct cfg80211_bss *bss);
6279 * @wiphy: the wiphy this BSS struct belongs to
6284 void cfg80211_put_bss(struct wiphy *wiphy, struct cfg80211_bss *bss);
6288 * @wiphy: the wiphy
6296 void cfg80211_unlink_bss(struct wiphy *wiphy, struct cfg80211_bss *bss);
6301 * This function iterates over the BSS entries associated with the given wiphy
6305 * @wiphy: the wiphy
6311 void cfg80211_bss_iter(struct wiphy *wiphy,
6313 void (*iter)(struct wiphy *wiphy,
6504 * @wiphy: the wiphy
6507 void wiphy_rfkill_set_hw_state(struct wiphy *wiphy, bool blocked);
6511 * @wiphy: the wiphy
6513 void wiphy_rfkill_start_polling(struct wiphy *wiphy);
6517 * @wiphy: the wiphy
6519 void wiphy_rfkill_stop_polling(struct wiphy *wiphy);
6531 * in struct wiphy, with handlers for each one, each command has an
6541 struct sk_buff *__cfg80211_alloc_reply_skb(struct wiphy *wiphy,
6546 struct sk_buff *__cfg80211_alloc_event_skb(struct wiphy *wiphy,
6558 * @wiphy: the wiphy
6580 cfg80211_vendor_cmd_alloc_reply_skb(struct wiphy *wiphy, int approxlen)
6582 return __cfg80211_alloc_reply_skb(wiphy, NL80211_CMD_VENDOR,
6602 * @wiphy: the wiphy
6607 unsigned int cfg80211_vendor_cmd_get_sender(struct wiphy *wiphy);
6611 * @wiphy: the wiphy
6613 * @event_idx: index of the vendor event in the wiphy's vendor_events
6631 cfg80211_vendor_event_alloc(struct wiphy *wiphy, struct wireless_dev *wdev,
6634 return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR,
6641 * @wiphy: the wiphy
6643 * @event_idx: index of the vendor event in the wiphy's vendor_events
6664 cfg80211_vendor_event_alloc_ucast(struct wiphy *wiphy,
6669 return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR,
6701 * @wiphy: the wiphy
6709 * The returned skb is pre-filled with the wiphy index and set up in
6723 cfg80211_testmode_alloc_reply_skb(struct wiphy *wiphy, int approxlen)
6725 return __cfg80211_alloc_reply_skb(wiphy, NL80211_CMD_TESTMODE,
6748 * @wiphy: the wiphy
6768 cfg80211_testmode_alloc_event_skb(struct wiphy *wiphy, int approxlen, gfp_t gfp)
6770 return __cfg80211_alloc_event_skb(wiphy, NULL, NL80211_CMD_TESTMODE,
7337 * @wiphy: the wiphy
7343 void cfg80211_radar_event(struct wiphy *wiphy,
7444 * @wiphy: The wiphy that received the beacon
7454 void cfg80211_report_obss_beacon_khz(struct wiphy *wiphy, const u8 *frame,
7459 * @wiphy: The wiphy that received the beacon
7469 static inline void cfg80211_report_obss_beacon(struct wiphy *wiphy,
7473 cfg80211_report_obss_beacon_khz(wiphy, frame, len, MHZ_TO_KHZ(freq),
7479 * @wiphy: the wiphy
7486 bool cfg80211_reg_can_beacon(struct wiphy *wiphy,
7492 * @wiphy: the wiphy
7503 bool cfg80211_reg_can_beacon_relax(struct wiphy *wiphy,
7746 * @wiphy: the wiphy
7750 unsigned int ieee80211_get_num_supported_channels(struct wiphy *wiphy);
7755 * @wiphy: the wiphy
7762 int cfg80211_check_combinations(struct wiphy *wiphy,
7768 * @wiphy: the wiphy
7777 int cfg80211_iter_combinations(struct wiphy *wiphy,
7786 * @wiphy: the wiphy
7795 void cfg80211_stop_iface(struct wiphy *wiphy, struct wireless_dev *wdev,
7799 * cfg80211_shutdown_all_interfaces - shut down all interfaces for a wiphy
7800 * @wiphy: the wiphy to shut down
7802 * This function shuts down all interfaces belonging to this wiphy by
7810 void cfg80211_shutdown_all_interfaces(struct wiphy *wiphy);
7815 * @wiphy: the wiphy to modify.
7819 * &struct wiphy.@ext_features)
7821 static inline void wiphy_ext_feature_set(struct wiphy *wiphy,
7826 ft_byte = &wiphy->ext_features[ftidx / 8];
7833 * @wiphy: the wiphy to modify.
7837 * &struct wiphy.@ext_features)
7840 wiphy_ext_feature_isset(struct wiphy *wiphy,
7845 ft_byte = wiphy->ext_features[ftidx / 8];
7951 * @wiphy: the wiphy
7960 bool cfg80211_iftype_allowed(struct wiphy *wiphy, enum nl80211_iftype iftype,
7968 #define wiphy_printk(level, wiphy, format, args...) \
7969 dev_printk(level, &(wiphy)->dev, format, ##args)
7970 #define wiphy_emerg(wiphy, format, args...) \
7971 dev_emerg(&(wiphy)->dev, format, ##args)
7972 #define wiphy_alert(wiphy, format, args...) \
7973 dev_alert(&(wiphy)->dev, format, ##args)
7974 #define wiphy_crit(wiphy, format, args...) \
7975 dev_crit(&(wiphy)->dev, format, ##args)
7976 #define wiphy_err(wiphy, format, args...) \
7977 dev_err(&(wiphy)->dev, format, ##args)
7978 #define wiphy_warn(wiphy, format, args...) \
7979 dev_warn(&(wiphy)->dev, format, ##args)
7980 #define wiphy_notice(wiphy, format, args...) \
7981 dev_notice(&(wiphy)->dev, format, ##args)
7982 #define wiphy_info(wiphy, format, args...) \
7983 dev_info(&(wiphy)->dev, format, ##args)
7985 #define wiphy_err_ratelimited(wiphy, format, args...) \
7986 dev_err_ratelimited(&(wiphy)->dev, format, ##args)
7987 #define wiphy_warn_ratelimited(wiphy, format, args...) \
7988 dev_warn_ratelimited(&(wiphy)->dev, format, ##args)
7990 #define wiphy_debug(wiphy, format, args...) \
7991 wiphy_printk(KERN_DEBUG, wiphy, format, ##args)
7993 #define wiphy_dbg(wiphy, format, args...) \
7994 dev_dbg(&(wiphy)->dev, format, ##args)
7999 #define wiphy_vdbg(wiphy, format, args...) \
8002 wiphy_printk(KERN_DEBUG, wiphy, format, ##args); \
8012 #define wiphy_WARN(wiphy, format, args...) \
8013 WARN(1, "wiphy: %s\n" format, wiphy_name(wiphy), ##args);
8027 * @wiphy: the wiphy
8029 void cfg80211_bss_flush(struct wiphy *wiphy);