Lines Matching refs:wiphy
64 struct wiphy;
485 bool cfg80211_chandef_usable(struct wiphy *wiphy,
497 int cfg80211_chandef_dfs_required(struct wiphy *wiphy,
901 int cfg80211_check_station_change(struct wiphy *wiphy,
1473 struct wiphy *wiphy; member
1573 struct wiphy *wiphy; member
2497 int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow);
2498 int (*resume)(struct wiphy *wiphy);
2499 void (*set_wakeup)(struct wiphy *wiphy, bool enabled);
2501 struct wireless_dev * (*add_virtual_intf)(struct wiphy *wiphy,
2507 int (*del_virtual_intf)(struct wiphy *wiphy,
2509 int (*change_virtual_intf)(struct wiphy *wiphy,
2514 int (*add_key)(struct wiphy *wiphy, struct net_device *netdev,
2517 int (*get_key)(struct wiphy *wiphy, struct net_device *netdev,
2521 int (*del_key)(struct wiphy *wiphy, struct net_device *netdev,
2523 int (*set_default_key)(struct wiphy *wiphy,
2526 int (*set_default_mgmt_key)(struct wiphy *wiphy,
2530 int (*start_ap)(struct wiphy *wiphy, struct net_device *dev,
2532 int (*change_beacon)(struct wiphy *wiphy, struct net_device *dev,
2534 int (*stop_ap)(struct wiphy *wiphy, struct net_device *dev);
2537 int (*add_station)(struct wiphy *wiphy, struct net_device *dev,
2540 int (*del_station)(struct wiphy *wiphy, struct net_device *dev,
2542 int (*change_station)(struct wiphy *wiphy, struct net_device *dev,
2545 int (*get_station)(struct wiphy *wiphy, struct net_device *dev,
2547 int (*dump_station)(struct wiphy *wiphy, struct net_device *dev,
2550 int (*add_mpath)(struct wiphy *wiphy, struct net_device *dev,
2552 int (*del_mpath)(struct wiphy *wiphy, struct net_device *dev,
2554 int (*change_mpath)(struct wiphy *wiphy, struct net_device *dev,
2556 int (*get_mpath)(struct wiphy *wiphy, struct net_device *dev,
2558 int (*dump_mpath)(struct wiphy *wiphy, struct net_device *dev,
2561 int (*get_mpp)(struct wiphy *wiphy, struct net_device *dev,
2563 int (*dump_mpp)(struct wiphy *wiphy, struct net_device *dev,
2566 int (*get_mesh_config)(struct wiphy *wiphy,
2569 int (*update_mesh_config)(struct wiphy *wiphy,
2572 int (*join_mesh)(struct wiphy *wiphy, struct net_device *dev,
2575 int (*leave_mesh)(struct wiphy *wiphy, struct net_device *dev);
2577 int (*join_ocb)(struct wiphy *wiphy, struct net_device *dev,
2579 int (*leave_ocb)(struct wiphy *wiphy, struct net_device *dev);
2581 int (*change_bss)(struct wiphy *wiphy, struct net_device *dev,
2584 int (*set_txq_params)(struct wiphy *wiphy, struct net_device *dev,
2587 int (*libertas_set_mesh_channel)(struct wiphy *wiphy,
2591 int (*set_monitor_channel)(struct wiphy *wiphy,
2594 int (*scan)(struct wiphy *wiphy,
2597 int (*auth)(struct wiphy *wiphy, struct net_device *dev,
2599 int (*assoc)(struct wiphy *wiphy, struct net_device *dev,
2601 int (*deauth)(struct wiphy *wiphy, struct net_device *dev,
2603 int (*disassoc)(struct wiphy *wiphy, struct net_device *dev,
2606 int (*connect)(struct wiphy *wiphy, struct net_device *dev,
2608 int (*disconnect)(struct wiphy *wiphy, struct net_device *dev,
2611 int (*join_ibss)(struct wiphy *wiphy, struct net_device *dev,
2613 int (*leave_ibss)(struct wiphy *wiphy, struct net_device *dev);
2615 int (*set_mcast_rate)(struct wiphy *wiphy, struct net_device *dev,
2618 int (*set_wiphy_params)(struct wiphy *wiphy, u32 changed);
2620 int (*set_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
2622 int (*get_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
2625 int (*set_wds_peer)(struct wiphy *wiphy, struct net_device *dev,
2628 void (*rfkill_poll)(struct wiphy *wiphy);
2631 int (*testmode_cmd)(struct wiphy *wiphy, struct wireless_dev *wdev,
2633 int (*testmode_dump)(struct wiphy *wiphy, struct sk_buff *skb,
2638 int (*set_bitrate_mask)(struct wiphy *wiphy,
2643 int (*dump_survey)(struct wiphy *wiphy, struct net_device *netdev,
2646 int (*set_pmksa)(struct wiphy *wiphy, struct net_device *netdev,
2648 int (*del_pmksa)(struct wiphy *wiphy, struct net_device *netdev,
2650 int (*flush_pmksa)(struct wiphy *wiphy, struct net_device *netdev);
2652 int (*remain_on_channel)(struct wiphy *wiphy,
2657 int (*cancel_remain_on_channel)(struct wiphy *wiphy,
2661 int (*mgmt_tx)(struct wiphy *wiphy, struct wireless_dev *wdev,
2664 int (*mgmt_tx_cancel_wait)(struct wiphy *wiphy,
2668 int (*set_power_mgmt)(struct wiphy *wiphy, struct net_device *dev,
2671 int (*set_cqm_rssi_config)(struct wiphy *wiphy,
2675 int (*set_cqm_txe_config)(struct wiphy *wiphy,
2679 void (*mgmt_frame_register)(struct wiphy *wiphy,
2683 int (*set_antenna)(struct wiphy *wiphy, u32 tx_ant, u32 rx_ant);
2684 int (*get_antenna)(struct wiphy *wiphy, u32 *tx_ant, u32 *rx_ant);
2686 int (*sched_scan_start)(struct wiphy *wiphy,
2689 int (*sched_scan_stop)(struct wiphy *wiphy, struct net_device *dev);
2691 int (*set_rekey_data)(struct wiphy *wiphy, struct net_device *dev,
2694 int (*tdls_mgmt)(struct wiphy *wiphy, struct net_device *dev,
2698 int (*tdls_oper)(struct wiphy *wiphy, struct net_device *dev,
2701 int (*probe_client)(struct wiphy *wiphy, struct net_device *dev,
2704 int (*set_noack_map)(struct wiphy *wiphy,
2708 int (*get_channel)(struct wiphy *wiphy,
2712 int (*start_p2p_device)(struct wiphy *wiphy,
2714 void (*stop_p2p_device)(struct wiphy *wiphy,
2717 int (*set_mac_acl)(struct wiphy *wiphy, struct net_device *dev,
2720 int (*start_radar_detection)(struct wiphy *wiphy,
2724 int (*update_ft_ies)(struct wiphy *wiphy, struct net_device *dev,
2726 int (*crit_proto_start)(struct wiphy *wiphy,
2730 void (*crit_proto_stop)(struct wiphy *wiphy,
2732 int (*set_coalesce)(struct wiphy *wiphy,
2735 int (*channel_switch)(struct wiphy *wiphy,
2739 int (*set_qos_map)(struct wiphy *wiphy,
2743 int (*set_ap_chanwidth)(struct wiphy *wiphy, struct net_device *dev,
2746 int (*add_tx_ts)(struct wiphy *wiphy, struct net_device *dev,
2749 int (*del_tx_ts)(struct wiphy *wiphy, struct net_device *dev,
2752 int (*tdls_channel_switch)(struct wiphy *wiphy,
2756 void (*tdls_cancel_channel_switch)(struct wiphy *wiphy,
3029 int (*doit)(struct wiphy *wiphy, struct wireless_dev *wdev,
3031 int (*dumpit)(struct wiphy *wiphy, struct wireless_dev *wdev,
3179 struct wiphy { struct
3262 void (*reg_notifier)(struct wiphy *wiphy, argument
3303 static inline struct net *wiphy_net(struct wiphy *wiphy) in wiphy_net() argument
3305 return read_pnet(&wiphy->_net); in wiphy_net()
3308 static inline void wiphy_net_set(struct wiphy *wiphy, struct net *net) in wiphy_net_set() argument
3310 write_pnet(&wiphy->_net, net); in wiphy_net_set()
3319 static inline void *wiphy_priv(struct wiphy *wiphy) in wiphy_priv() argument
3321 BUG_ON(!wiphy); in wiphy_priv()
3322 return &wiphy->priv; in wiphy_priv()
3331 static inline struct wiphy *priv_to_wiphy(void *priv) in priv_to_wiphy()
3334 return container_of(priv, struct wiphy, priv); in priv_to_wiphy()
3343 static inline void set_wiphy_dev(struct wiphy *wiphy, struct device *dev) in set_wiphy_dev() argument
3345 wiphy->dev.parent = dev; in set_wiphy_dev()
3354 static inline struct device *wiphy_dev(struct wiphy *wiphy) in wiphy_dev() argument
3356 return wiphy->dev.parent; in wiphy_dev()
3365 static inline const char *wiphy_name(const struct wiphy *wiphy) in wiphy_name() argument
3367 return dev_name(&wiphy->dev); in wiphy_name()
3384 struct wiphy *wiphy_new_nm(const struct cfg80211_ops *ops, int sizeof_priv,
3399 static inline struct wiphy *wiphy_new(const struct cfg80211_ops *ops, in wiphy_new()
3412 int wiphy_register(struct wiphy *wiphy);
3423 void wiphy_unregister(struct wiphy *wiphy);
3430 void wiphy_free(struct wiphy *wiphy);
3496 struct wiphy *wiphy; member
3575 return wiphy_priv(wdev->wiphy); in wdev_priv()
3606 struct ieee80211_channel *__ieee80211_get_channel(struct wiphy *wiphy,
3615 ieee80211_get_channel(struct wiphy *wiphy, int freq) in ieee80211_get_channel() argument
3617 return __ieee80211_get_channel(wiphy, freq); in ieee80211_get_channel()
3889 int regulatory_hint(struct wiphy *wiphy, const char *alpha2);
3902 int regulatory_set_wiphy_regd(struct wiphy *wiphy,
3916 int regulatory_set_wiphy_regd_sync_rtnl(struct wiphy *wiphy,
3934 void wiphy_apply_custom_regulatory(struct wiphy *wiphy,
3955 const struct ieee80211_reg_rule *freq_reg_info(struct wiphy *wiphy,
3986 void cfg80211_sched_scan_results(struct wiphy *wiphy);
3997 void cfg80211_sched_scan_stopped(struct wiphy *wiphy);
4009 void cfg80211_sched_scan_stopped_rtnl(struct wiphy *wiphy);
4026 cfg80211_inform_bss_frame_data(struct wiphy *wiphy,
4032 cfg80211_inform_bss_width_frame(struct wiphy *wiphy, in cfg80211_inform_bss_width_frame() argument
4044 return cfg80211_inform_bss_frame_data(wiphy, &data, mgmt, len, gfp); in cfg80211_inform_bss_width_frame()
4048 cfg80211_inform_bss_frame(struct wiphy *wiphy, in cfg80211_inform_bss_frame() argument
4059 return cfg80211_inform_bss_frame_data(wiphy, &data, mgmt, len, gfp); in cfg80211_inform_bss_frame()
4096 cfg80211_inform_bss_data(struct wiphy *wiphy,
4104 cfg80211_inform_bss_width(struct wiphy *wiphy, in cfg80211_inform_bss_width() argument
4118 return cfg80211_inform_bss_data(wiphy, &data, ftype, bssid, tsf, in cfg80211_inform_bss_width()
4124 cfg80211_inform_bss(struct wiphy *wiphy, in cfg80211_inform_bss() argument
4137 return cfg80211_inform_bss_data(wiphy, &data, ftype, bssid, tsf, in cfg80211_inform_bss()
4142 struct cfg80211_bss *cfg80211_get_bss(struct wiphy *wiphy,
4149 cfg80211_get_ibss(struct wiphy *wiphy, in cfg80211_get_ibss() argument
4153 return cfg80211_get_bss(wiphy, channel, NULL, ssid, ssid_len, in cfg80211_get_ibss()
4165 void cfg80211_ref_bss(struct wiphy *wiphy, struct cfg80211_bss *bss);
4174 void cfg80211_put_bss(struct wiphy *wiphy, struct cfg80211_bss *bss);
4186 void cfg80211_unlink_bss(struct wiphy *wiphy, struct cfg80211_bss *bss);
4356 void wiphy_rfkill_set_hw_state(struct wiphy *wiphy, bool blocked);
4362 void wiphy_rfkill_start_polling(struct wiphy *wiphy);
4368 void wiphy_rfkill_stop_polling(struct wiphy *wiphy);
4390 struct sk_buff *__cfg80211_alloc_reply_skb(struct wiphy *wiphy,
4395 struct sk_buff *__cfg80211_alloc_event_skb(struct wiphy *wiphy,
4428 cfg80211_vendor_cmd_alloc_reply_skb(struct wiphy *wiphy, int approxlen) in cfg80211_vendor_cmd_alloc_reply_skb() argument
4430 return __cfg80211_alloc_reply_skb(wiphy, NL80211_CMD_VENDOR, in cfg80211_vendor_cmd_alloc_reply_skb()
4470 cfg80211_vendor_event_alloc(struct wiphy *wiphy, struct wireless_dev *wdev, in cfg80211_vendor_event_alloc() argument
4473 return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR, in cfg80211_vendor_event_alloc()
4527 cfg80211_testmode_alloc_reply_skb(struct wiphy *wiphy, int approxlen) in cfg80211_testmode_alloc_reply_skb() argument
4529 return __cfg80211_alloc_reply_skb(wiphy, NL80211_CMD_TESTMODE, in cfg80211_testmode_alloc_reply_skb()
4572 cfg80211_testmode_alloc_event_skb(struct wiphy *wiphy, int approxlen, gfp_t gfp) in cfg80211_testmode_alloc_event_skb() argument
4574 return __cfg80211_alloc_event_skb(wiphy, NULL, NL80211_CMD_TESTMODE, in cfg80211_testmode_alloc_event_skb()
4859 void cfg80211_radar_event(struct wiphy *wiphy,
4953 void cfg80211_report_obss_beacon(struct wiphy *wiphy,
4966 bool cfg80211_reg_can_beacon(struct wiphy *wiphy,
4983 bool cfg80211_reg_can_beacon_relax(struct wiphy *wiphy,
5212 unsigned int ieee80211_get_num_supported_channels(struct wiphy *wiphy);
5231 int cfg80211_check_combinations(struct wiphy *wiphy,
5255 int cfg80211_iter_combinations(struct wiphy *wiphy,
5275 void cfg80211_stop_iface(struct wiphy *wiphy, struct wireless_dev *wdev,
5290 void cfg80211_shutdown_all_interfaces(struct wiphy *wiphy);
5301 static inline void wiphy_ext_feature_set(struct wiphy *wiphy, in wiphy_ext_feature_set() argument
5306 ft_byte = &wiphy->ext_features[ftidx / 8]; in wiphy_ext_feature_set()
5320 wiphy_ext_feature_isset(struct wiphy *wiphy, in wiphy_ext_feature_isset() argument
5325 ft_byte = wiphy->ext_features[ftidx / 8]; in wiphy_ext_feature_isset()
5336 #define wiphy_printk(level, wiphy, format, args...) \ argument
5337 dev_printk(level, &(wiphy)->dev, format, ##args)
5338 #define wiphy_emerg(wiphy, format, args...) \ argument
5339 dev_emerg(&(wiphy)->dev, format, ##args)
5340 #define wiphy_alert(wiphy, format, args...) \ argument
5341 dev_alert(&(wiphy)->dev, format, ##args)
5342 #define wiphy_crit(wiphy, format, args...) \ argument
5343 dev_crit(&(wiphy)->dev, format, ##args)
5344 #define wiphy_err(wiphy, format, args...) \ argument
5345 dev_err(&(wiphy)->dev, format, ##args)
5346 #define wiphy_warn(wiphy, format, args...) \ argument
5347 dev_warn(&(wiphy)->dev, format, ##args)
5348 #define wiphy_notice(wiphy, format, args...) \ argument
5349 dev_notice(&(wiphy)->dev, format, ##args)
5350 #define wiphy_info(wiphy, format, args...) \ argument
5351 dev_info(&(wiphy)->dev, format, ##args)
5353 #define wiphy_debug(wiphy, format, args...) \ argument
5354 wiphy_printk(KERN_DEBUG, wiphy, format, ##args)
5356 #define wiphy_dbg(wiphy, format, args...) \ argument
5357 dev_dbg(&(wiphy)->dev, format, ##args)
5362 #define wiphy_vdbg(wiphy, format, args...) \ argument
5365 wiphy_printk(KERN_DEBUG, wiphy, format, ##args); \
5375 #define wiphy_WARN(wiphy, format, args...) \ argument
5376 WARN(1, "wiphy: %s\n" format, wiphy_name(wiphy), ##args);