Lines Matching refs:wiphy
63 struct wiphy;
484 bool cfg80211_chandef_usable(struct wiphy *wiphy,
496 int cfg80211_chandef_dfs_required(struct wiphy *wiphy,
897 int cfg80211_check_station_change(struct wiphy *wiphy,
1469 struct wiphy *wiphy; member
1552 struct wiphy *wiphy; member
2453 int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow);
2454 int (*resume)(struct wiphy *wiphy);
2455 void (*set_wakeup)(struct wiphy *wiphy, bool enabled);
2457 struct wireless_dev * (*add_virtual_intf)(struct wiphy *wiphy,
2463 int (*del_virtual_intf)(struct wiphy *wiphy,
2465 int (*change_virtual_intf)(struct wiphy *wiphy,
2470 int (*add_key)(struct wiphy *wiphy, struct net_device *netdev,
2473 int (*get_key)(struct wiphy *wiphy, struct net_device *netdev,
2477 int (*del_key)(struct wiphy *wiphy, struct net_device *netdev,
2479 int (*set_default_key)(struct wiphy *wiphy,
2482 int (*set_default_mgmt_key)(struct wiphy *wiphy,
2486 int (*start_ap)(struct wiphy *wiphy, struct net_device *dev,
2488 int (*change_beacon)(struct wiphy *wiphy, struct net_device *dev,
2490 int (*stop_ap)(struct wiphy *wiphy, struct net_device *dev);
2493 int (*add_station)(struct wiphy *wiphy, struct net_device *dev,
2496 int (*del_station)(struct wiphy *wiphy, struct net_device *dev,
2498 int (*change_station)(struct wiphy *wiphy, struct net_device *dev,
2501 int (*get_station)(struct wiphy *wiphy, struct net_device *dev,
2503 int (*dump_station)(struct wiphy *wiphy, struct net_device *dev,
2506 int (*add_mpath)(struct wiphy *wiphy, struct net_device *dev,
2508 int (*del_mpath)(struct wiphy *wiphy, struct net_device *dev,
2510 int (*change_mpath)(struct wiphy *wiphy, struct net_device *dev,
2512 int (*get_mpath)(struct wiphy *wiphy, struct net_device *dev,
2514 int (*dump_mpath)(struct wiphy *wiphy, struct net_device *dev,
2517 int (*get_mpp)(struct wiphy *wiphy, struct net_device *dev,
2519 int (*dump_mpp)(struct wiphy *wiphy, struct net_device *dev,
2522 int (*get_mesh_config)(struct wiphy *wiphy,
2525 int (*update_mesh_config)(struct wiphy *wiphy,
2528 int (*join_mesh)(struct wiphy *wiphy, struct net_device *dev,
2531 int (*leave_mesh)(struct wiphy *wiphy, struct net_device *dev);
2533 int (*join_ocb)(struct wiphy *wiphy, struct net_device *dev,
2535 int (*leave_ocb)(struct wiphy *wiphy, struct net_device *dev);
2537 int (*change_bss)(struct wiphy *wiphy, struct net_device *dev,
2540 int (*set_txq_params)(struct wiphy *wiphy, struct net_device *dev,
2543 int (*libertas_set_mesh_channel)(struct wiphy *wiphy,
2547 int (*set_monitor_channel)(struct wiphy *wiphy,
2550 int (*scan)(struct wiphy *wiphy,
2553 int (*auth)(struct wiphy *wiphy, struct net_device *dev,
2555 int (*assoc)(struct wiphy *wiphy, struct net_device *dev,
2557 int (*deauth)(struct wiphy *wiphy, struct net_device *dev,
2559 int (*disassoc)(struct wiphy *wiphy, struct net_device *dev,
2562 int (*connect)(struct wiphy *wiphy, struct net_device *dev,
2564 int (*disconnect)(struct wiphy *wiphy, struct net_device *dev,
2567 int (*join_ibss)(struct wiphy *wiphy, struct net_device *dev,
2569 int (*leave_ibss)(struct wiphy *wiphy, struct net_device *dev);
2571 int (*set_mcast_rate)(struct wiphy *wiphy, struct net_device *dev,
2574 int (*set_wiphy_params)(struct wiphy *wiphy, u32 changed);
2576 int (*set_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
2578 int (*get_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
2581 int (*set_wds_peer)(struct wiphy *wiphy, struct net_device *dev,
2584 void (*rfkill_poll)(struct wiphy *wiphy);
2587 int (*testmode_cmd)(struct wiphy *wiphy, struct wireless_dev *wdev,
2589 int (*testmode_dump)(struct wiphy *wiphy, struct sk_buff *skb,
2594 int (*set_bitrate_mask)(struct wiphy *wiphy,
2599 int (*dump_survey)(struct wiphy *wiphy, struct net_device *netdev,
2602 int (*set_pmksa)(struct wiphy *wiphy, struct net_device *netdev,
2604 int (*del_pmksa)(struct wiphy *wiphy, struct net_device *netdev,
2606 int (*flush_pmksa)(struct wiphy *wiphy, struct net_device *netdev);
2608 int (*remain_on_channel)(struct wiphy *wiphy,
2613 int (*cancel_remain_on_channel)(struct wiphy *wiphy,
2617 int (*mgmt_tx)(struct wiphy *wiphy, struct wireless_dev *wdev,
2620 int (*mgmt_tx_cancel_wait)(struct wiphy *wiphy,
2624 int (*set_power_mgmt)(struct wiphy *wiphy, struct net_device *dev,
2627 int (*set_cqm_rssi_config)(struct wiphy *wiphy,
2631 int (*set_cqm_txe_config)(struct wiphy *wiphy,
2635 void (*mgmt_frame_register)(struct wiphy *wiphy,
2639 int (*set_antenna)(struct wiphy *wiphy, u32 tx_ant, u32 rx_ant);
2640 int (*get_antenna)(struct wiphy *wiphy, u32 *tx_ant, u32 *rx_ant);
2642 int (*sched_scan_start)(struct wiphy *wiphy,
2645 int (*sched_scan_stop)(struct wiphy *wiphy, struct net_device *dev);
2647 int (*set_rekey_data)(struct wiphy *wiphy, struct net_device *dev,
2650 int (*tdls_mgmt)(struct wiphy *wiphy, struct net_device *dev,
2654 int (*tdls_oper)(struct wiphy *wiphy, struct net_device *dev,
2657 int (*probe_client)(struct wiphy *wiphy, struct net_device *dev,
2660 int (*set_noack_map)(struct wiphy *wiphy,
2664 int (*get_channel)(struct wiphy *wiphy,
2668 int (*start_p2p_device)(struct wiphy *wiphy,
2670 void (*stop_p2p_device)(struct wiphy *wiphy,
2673 int (*set_mac_acl)(struct wiphy *wiphy, struct net_device *dev,
2676 int (*start_radar_detection)(struct wiphy *wiphy,
2680 int (*update_ft_ies)(struct wiphy *wiphy, struct net_device *dev,
2682 int (*crit_proto_start)(struct wiphy *wiphy,
2686 void (*crit_proto_stop)(struct wiphy *wiphy,
2688 int (*set_coalesce)(struct wiphy *wiphy,
2691 int (*channel_switch)(struct wiphy *wiphy,
2695 int (*set_qos_map)(struct wiphy *wiphy,
2699 int (*set_ap_chanwidth)(struct wiphy *wiphy, struct net_device *dev,
2702 int (*add_tx_ts)(struct wiphy *wiphy, struct net_device *dev,
2705 int (*del_tx_ts)(struct wiphy *wiphy, struct net_device *dev,
2708 int (*tdls_channel_switch)(struct wiphy *wiphy,
2712 void (*tdls_cancel_channel_switch)(struct wiphy *wiphy,
2979 int (*doit)(struct wiphy *wiphy, struct wireless_dev *wdev,
3120 struct wiphy { struct
3200 void (*reg_notifier)(struct wiphy *wiphy, argument
3241 static inline struct net *wiphy_net(struct wiphy *wiphy) in wiphy_net() argument
3243 return read_pnet(&wiphy->_net); in wiphy_net()
3246 static inline void wiphy_net_set(struct wiphy *wiphy, struct net *net) in wiphy_net_set() argument
3248 write_pnet(&wiphy->_net, net); in wiphy_net_set()
3257 static inline void *wiphy_priv(struct wiphy *wiphy) in wiphy_priv() argument
3259 BUG_ON(!wiphy); in wiphy_priv()
3260 return &wiphy->priv; in wiphy_priv()
3269 static inline struct wiphy *priv_to_wiphy(void *priv) in priv_to_wiphy()
3272 return container_of(priv, struct wiphy, priv); in priv_to_wiphy()
3281 static inline void set_wiphy_dev(struct wiphy *wiphy, struct device *dev) in set_wiphy_dev() argument
3283 wiphy->dev.parent = dev; in set_wiphy_dev()
3292 static inline struct device *wiphy_dev(struct wiphy *wiphy) in wiphy_dev() argument
3294 return wiphy->dev.parent; in wiphy_dev()
3303 static inline const char *wiphy_name(const struct wiphy *wiphy) in wiphy_name() argument
3305 return dev_name(&wiphy->dev); in wiphy_name()
3322 struct wiphy *wiphy_new_nm(const struct cfg80211_ops *ops, int sizeof_priv,
3337 static inline struct wiphy *wiphy_new(const struct cfg80211_ops *ops, in wiphy_new()
3350 int wiphy_register(struct wiphy *wiphy);
3361 void wiphy_unregister(struct wiphy *wiphy);
3368 void wiphy_free(struct wiphy *wiphy);
3434 struct wiphy *wiphy; member
3513 return wiphy_priv(wdev->wiphy); in wdev_priv()
3544 struct ieee80211_channel *__ieee80211_get_channel(struct wiphy *wiphy,
3553 ieee80211_get_channel(struct wiphy *wiphy, int freq) in ieee80211_get_channel() argument
3555 return __ieee80211_get_channel(wiphy, freq); in ieee80211_get_channel()
3827 int regulatory_hint(struct wiphy *wiphy, const char *alpha2);
3840 int regulatory_set_wiphy_regd(struct wiphy *wiphy,
3854 int regulatory_set_wiphy_regd_sync_rtnl(struct wiphy *wiphy,
3872 void wiphy_apply_custom_regulatory(struct wiphy *wiphy,
3893 const struct ieee80211_reg_rule *freq_reg_info(struct wiphy *wiphy,
3924 void cfg80211_sched_scan_results(struct wiphy *wiphy);
3935 void cfg80211_sched_scan_stopped(struct wiphy *wiphy);
3947 void cfg80211_sched_scan_stopped_rtnl(struct wiphy *wiphy);
3967 cfg80211_inform_bss_width_frame(struct wiphy *wiphy,
3974 cfg80211_inform_bss_frame(struct wiphy *wiphy, in cfg80211_inform_bss_frame() argument
3979 return cfg80211_inform_bss_width_frame(wiphy, rx_channel, in cfg80211_inform_bss_frame()
4020 cfg80211_inform_bss_width(struct wiphy *wiphy,
4029 cfg80211_inform_bss(struct wiphy *wiphy, in cfg80211_inform_bss() argument
4036 return cfg80211_inform_bss_width(wiphy, rx_channel, in cfg80211_inform_bss()
4043 struct cfg80211_bss *cfg80211_get_bss(struct wiphy *wiphy,
4050 cfg80211_get_ibss(struct wiphy *wiphy, in cfg80211_get_ibss() argument
4054 return cfg80211_get_bss(wiphy, channel, NULL, ssid, ssid_len, in cfg80211_get_ibss()
4066 void cfg80211_ref_bss(struct wiphy *wiphy, struct cfg80211_bss *bss);
4075 void cfg80211_put_bss(struct wiphy *wiphy, struct cfg80211_bss *bss);
4087 void cfg80211_unlink_bss(struct wiphy *wiphy, struct cfg80211_bss *bss);
4257 void wiphy_rfkill_set_hw_state(struct wiphy *wiphy, bool blocked);
4263 void wiphy_rfkill_start_polling(struct wiphy *wiphy);
4269 void wiphy_rfkill_stop_polling(struct wiphy *wiphy);
4291 struct sk_buff *__cfg80211_alloc_reply_skb(struct wiphy *wiphy,
4296 struct sk_buff *__cfg80211_alloc_event_skb(struct wiphy *wiphy,
4329 cfg80211_vendor_cmd_alloc_reply_skb(struct wiphy *wiphy, int approxlen) in cfg80211_vendor_cmd_alloc_reply_skb() argument
4331 return __cfg80211_alloc_reply_skb(wiphy, NL80211_CMD_VENDOR, in cfg80211_vendor_cmd_alloc_reply_skb()
4371 cfg80211_vendor_event_alloc(struct wiphy *wiphy, struct wireless_dev *wdev, in cfg80211_vendor_event_alloc() argument
4374 return __cfg80211_alloc_event_skb(wiphy, wdev, NL80211_CMD_VENDOR, in cfg80211_vendor_event_alloc()
4428 cfg80211_testmode_alloc_reply_skb(struct wiphy *wiphy, int approxlen) in cfg80211_testmode_alloc_reply_skb() argument
4430 return __cfg80211_alloc_reply_skb(wiphy, NL80211_CMD_TESTMODE, in cfg80211_testmode_alloc_reply_skb()
4473 cfg80211_testmode_alloc_event_skb(struct wiphy *wiphy, int approxlen, gfp_t gfp) in cfg80211_testmode_alloc_event_skb() argument
4475 return __cfg80211_alloc_event_skb(wiphy, NULL, NL80211_CMD_TESTMODE, in cfg80211_testmode_alloc_event_skb()
4758 void cfg80211_radar_event(struct wiphy *wiphy,
4852 void cfg80211_report_obss_beacon(struct wiphy *wiphy,
4865 bool cfg80211_reg_can_beacon(struct wiphy *wiphy,
5094 unsigned int ieee80211_get_num_supported_channels(struct wiphy *wiphy);
5113 int cfg80211_check_combinations(struct wiphy *wiphy,
5137 int cfg80211_iter_combinations(struct wiphy *wiphy,
5157 void cfg80211_stop_iface(struct wiphy *wiphy, struct wireless_dev *wdev,
5172 void cfg80211_shutdown_all_interfaces(struct wiphy *wiphy);
5183 static inline void wiphy_ext_feature_set(struct wiphy *wiphy, in wiphy_ext_feature_set() argument
5188 ft_byte = &wiphy->ext_features[ftidx / 8]; in wiphy_ext_feature_set()
5202 wiphy_ext_feature_isset(struct wiphy *wiphy, in wiphy_ext_feature_isset() argument
5207 ft_byte = wiphy->ext_features[ftidx / 8]; in wiphy_ext_feature_isset()
5218 #define wiphy_printk(level, wiphy, format, args...) \ argument
5219 dev_printk(level, &(wiphy)->dev, format, ##args)
5220 #define wiphy_emerg(wiphy, format, args...) \ argument
5221 dev_emerg(&(wiphy)->dev, format, ##args)
5222 #define wiphy_alert(wiphy, format, args...) \ argument
5223 dev_alert(&(wiphy)->dev, format, ##args)
5224 #define wiphy_crit(wiphy, format, args...) \ argument
5225 dev_crit(&(wiphy)->dev, format, ##args)
5226 #define wiphy_err(wiphy, format, args...) \ argument
5227 dev_err(&(wiphy)->dev, format, ##args)
5228 #define wiphy_warn(wiphy, format, args...) \ argument
5229 dev_warn(&(wiphy)->dev, format, ##args)
5230 #define wiphy_notice(wiphy, format, args...) \ argument
5231 dev_notice(&(wiphy)->dev, format, ##args)
5232 #define wiphy_info(wiphy, format, args...) \ argument
5233 dev_info(&(wiphy)->dev, format, ##args)
5235 #define wiphy_debug(wiphy, format, args...) \ argument
5236 wiphy_printk(KERN_DEBUG, wiphy, format, ##args)
5238 #define wiphy_dbg(wiphy, format, args...) \ argument
5239 dev_dbg(&(wiphy)->dev, format, ##args)
5244 #define wiphy_vdbg(wiphy, format, args...) \ argument
5247 wiphy_printk(KERN_DEBUG, wiphy, format, ##args); \
5257 #define wiphy_WARN(wiphy, format, args...) \ argument
5258 WARN(1, "wiphy: %s\n" format, wiphy_name(wiphy), ##args);