| /linux/net/wireless/ |
| H A D | rdev-ops.h | 19 trace_rdev_suspend(&rdev->wiphy, wowlan); in rdev_suspend() 20 ret = rdev->ops->suspend(&rdev->wiphy, wowlan); in rdev_suspend() 21 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_suspend() 28 trace_rdev_resume(&rdev->wiphy); in rdev_resume() 29 ret = rdev->ops->resume(&rdev->wiphy); in rdev_resume() 30 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_resume() 37 trace_rdev_set_wakeup(&rdev->wiphy, enabled); in rdev_set_wakeup() 38 rdev->ops->set_wakeup(&rdev->wiphy, enabled); in rdev_set_wakeup() 39 trace_rdev_return_void(&rdev->wiphy); in rdev_set_wakeup() 49 trace_rdev_add_virtual_intf(&rdev->wiphy, name, type); in rdev_add_virtual_intf() [all …]
|
| H A D | core.c | 73 int get_wiphy_idx(struct wiphy *wiphy) in get_wiphy_idx() argument 75 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in get_wiphy_idx() 80 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx) in wiphy_idx_to_wiphy() 89 return &rdev->wiphy; in wiphy_idx_to_wiphy() 120 if (strcmp(newname, wiphy_name(&rdev2->wiphy)) == 0) in cfg80211_dev_check_name() 132 lockdep_assert_wiphy(&rdev->wiphy); in cfg80211_dev_rename() 135 if (strcmp(newname, wiphy_name(&rdev->wiphy)) == 0) in cfg80211_dev_rename() 142 result = device_rename(&rdev->wiphy.dev, newname); in cfg80211_dev_rename() 146 debugfs_change_name(rdev->wiphy in cfg80211_dev_rename() 268 cfg80211_shutdown_all_interfaces(struct wiphy * wiphy) cfg80211_shutdown_all_interfaces() argument 283 guard(wiphy)(wiphy); cfg80211_shutdown_all_interfaces() local 365 cfg80211_sched_scan_stop_wk(struct wiphy * wiphy,struct wiphy_work * work) cfg80211_sched_scan_stop_wk() argument 600 wiphy_verify_iface_combinations(struct wiphy * wiphy,const struct ieee80211_iface_combination * iface_comb,int n_iface_comb,bool combined_radio) wiphy_verify_iface_combinations() argument 705 wiphy_verify_combinations(struct wiphy * wiphy) wiphy_verify_combinations() argument 733 wiphy_register(struct wiphy * wiphy) wiphy_register() argument 1100 wiphy_rfkill_start_polling(struct wiphy * wiphy) wiphy_rfkill_start_polling() argument 1142 wiphy_unregister(struct wiphy * wiphy) wiphy_unregister() argument 1241 wiphy_free(struct wiphy * wiphy) wiphy_free() argument 1248 wiphy_rfkill_set_hw_state_reason(struct wiphy * wiphy,bool blocked,enum rfkill_hard_block_reasons reason) wiphy_rfkill_set_hw_state_reason() argument 1408 cfg80211_stop_iface(struct wiphy * wiphy,struct wireless_dev * wdev,gfp_t gfp) cfg80211_stop_iface() argument 1680 wiphy_work_queue(struct wiphy * wiphy,struct wiphy_work * work) wiphy_work_queue() argument 1696 wiphy_work_cancel(struct wiphy * wiphy,struct wiphy_work * work) wiphy_work_cancel() argument 1712 wiphy_work_flush(struct wiphy * wiphy,struct wiphy_work * work) wiphy_work_flush() argument 1737 wiphy_delayed_work_queue(struct wiphy * wiphy,struct wiphy_delayed_work * dwork,unsigned long delay) wiphy_delayed_work_queue() argument 1754 wiphy_delayed_work_cancel(struct wiphy * wiphy,struct wiphy_delayed_work * dwork) wiphy_delayed_work_cancel() argument 1764 wiphy_delayed_work_flush(struct wiphy * wiphy,struct wiphy_delayed_work * dwork) wiphy_delayed_work_flush() argument 1774 wiphy_delayed_work_pending(struct wiphy * wiphy,struct wiphy_delayed_work * dwork) wiphy_delayed_work_pending() argument [all...] |
| H A D | trace.h | 30 #define WIPHY_ASSIGN strscpy(__entry->wiphy_name, wiphy_name(wiphy), MAXNAME) 246 * wiphy work traces * 250 TP_PROTO(struct wiphy *wiphy, struct wiphy_work *work), 251 TP_ARGS(wiphy, work), 267 TP_PROTO(struct wiphy *wiphy, struct wiphy_work *work), 268 TP_ARGS(wiphy, work) 272 TP_PROTO(struct wiphy *wiphy, struc [all...] |
| H A D | debugfs.c | 18 struct wiphy *wiphy = file->private_data; \ 33 wiphy->rts_threshold); 35 wiphy->frag_threshold); 37 wiphy->retry_short); 39 wiphy->retry_long); 67 struct wiphy *wiphy = file->private_data; in ht40allow_map_read() local 79 sband = wiphy->bands[band]; in ht40allow_map_read() 101 debugfs_create_file(#name, 0444, phyd, &rdev->wiphy, &name## _ops) 105 struct dentry *phyd = rdev->wiphy.debugfsdir; in cfg80211_debugfs_rdev_add() 116 ssize_t (*handler)(struct wiphy *wiphy, [all …]
|
| H A D | sysfs.c | 3 * This file provides /sys/class/ieee80211/<wiphy name>/ 24 return container_of(dev, struct cfg80211_registered_device, wiphy.dev); in dev_to_rdev() 37 SHOW_FMT(macaddress, "%pM", wiphy.perm_addr); 38 SHOW_FMT(address_mask, "%pM", wiphy.addr_mask); 44 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy; in name_show() local 46 return sprintf(buf, "%s\n", wiphy_name(wiphy)); in name_show() 54 struct wiphy *wiphy in addresses_show() local 159 struct wiphy *wiphy = container_of(d, struct wiphy, dev); wiphy_namespace() local [all...] |
| H A D | reg.c | 30 * registering those channels in the wiphy structure. 146 * Returns the regulatory domain associated with the wiphy. 148 * Requires any of RTNL, wiphy mutex or RCU protection. 150 const struct ieee80211_regdomain *get_wiphy_regdom(struct wiphy *wiphy) in get_wiphy_regdom() argument 152 return rcu_dereference_check(wiphy->regd, in get_wiphy_regdom() 153 lockdep_is_held(&wiphy->mtx) || in get_wiphy_regdom() 173 enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy) in reg_get_dfs_region() argument 183 if (!wiphy) in reg_get_dfs_region() 1145 reg_get_regdomain(struct wiphy * wiphy) reg_get_regdomain() argument 1650 __freq_reg_info(struct wiphy * wiphy,u32 center_freq,u32 min_bw) __freq_reg_info() argument 1667 freq_reg_info(struct wiphy * wiphy,u32 center_freq) freq_reg_info() argument 1776 handle_channel_single_rule(struct wiphy * wiphy,enum nl80211_reg_initiator initiator,struct ieee80211_channel * chan,u32 flags,struct regulatory_request * lr,struct wiphy * request_wiphy,const struct ieee80211_reg_rule * reg_rule) handle_channel_single_rule() argument 1855 handle_channel_adjacent_rules(struct wiphy * wiphy,enum nl80211_reg_initiator initiator,struct ieee80211_channel * chan,u32 flags,struct regulatory_request * lr,struct wiphy * request_wiphy,const struct ieee80211_reg_rule * rrule1,const struct ieee80211_reg_rule * rrule2,struct ieee80211_freq_range * comb_range) handle_channel_adjacent_rules() argument 1975 handle_channel(struct wiphy * wiphy,enum nl80211_reg_initiator initiator,struct ieee80211_channel * chan) handle_channel() argument 2059 handle_band(struct wiphy * wiphy,enum nl80211_reg_initiator initiator,struct ieee80211_supported_band * sband) handle_band() argument 2102 reg_dev_ignore_cell_hint(struct wiphy * wiphy) reg_dev_ignore_cell_hint() argument 2113 reg_dev_ignore_cell_hint(struct wiphy * wiphy) reg_dev_ignore_cell_hint() argument 2119 wiphy_strict_alpha2_regd(struct wiphy * wiphy) wiphy_strict_alpha2_regd() argument 2127 ignore_reg_update(struct wiphy * wiphy,enum nl80211_reg_initiator initiator) ignore_reg_update() argument 2166 reg_is_world_roaming(struct wiphy * wiphy) reg_is_world_roaming() argument 2182 reg_call_notifier(struct wiphy * wiphy,struct regulatory_request * request) reg_call_notifier() argument 2189 handle_reg_beacon(struct wiphy * wiphy,unsigned int chan_idx,struct reg_beacon * reg_beacon) handle_reg_beacon() argument 2233 wiphy_update_new_beacon(struct wiphy * wiphy,struct reg_beacon * reg_beacon) wiphy_update_new_beacon() argument 2251 wiphy_update_beacon_reg(struct wiphy * wiphy) wiphy_update_beacon_reg() argument 2267 reg_process_beacons(struct wiphy * wiphy) reg_process_beacons() argument 2290 reg_process_ht_flags_channel(struct wiphy * wiphy,struct ieee80211_channel * channel) reg_process_ht_flags_channel() argument 2346 reg_process_ht_flags_band(struct wiphy * wiphy,struct ieee80211_supported_band * sband) reg_process_ht_flags_band() argument 2358 reg_process_ht_flags(struct wiphy * wiphy) reg_process_ht_flags() argument 2369 reg_wdev_chan_valid(struct wiphy * wiphy,struct wireless_dev * wdev) reg_wdev_chan_valid() argument 2466 reg_leave_invalid_chans(struct wiphy * wiphy) reg_leave_invalid_chans() argument 2471 guard(wiphy)(wiphy); reg_leave_invalid_chans() local 2502 wiphy_update_regulatory(struct wiphy * wiphy,enum nl80211_reg_initiator initiator) wiphy_update_regulatory() argument 2535 struct wiphy *wiphy; update_all_wiphy_regulatory() local 2547 handle_channel_custom(struct wiphy * wiphy,struct ieee80211_channel * chan,const struct ieee80211_regdomain * regd,u32 min_bw) handle_channel_custom() argument 2607 handle_band_custom(struct wiphy * wiphy,struct ieee80211_supported_band * sband,const struct ieee80211_regdomain * regd) handle_band_custom() argument 2627 wiphy_apply_custom_regulatory(struct wiphy * wiphy,const struct ieee80211_regdomain * regd) wiphy_apply_custom_regulatory() argument 2808 reg_process_hint_driver(struct wiphy * wiphy,struct regulatory_request * driver_request) reg_process_hint_driver() argument 2860 __reg_process_hint_country_ie(struct wiphy * wiphy,struct regulatory_request * country_ie_request) __reg_process_hint_country_ie() argument 2912 reg_process_hint_country_ie(struct wiphy * wiphy,struct regulatory_request * country_ie_request) reg_process_hint_country_ie() argument 3016 wiphy_all_share_dfs_chan_state(struct wiphy * wiphy) wiphy_all_share_dfs_chan_state() argument 3032 struct wiphy *wiphy = NULL; reg_process_hint() local 3086 struct wiphy *wiphy; notify_self_managed_wiphys() local 3163 reg_process_self_managed_hint(struct wiphy * wiphy) reg_process_self_managed_hint() argument 3333 regulatory_hint(struct wiphy * wiphy,const char * alpha2) regulatory_hint() argument 3361 regulatory_hint_country_ie(struct wiphy * wiphy,enum nl80211_band band,const u8 * country_ie,u8 country_ie_len) regulatory_hint_country_ie() argument 3458 restore_custom_reg_settings(struct wiphy * wiphy) restore_custom_reg_settings() argument 3668 regulatory_hint_found_beacon(struct wiphy * wiphy,struct ieee80211_channel * beacon_chan,gfp_t gfp) regulatory_hint_found_beacon() argument 4031 __regulatory_set_wiphy_regd(struct wiphy * wiphy,struct ieee80211_regdomain * rd) __regulatory_set_wiphy_regd() argument 4067 regulatory_set_wiphy_regd(struct wiphy * wiphy,struct ieee80211_regdomain * rd) regulatory_set_wiphy_regd() argument 4080 regulatory_set_wiphy_regd_sync(struct wiphy * wiphy,struct ieee80211_regdomain * rd) regulatory_set_wiphy_regd_sync() argument 4098 wiphy_regulatory_register(struct wiphy * wiphy) wiphy_regulatory_register() argument 4124 wiphy_regulatory_deregister(struct wiphy * wiphy) wiphy_regulatory_deregister() argument 4198 regulatory_pre_cac_allowed(struct wiphy * wiphy) regulatory_pre_cac_allowed() argument 4260 regulatory_propagate_dfs_state(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,enum nl80211_dfs_state dfs_state,enum nl80211_radar_event event) regulatory_propagate_dfs_state() argument [all...] |
| H A D | mlme.c | 28 struct wiphy *wiphy = wdev->wiphy; in cfg80211_rx_assoc_resp() local 29 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_rx_assoc_resp() 89 cfg80211_put_bss(wiphy, bss); in cfg80211_rx_assoc_resp() 103 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_auth() 113 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_deauth() 132 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_disassoc() 154 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_rx_mlme_mgmt() 173 struct wiphy *wiphy = wdev->wiphy; in cfg80211_auth_timeout() local 174 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_auth_timeout() 187 struct wiphy *wiphy = wdev->wiphy; in cfg80211_assoc_failure() local [all …]
|
| H A D | wext-compat.c | 43 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwmode() 64 guard(wiphy)(wdev->wiphy); in cfg80211_wext_siwmode() 136 switch (wdev->wiphy->signal_type) { in cfg80211_wext_giwrange() 160 for (i = 0; i < wdev->wiphy->n_cipher_suites; i++) { in cfg80211_wext_giwrange() 161 switch (wdev->wiphy->cipher_suites[i]) { in cfg80211_wext_giwrange() 187 sband = wdev->wiphy->bands[band]; in cfg80211_wext_giwrange() 212 if (wdev->wiphy->max_scan_ssids > 0) in cfg80211_wext_giwrange() 254 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwrts() 255 u32 orts = wdev->wiphy->rts_threshold; in cfg80211_wext_siwrts() 258 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwrts() [all …]
|
| H A D | reg.h | 34 enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy); 53 void wiphy_regulatory_register(struct wiphy *wiphy); 54 void wiphy_regulatory_deregister(struct wiphy *wiphy); 69 * @wiphy: the wireless device where the beacon was found on 83 * set the wiphy->disable_beacon_hints to true. 85 void regulatory_hint_found_beacon(struct wiphy *wiphy, 91 * @wiphy: the wireless device giving the hint (used only for reporting 110 void regulatory_hint_country_ie(struct wiphy *wiphy, 160 * @wiphy: wiphy on which radar is detected and the event will be propagated 168 void regulatory_propagate_dfs_state(struct wiphy *wiphy, [all …]
|
| H A D | chan.c | 621 void cfg80211_set_dfs_state(struct wiphy *wiphy, in cfg80211_chandef_compatible() 636 c = ieee80211_get_channel_khz(wiphy, freq); in cfg80211_set_dfs_state() 687 static bool cfg80211_dfs_permissive_chan(struct wiphy *wiphy, 692 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_dfs_permissive_chan() 694 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_dfs_permissive_chan() 696 if (!wiphy_ext_feature_isset(&rdev->wiphy, in cfg80211_dfs_permissive_chan() 708 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in cfg80211_dfs_permissive_chan() 718 static int cfg80211_get_chans_dfs_required(struct wiphy *wiph in cfg80211_dfs_permissive_chan() 625 cfg80211_set_dfs_state(struct wiphy * wiphy,const struct cfg80211_chan_def * chandef,enum nl80211_dfs_state dfs_state) cfg80211_set_dfs_state() argument 691 cfg80211_dfs_permissive_chan(struct wiphy * wiphy,enum nl80211_iftype iftype,struct ieee80211_channel * chan) cfg80211_dfs_permissive_chan() argument 722 cfg80211_get_chans_dfs_required(struct wiphy * wiphy,const struct cfg80211_chan_def * chandef,enum nl80211_iftype iftype) cfg80211_get_chans_dfs_required() argument 742 cfg80211_chandef_dfs_required(struct wiphy * wiphy,const struct cfg80211_chan_def * chandef,enum nl80211_iftype iftype) cfg80211_chandef_dfs_required() argument 783 cfg80211_chandef_dfs_usable(struct wiphy * wiphy,const struct cfg80211_chan_def * chandef) cfg80211_chandef_dfs_usable() argument 933 cfg80211_is_wiphy_oper_chan(struct wiphy * wiphy,struct ieee80211_channel * chan) cfg80211_is_wiphy_oper_chan() argument 965 cfg80211_any_wiphy_oper_chan(struct wiphy * wiphy,struct ieee80211_channel * chan) cfg80211_any_wiphy_oper_chan() argument 993 cfg80211_chandef_dfs_available(struct wiphy * wiphy,const struct cfg80211_chan_def * chandef) cfg80211_chandef_dfs_available() argument 1033 cfg80211_chandef_dfs_cac_time(struct wiphy * wiphy,const struct cfg80211_chan_def * chandef) cfg80211_chandef_dfs_cac_time() argument 1081 cfg80211_edmg_usable(struct wiphy * wiphy,u8 edmg_channels,enum ieee80211_edmg_bw_config edmg_bw_config,int primary_channel,struct ieee80211_edmg * edmg_cap) cfg80211_edmg_usable() argument 1133 _cfg80211_chandef_usable(struct wiphy * wiphy,const struct cfg80211_chan_def * chandef,u32 prohibited_flags,u32 permitting_flags) _cfg80211_chandef_usable() argument 1309 cfg80211_chandef_usable(struct wiphy * wiphy,const struct cfg80211_chan_def * chandef,u32 prohibited_flags) cfg80211_chandef_usable() argument 1388 cfg80211_ir_permissive_chan(struct wiphy * wiphy,enum nl80211_iftype iftype,struct ieee80211_channel * chan) cfg80211_ir_permissive_chan() argument 1432 _cfg80211_reg_can_beacon(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,enum nl80211_iftype iftype,u32 prohibited_flags,u32 permitting_flags) _cfg80211_reg_can_beacon() argument 1472 cfg80211_reg_check_beaconing(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,struct cfg80211_beaconing_check_config * cfg) cfg80211_reg_check_beaconing() argument 1519 cfg80211_any_usable_channels(struct wiphy * wiphy,unsigned long sband_mask,u32 prohibited_flags) cfg80211_any_usable_channels() argument [all...] |
| H A D | core.h | 49 * domain as the wiphy's. Only used for %REGULATORY_WIPHY_SELF_MANAGED 58 /* wiphy index, internal only */ 126 struct wiphy wiphy __aligned(NETDEV_ALIGN); 130 struct cfg80211_registered_device *wiphy_to_rdev(struct wiphy *wiphy) in wiphy_to_rdev() argument 132 BUG_ON(!wiphy); in wiphy_to_rdev() 133 return container_of(wiphy, struct cfg80211_registered_device, wiphy); in wiphy_to_rdev() 142 if (!rdev->wiphy.wowlan_config) in cfg80211_rdev_free_wowlan() 144 for (i = 0; i < rdev->wiphy.wowlan_config->n_patterns; i++) in cfg80211_rdev_free_wowlan() 145 kfree(rdev->wiphy.wowlan_config->patterns[i].mask); in cfg80211_rdev_free_wowlan() 146 kfree(rdev->wiphy.wowlan_config->patterns); in cfg80211_rdev_free_wowlan() [all …]
|
| H A D | sme.c | 66 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_conn_scan() 70 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_conn_scan() 78 n_channels = ieee80211_get_num_supported_channels(wdev->wiphy); in cfg80211_conn_scan() 89 wdev->wiphy->bands[band]; in cfg80211_conn_scan() 104 bands = wdev->wiphy->bands[band]; in cfg80211_conn_scan() 129 request->req.wiphy = &rdev->wiphy; in cfg80211_conn_scan() 149 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_conn_do_work() 155 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_conn_do_work() 176 auth_req.bss = cfg80211_get_bss(&rdev->wiphy, params->channel, in cfg80211_conn_do_work() 183 cfg80211_put_bss(&rdev->wiphy, auth_req.bss); in cfg80211_conn_do_work() [all …]
|
| H A D | nl80211.c | 90 lockdep_assert_held(&rdev->wiphy.mtx); in __cfg80211_wdev_from_attrs() 92 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in __cfg80211_wdev_from_attrs() 112 if (wiphy_net(&rdev->wiphy) != netns) in __cfg80211_wdev_from_attrs() 118 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in __cfg80211_wdev_from_attrs() 164 list_for_each_entry(wdev, &tmp->wiphy.wdev_list, list) { in __cfg80211_rdev_from_attrs() 187 netdev->ieee80211_ptr->wiphy); in __cfg80211_rdev_from_attrs() 206 if (netns != wiphy_net(&rdev->wiphy)) in __cfg80211_rdev_from_attrs() 1119 *rdev = wiphy_to_rdev((*wdev)->wiphy); in nl80211_prepare_wdev_dump() 1120 mutex_lock(&(*rdev)->wiphy.mtx); in nl80211_prepare_wdev_dump() 1127 struct wiphy *wiphy; in nl80211_prepare_wdev_dump() local [all …]
|
| /linux/drivers/net/wireless/quantenna/qtnfmac/ |
| H A D | cfg80211.c | 74 qtnf_validate_iface_combinations(struct wiphy *wiphy, in qtnf_validate_iface_combinations() argument 86 mac = wiphy_priv(wiphy); in qtnf_validate_iface_combinations() 103 ret = cfg80211_check_combinations(wiphy, ¶ms); in qtnf_validate_iface_combinations() 124 qtnf_change_virtual_intf(struct wiphy *wiphy, in qtnf_change_virtual_intf() argument 134 ret = qtnf_validate_iface_combinations(wiphy, vif, type); in qtnf_change_virtual_intf() 159 int qtnf_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev) in qtnf_del_virtual_intf() argument 196 static struct wireless_dev *qtnf_add_virtual_intf(struct wiphy *wiphy, in qtnf_add_virtual_intf() argument 208 mac = wiphy_priv(wiphy); in qtnf_add_virtual_intf() 213 ret = qtnf_validate_iface_combinations(wiphy, NULL, type); in qtnf_add_virtual_intf() 233 vif->wdev.wiphy = wiphy; in qtnf_add_virtual_intf() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | regd.c | 131 static void _rtl_reg_apply_beaconing_flags(struct wiphy *wiphy, in _rtl_reg_apply_beaconing_flags() argument 142 if (!wiphy->bands[band]) in _rtl_reg_apply_beaconing_flags() 145 sband = wiphy->bands[band]; in _rtl_reg_apply_beaconing_flags() 153 reg_rule = freq_reg_info(wiphy, in _rtl_reg_apply_beaconing_flags() 182 static void _rtl_reg_apply_active_scan_flags(struct wiphy *wiphy, in _rtl_reg_apply_active_scan_flags() argument 190 if (!wiphy->bands[NL80211_BAND_2GHZ]) in _rtl_reg_apply_active_scan_flags() 192 sband = wiphy->bands[NL80211_BAND_2GHZ]; in _rtl_reg_apply_active_scan_flags() 216 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags() 224 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags() 236 static void _rtl_reg_apply_radar_flags(struct wiphy *wiphy) in _rtl_reg_apply_radar_flags() argument [all …]
|
| /linux/drivers/staging/rtl8723bs/os_dep/ |
| H A D | wifi_regd.c | 44 static void _rtw_reg_apply_flags(struct wiphy *wiphy) in _rtw_reg_apply_flags() argument 46 struct adapter *padapter = wiphy_to_adapter(wiphy); in _rtw_reg_apply_flags() 59 sband = wiphy->bands[i]; in _rtw_reg_apply_flags() 75 ch = ieee80211_get_channel(wiphy, freq); in _rtw_reg_apply_flags() 85 static int _rtw_reg_notifier_apply(struct wiphy *wiphy, in _rtw_reg_notifier_apply() argument 90 _rtw_reg_apply_flags(wiphy); in _rtw_reg_notifier_apply() 102 struct wiphy *wiphy, in _rtw_regd_init_wiphy() argument 103 void (*reg_notifier)(struct wiphy *wiphy, in _rtw_regd_init_wiphy() argument 110 wiphy->reg_notifier = reg_notifier; in _rtw_regd_init_wiphy() 112 wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG; in _rtw_regd_init_wiphy() [all …]
|
| /linux/drivers/net/wireless/ath/ |
| H A D | regd.c | 266 static void ath_force_clear_no_ir_chan(struct wiphy *wiphy, in ath_force_clear_no_ir_chan() argument 271 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(ch->center_freq)); in ath_force_clear_no_ir_chan() 280 static void ath_force_clear_no_ir_freq(struct wiphy *wiphy, u16 center_freq) in ath_force_clear_no_ir_freq() argument 284 ch = ieee80211_get_channel(wiphy, center_freq); in ath_force_clear_no_ir_freq() 288 ath_force_clear_no_ir_chan(wiphy, ch); in ath_force_clear_no_ir_freq() 296 static void ath_force_no_ir_freq(struct wiphy *wiphy, u16 center_freq) in ath_force_no_ir_freq() argument 300 ch = ieee80211_get_channel(wiphy, center_freq); in ath_force_no_ir_freq() 308 __ath_reg_apply_beaconing_flags(struct wiphy *wiphy, in __ath_reg_apply_beaconing_flags() argument 319 ath_force_clear_no_ir_chan(wiphy, ch); in __ath_reg_apply_beaconing_flags() 323 ath_force_clear_no_ir_chan(wiphy, ch); in __ath_reg_apply_beaconing_flags() [all …]
|
| /linux/drivers/net/wireless/virtual/ |
| H A D | virt_wifi.c | 18 static struct wiphy *common_wiphy; 142 static void virt_wifi_inform_bss(struct wiphy *wiphy) in virt_wifi_inform_bss() argument 156 informed_bss = cfg80211_inform_bss(wiphy, &channel_5ghz, in virt_wifi_inform_bss() 162 cfg80211_put_bss(wiphy, informed_bss); in virt_wifi_inform_bss() 166 static int virt_wifi_scan(struct wiphy *wiphy, in virt_wifi_scan() argument 169 struct virt_wifi_wiphy_priv *priv = wiphy_priv(wiphy); in virt_wifi_scan() 171 wiphy_debug(wiphy, "scan\n"); in virt_wifi_scan() 188 struct wiphy *wiphy = priv_to_wiphy(priv); in virt_wifi_scan_result() local 191 virt_wifi_inform_bss(wiphy); in virt_wifi_scan_result() 199 static void virt_wifi_cancel_scan(struct wiphy *wiphy) in virt_wifi_cancel_scan() argument [all …]
|
| /linux/include/net/ |
| H A D | cfg80211.h | 50 * The fundamental structure for each device is the 'wiphy', of which each 52 * such wiphy can have zero, one, or many virtual interfaces associated with 60 * Each wiphy structure contains device capability information, and also has 65 struct wiphy; 223 * core code when registering the wiphy. 226 * core code when registering the wiphy. 229 * core code when registering the wiphy. 545 * This structure describes a frequency band a wiphy 710 * @wiphy: the wireless device to get extra limits for 719 * sure to call it only if channels in wiphy ar 732 wiphy_read_of_freq_limits(struct wiphy * wiphy) wiphy_read_of_freq_limits() argument 2811 struct wiphy *wiphy; global() member 2947 struct wiphy *wiphy; global() member 5851 struct wiphy { global() struct 5854 mtxwiphy global() argument 5856 perm_addrwiphy global() argument 5857 addr_maskwiphy global() argument 5859 addresseswiphy global() argument 5861 mgmt_stypeswiphy global() argument 5863 iface_combinationswiphy global() argument 5864 n_iface_combinationswiphy global() argument 5865 software_iftypeswiphy global() argument 5867 n_addresseswiphy global() argument 5870 interface_modeswiphy global() argument 5872 max_acl_mac_addrswiphy global() argument 5874 featureswiphy global() argument 5898 iftype_akm_suiteswiphy global() argument 5911 wowlanwiphy global() argument 5927 iftype_ext_capabwiphy global() argument 5934 reg_notifierwiphy global() argument 5937 radio_cfgwiphy global() argument 5960 coalescewiphy global() argument 5962 vendor_commandswiphy global() argument 5963 vendor_eventswiphy global() argument 5964 n_vendor_eventswiphy global() argument 5966 max_ap_assoc_stawiphy global() argument 5968 max_num_csa_counterswiphy global() argument 5970 bss_select_supportwiphy global() argument 5972 nan_supported_bandswiphy global() argument 5974 txq_limitwiphy global() argument 5975 txq_memory_limitwiphy global() argument 5976 txq_quantumwiphy global() argument 5978 tx_queue_lenwiphy global() argument 6003 radiowiphy global() argument 6008 wiphy_net(struct wiphy * wiphy) wiphy_net() argument 6013 wiphy_net_set(struct wiphy * wiphy,struct net * net) wiphy_net_set() argument 6024 wiphy_priv(struct wiphy * wiphy) wiphy_priv() argument 6048 set_wiphy_dev(struct wiphy * wiphy,struct device * dev) set_wiphy_dev() argument 6059 wiphy_dev(struct wiphy * wiphy) wiphy_dev() argument 6070 wiphy_name(const struct wiphy * wiphy) wiphy_name() argument 6120 lockdep_assert_wiphy(wiphy) global() argument 6130 rcu_dereference_wiphy(wiphy,p) global() argument 6141 wiphy_dereference(wiphy,p) global() argument 6194 wiphy_lock(struct wiphy * wiphy) wiphy_lock() argument 6205 wiphy_unlock(struct wiphy * wiphy) wiphy_unlock() argument 6267 struct wiphy *wiphy; global() member 6460 struct wiphy *wiphy; global() member 6724 ieee80211_get_channel(struct wiphy * wiphy,int freq) ieee80211_get_channel() argument 7491 cfg80211_inform_bss_frame(struct wiphy * wiphy,struct ieee80211_channel * rx_channel,struct ieee80211_mgmt * mgmt,size_t len,s32 signal,gfp_t gfp) cfg80211_inform_bss_frame() argument 7623 cfg80211_inform_bss(struct wiphy * wiphy,struct ieee80211_channel * rx_channel,enum cfg80211_bss_frame_type ftype,const u8 * bssid,u64 tsf,u16 capability,u16 beacon_interval,const u8 * ie,size_t ielen,s32 signal,gfp_t gfp) cfg80211_inform_bss() argument 7676 cfg80211_get_bss(struct wiphy * wiphy,struct ieee80211_channel * channel,const u8 * bssid,const u8 * ssid,size_t ssid_len,enum ieee80211_bss_type bss_type,enum ieee80211_privacy privacy) cfg80211_get_bss() argument 7687 cfg80211_get_ibss(struct wiphy * wiphy,struct ieee80211_channel * channel,const u8 * ssid,size_t ssid_len) cfg80211_get_ibss() argument 7954 wiphy_rfkill_set_hw_state(struct wiphy * wiphy,bool blocked) wiphy_rfkill_set_hw_state() argument 7970 wiphy_rfkill_stop_polling(struct wiphy * wiphy) wiphy_rfkill_stop_polling() argument 8034 cfg80211_vendor_cmd_alloc_reply_skb(struct wiphy * wiphy,int approxlen) cfg80211_vendor_cmd_alloc_reply_skb() argument 8086 cfg80211_vendor_event_alloc(struct wiphy * wiphy,struct wireless_dev * wdev,int approxlen,int event_idx,gfp_t gfp) cfg80211_vendor_event_alloc() argument 8119 cfg80211_vendor_event_alloc_ucast(struct wiphy * wiphy,struct wireless_dev * wdev,unsigned int portid,int approxlen,int event_idx,gfp_t gfp) cfg80211_vendor_event_alloc_ucast() argument 8178 cfg80211_testmode_alloc_reply_skb(struct wiphy * wiphy,int approxlen) cfg80211_testmode_alloc_reply_skb() argument 8223 cfg80211_testmode_alloc_event_skb(struct wiphy * wiphy,int approxlen,gfp_t gfp) cfg80211_testmode_alloc_event_skb() argument 8972 cfg80211_radar_event(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,gfp_t gfp) cfg80211_radar_event() argument 8980 cfg80211_background_radar_event(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,gfp_t gfp) cfg80211_background_radar_event() argument 9122 cfg80211_report_obss_beacon(struct wiphy * wiphy,const u8 * frame,size_t len,int freq,int sig_dbm) cfg80211_report_obss_beacon() argument 9168 cfg80211_reg_can_beacon(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,enum nl80211_iftype iftype) cfg80211_reg_can_beacon() argument 9193 cfg80211_reg_can_beacon_relax(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,enum nl80211_iftype iftype) cfg80211_reg_can_beacon_relax() argument 9595 wiphy_ext_feature_set(struct wiphy * wiphy,enum nl80211_ext_feature_index ftidx) wiphy_ext_feature_set() argument 9616 wiphy_ext_feature_isset(struct wiphy * wiphy,enum nl80211_ext_feature_index ftidx) wiphy_ext_feature_isset() argument 9758 wiphy_printk(level,wiphy,format,args...) global() argument 9760 wiphy_emerg(wiphy,format,args...) global() argument 9762 wiphy_alert(wiphy,format,args...) global() argument 9764 wiphy_crit(wiphy,format,args...) global() argument 9766 wiphy_err(wiphy,format,args...) global() argument 9768 wiphy_warn(wiphy,format,args...) global() argument 9770 wiphy_notice(wiphy,format,args...) global() argument 9772 wiphy_info(wiphy,format,args...) global() argument 9774 wiphy_info_once(wiphy,format,args...) global() argument 9777 wiphy_err_ratelimited(wiphy,format,args...) global() argument 9779 wiphy_warn_ratelimited(wiphy,format,args...) global() argument 9782 wiphy_debug(wiphy,format,args...) global() argument 9785 wiphy_dbg(wiphy,format,args...) global() argument 9791 wiphy_vdbg(wiphy,format,args...) global() argument 9804 wiphy_WARN(wiphy,format,args...) global() argument [all...] |
| /linux/net/mac80211/ |
| H A D | main.c | 87 static void ieee80211_reconfig_filter(struct wiphy *wiphy, in ieee80211_reconfig_filter() argument 486 wiphy_lock(local->hw.wiphy); in ieee80211_restart_work() 487 wiphy_work_flush(local->hw.wiphy, NULL); in ieee80211_restart_work() 509 wiphy_work_cancel(local->hw.wiphy, in ieee80211_restart_work() 516 wiphy_delayed_work_flush(local->hw.wiphy, in ieee80211_restart_work() 522 wiphy_delayed_work_flush(local->hw.wiphy, &local->roc_work); in ieee80211_restart_work() 523 wiphy_work_flush(local->hw.wiphy, &local->hw_roc_done); in ieee80211_restart_work() 529 wiphy_unlock(local->hw.wiphy); in ieee80211_restart_work() 532 cfg80211_shutdown_all_interfaces(local->hw.wiphy); in ieee80211_restart_work() 543 wiphy_info(hw->wiphy, in ieee80211_restart_hw() [all …]
|
| H A D | cfg.c | 110 monitor_sdata = wiphy_dereference(local->hw.wiphy, in ieee80211_set_mon_options() 189 static struct wireless_dev *ieee80211_add_iface(struct wiphy *wiphy, in ieee80211_add_iface() argument 195 struct ieee80211_local *local = wiphy_priv(wiphy); in ieee80211_add_iface() 235 static int ieee80211_del_iface(struct wiphy *wiphy, struct wireless_dev *wdev) in ieee80211_del_iface() argument 242 static int ieee80211_change_iface(struct wiphy *wiphy, in ieee80211_change_iface() argument 252 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_change_iface() 293 static int ieee80211_start_p2p_device(struct wiphy *wiph argument 308 ieee80211_stop_p2p_device(struct wiphy * wiphy,struct wireless_dev * wdev) ieee80211_stop_p2p_device() argument 314 ieee80211_start_nan(struct wiphy * wiphy,struct wireless_dev * wdev,struct cfg80211_nan_conf * conf) ieee80211_start_nan() argument 340 ieee80211_stop_nan(struct wiphy * wiphy,struct wireless_dev * wdev) ieee80211_stop_nan() argument 349 ieee80211_nan_change_conf(struct wiphy * wiphy,struct wireless_dev * wdev,struct cfg80211_nan_conf * conf,u32 changes) ieee80211_nan_change_conf() argument 379 ieee80211_add_nan_func(struct wiphy * wiphy,struct wireless_dev * wdev,struct cfg80211_nan_func * nan_func) ieee80211_add_nan_func() argument 434 ieee80211_del_nan_func(struct wiphy * wiphy,struct wireless_dev * wdev,u64 cookie) ieee80211_del_nan_func() argument 457 ieee80211_set_noack_map(struct wiphy * wiphy,struct net_device * dev,u16 noack_map) ieee80211_set_noack_map() argument 498 ieee80211_add_key(struct wiphy * wiphy,struct net_device * dev,int link_id,u8 key_idx,bool pairwise,const u8 * mac_addr,struct key_params * params) ieee80211_add_key() argument 672 ieee80211_del_key(struct wiphy * wiphy,struct net_device * dev,int link_id,u8 key_idx,bool pairwise,const u8 * mac_addr) ieee80211_del_key() argument 691 ieee80211_get_key(struct wiphy * wiphy,struct net_device * dev,int link_id,u8 key_idx,bool pairwise,const u8 * mac_addr,void * cookie,void (* callback)(void * cookie,struct key_params * params)) ieee80211_get_key() argument 793 ieee80211_config_default_key(struct wiphy * wiphy,struct net_device * dev,int link_id,u8 key_idx,bool uni,bool multi) ieee80211_config_default_key() argument 810 ieee80211_config_default_mgmt_key(struct wiphy * wiphy,struct net_device * dev,int link_id,u8 key_idx) ieee80211_config_default_mgmt_key() argument 826 ieee80211_config_default_beacon_key(struct wiphy * wiphy,struct net_device * dev,int link_id,u8 key_idx) ieee80211_config_default_beacon_key() argument 874 ieee80211_dump_station(struct wiphy * wiphy,struct net_device * dev,int idx,u8 * mac,struct station_info * sinfo) ieee80211_dump_station() argument 901 ieee80211_dump_survey(struct wiphy * wiphy,struct net_device * dev,int idx,struct survey_info * survey) ieee80211_dump_survey() argument 909 ieee80211_get_station(struct wiphy * wiphy,struct net_device * dev,const u8 * mac,struct station_info * sinfo) ieee80211_get_station() argument 934 ieee80211_set_monitor_channel(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_chan_def * chandef) ieee80211_set_monitor_channel() argument 1366 ieee80211_start_ap(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ap_settings * params) ieee80211_start_ap() argument 1630 ieee80211_change_beacon(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ap_update * params) ieee80211_change_beacon() argument 1704 ieee80211_stop_ap(struct wiphy * wiphy,struct net_device * dev,unsigned int link_id) ieee80211_stop_ap() argument 2222 ieee80211_add_station(struct wiphy * wiphy,struct net_device * dev,const u8 * mac,struct station_parameters * params) ieee80211_add_station() argument 2294 ieee80211_del_station(struct wiphy * wiphy,struct net_device * dev,struct station_del_parameters * params) ieee80211_del_station() argument 2308 ieee80211_change_station(struct wiphy * wiphy,struct net_device * dev,const u8 * mac,struct station_parameters * params) ieee80211_change_station() argument 2404 ieee80211_add_mpath(struct wiphy * wiphy,struct net_device * dev,const u8 * dst,const u8 * next_hop) ieee80211_add_mpath() argument 2432 ieee80211_del_mpath(struct wiphy * wiphy,struct net_device * dev,const u8 * dst) ieee80211_del_mpath() argument 2444 ieee80211_change_mpath(struct wiphy * wiphy,struct net_device * dev,const u8 * dst,const u8 * next_hop) ieee80211_change_mpath() argument 2519 ieee80211_get_mpath(struct wiphy * wiphy,struct net_device * dev,u8 * dst,u8 * next_hop,struct mpath_info * pinfo) ieee80211_get_mpath() argument 2540 ieee80211_dump_mpath(struct wiphy * wiphy,struct net_device * dev,int idx,u8 * dst,u8 * next_hop,struct mpath_info * pinfo) ieee80211_dump_mpath() argument 2570 ieee80211_get_mpp(struct wiphy * wiphy,struct net_device * dev,u8 * dst,u8 * mpp,struct mpath_info * pinfo) ieee80211_get_mpp() argument 2591 ieee80211_dump_mpp(struct wiphy * wiphy,struct net_device * dev,int idx,u8 * dst,u8 * mpp,struct mpath_info * pinfo) ieee80211_dump_mpp() argument 2612 ieee80211_get_mesh_config(struct wiphy * wiphy,struct net_device * dev,struct mesh_config * conf) ieee80211_get_mesh_config() argument 2685 ieee80211_update_mesh_config(struct wiphy * wiphy,struct net_device * dev,u32 mask,const struct mesh_config * nconf) ieee80211_update_mesh_config() argument 2805 ieee80211_join_mesh(struct wiphy * wiphy,struct net_device * dev,const struct mesh_config * conf,const struct mesh_setup * setup) ieee80211_join_mesh() argument 2835 ieee80211_leave_mesh(struct wiphy * wiphy,struct net_device * dev) ieee80211_leave_mesh() argument 2849 ieee80211_change_bss(struct wiphy * wiphy,struct net_device * dev,struct bss_parameters * params) ieee80211_change_bss() argument 2937 ieee80211_set_txq_params(struct wiphy * wiphy,struct net_device * dev,struct ieee80211_txq_params * params) ieee80211_set_txq_params() argument 2985 ieee80211_suspend(struct wiphy * wiphy,struct cfg80211_wowlan * wowlan) ieee80211_suspend() argument 2991 ieee80211_resume(struct wiphy * wiphy) ieee80211_resume() argument 3000 ieee80211_scan(struct wiphy * wiphy,struct cfg80211_scan_request * req) ieee80211_scan() argument 3044 ieee80211_abort_scan(struct wiphy * wiphy,struct wireless_dev * wdev) ieee80211_abort_scan() argument 3050 ieee80211_sched_scan_start(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_sched_scan_request * req) ieee80211_sched_scan_start() argument 3063 ieee80211_sched_scan_stop(struct wiphy * wiphy,struct net_device * dev,u64 reqid) ieee80211_sched_scan_stop() argument 3074 ieee80211_auth(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_auth_request * req) ieee80211_auth() argument 3080 ieee80211_assoc(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_assoc_request * req) ieee80211_assoc() argument 3086 ieee80211_deauth(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_deauth_request * req) ieee80211_deauth() argument 3092 ieee80211_disassoc(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_disassoc_request * req) ieee80211_disassoc() argument 3098 ieee80211_join_ibss(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ibss_params * params) ieee80211_join_ibss() argument 3104 ieee80211_leave_ibss(struct wiphy * wiphy,struct net_device * dev) ieee80211_leave_ibss() argument 3109 ieee80211_join_ocb(struct wiphy * wiphy,struct net_device * dev,struct ocb_setup * setup) ieee80211_join_ocb() argument 3115 ieee80211_leave_ocb(struct wiphy * wiphy,struct net_device * dev) ieee80211_leave_ocb() argument 3120 ieee80211_set_mcast_rate(struct wiphy * wiphy,struct net_device * dev,int rate[NUM_NL80211_BANDS]) ieee80211_set_mcast_rate() argument 3135 ieee80211_set_wiphy_params(struct wiphy * wiphy,int radio_idx,u32 changed) ieee80211_set_wiphy_params() argument 3204 ieee80211_set_tx_power(struct wiphy * wiphy,struct wireless_dev * wdev,int radio_idx,enum nl80211_tx_power_setting type,int mbm) ieee80211_set_tx_power() argument 3331 ieee80211_get_tx_power(struct wiphy * wiphy,struct wireless_dev * wdev,int radio_idx,unsigned int link_id,int * dbm) ieee80211_get_tx_power() argument 3363 ieee80211_rfkill_poll(struct wiphy * wiphy) ieee80211_rfkill_poll() argument 3371 ieee80211_testmode_cmd(struct wiphy * wiphy,struct wireless_dev * wdev,void * data,int len) ieee80211_testmode_cmd() argument 3392 ieee80211_testmode_dump(struct wiphy * wiphy,struct sk_buff * skb,struct netlink_callback * cb,void * data,int len) ieee80211_testmode_dump() argument 3479 ieee80211_set_power_mgmt(struct wiphy * wiphy,struct net_device * dev,bool enabled,int timeout) ieee80211_set_power_mgmt() argument 3552 ieee80211_set_cqm_rssi_config(struct wiphy * wiphy,struct net_device * dev,s32 rssi_thold,u32 rssi_hyst) ieee80211_set_cqm_rssi_config() argument 3576 ieee80211_set_cqm_rssi_range_config(struct wiphy * wiphy,struct net_device * dev,s32 rssi_low,s32 rssi_high) ieee80211_set_cqm_rssi_range_config() argument 3599 ieee80211_set_bitrate_mask(struct wiphy * wiphy,struct net_device * dev,unsigned int link_id,const u8 * addr,const struct cfg80211_bitrate_mask * mask) ieee80211_set_bitrate_mask() argument 3669 ieee80211_is_scan_ongoing(struct wiphy * wiphy,struct ieee80211_local * local,struct cfg80211_chan_def * chandef) ieee80211_is_scan_ongoing() argument 3719 ieee80211_start_radar_detection(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_chan_def * chandef,u32 cac_time_ms,int link_id) ieee80211_start_radar_detection() argument 3754 ieee80211_end_cac(struct wiphy * wiphy,struct net_device * dev,unsigned int link_id) ieee80211_end_cac() argument 4043 ieee80211_csa_finalize_work(struct wiphy * wiphy,struct wiphy_work * work) ieee80211_csa_finalize_work() argument 4205 __ieee80211_channel_switch(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_csa_settings * params) __ieee80211_channel_switch() argument 4321 ieee80211_channel_switch(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_csa_settings * params) ieee80211_channel_switch() argument 4376 ieee80211_update_mgmt_frame_registrations(struct wiphy * wiphy,struct wireless_dev * wdev,struct mgmt_frame_regs * upd) ieee80211_update_mgmt_frame_registrations() argument 4414 ieee80211_set_antenna(struct wiphy * wiphy,int radio_idx,u32 tx_ant,u32 rx_ant) ieee80211_set_antenna() argument 4431 ieee80211_get_antenna(struct wiphy * wiphy,int radio_idx,u32 * tx_ant,u32 * rx_ant) ieee80211_get_antenna() argument 4439 ieee80211_set_rekey_data(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_gtk_rekey_data * data) ieee80211_set_rekey_data() argument 4454 ieee80211_probe_client(struct wiphy * wiphy,struct net_device * dev,const u8 * peer,u64 * cookie) ieee80211_probe_client() argument 4546 ieee80211_cfg_get_channel(struct wiphy * wiphy,struct wireless_dev * wdev,unsigned int link_id,struct cfg80211_chan_def * chandef) ieee80211_cfg_get_channel() argument 4581 ieee80211_set_wakeup(struct wiphy * wiphy,bool enabled) ieee80211_set_wakeup() argument 4587 ieee80211_set_qos_map(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_qos_map * qos_map) ieee80211_set_qos_map() argument 4612 ieee80211_set_ap_chanwidth(struct wiphy * wiphy,struct net_device * dev,unsigned int link_id,struct cfg80211_chan_def * chandef) ieee80211_set_ap_chanwidth() argument 4632 ieee80211_add_tx_ts(struct wiphy * wiphy,struct net_device * dev,u8 tsid,const u8 * peer,u8 up,u16 admitted_time) ieee80211_add_tx_ts() argument 4658 ieee80211_del_tx_ts(struct wiphy * wiphy,struct net_device * dev,u8 tsid,const u8 * peer) ieee80211_del_tx_ts() argument 4759 ieee80211_set_multicast_to_unicast(struct wiphy * wiphy,struct net_device * dev,const bool enabled) ieee80211_set_multicast_to_unicast() argument 4819 ieee80211_get_txq_stats(struct wiphy * wiphy,struct wireless_dev * wdev,struct cfg80211_txq_stats * txqstats) ieee80211_get_txq_stats() argument 4861 ieee80211_get_ftm_responder_stats(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ftm_responder_stats * ftm_stats) ieee80211_get_ftm_responder_stats() argument 4872 ieee80211_start_pmsr(struct wiphy * wiphy,struct wireless_dev * dev,struct cfg80211_pmsr_request * request) ieee80211_start_pmsr() argument 4882 ieee80211_abort_pmsr(struct wiphy * wiphy,struct wireless_dev * dev,struct cfg80211_pmsr_request * request) ieee80211_abort_pmsr() argument 4891 ieee80211_set_tid_config(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_tid_config * tid_conf) ieee80211_set_tid_config() argument 4913 ieee80211_reset_tid_config(struct wiphy * wiphy,struct net_device * dev,const u8 * peer,u8 tids) ieee80211_reset_tid_config() argument 4935 ieee80211_set_sar_specs(struct wiphy * wiphy,struct cfg80211_sar_specs * sar) ieee80211_set_sar_specs() argument 5073 ieee80211_color_change_finalize_work(struct wiphy * wiphy,struct wiphy_work * work) ieee80211_color_change_finalize_work() argument 5095 ieee80211_color_collision_detection_work(struct wiphy * wiphy,struct wiphy_work * work) ieee80211_color_collision_detection_work() argument 5172 ieee80211_color_change(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_color_change_settings * params) ieee80211_color_change() argument 5232 ieee80211_set_radar_background(struct wiphy * wiphy,struct cfg80211_chan_def * chandef) ieee80211_set_radar_background() argument 5243 ieee80211_add_intf_link(struct wiphy * wiphy,struct wireless_dev * wdev,unsigned int link_id) ieee80211_add_intf_link() argument 5257 ieee80211_del_intf_link(struct wiphy * wiphy,struct wireless_dev * wdev,unsigned int link_id) ieee80211_del_intf_link() argument 5275 ieee80211_add_link_station(struct wiphy * wiphy,struct net_device * dev,struct link_station_parameters * params) ieee80211_add_link_station() argument 5317 ieee80211_mod_link_station(struct wiphy * wiphy,struct net_device * dev,struct link_station_parameters * params) ieee80211_mod_link_station() argument 5338 ieee80211_del_link_station(struct wiphy * wiphy,struct net_device * dev,struct link_station_del_parameters * params) ieee80211_del_link_station() argument 5362 ieee80211_set_hw_timestamp(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_set_hw_timestamp * hwts) ieee80211_set_hw_timestamp() argument 5379 ieee80211_set_ttlm(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ttlm_params * params) ieee80211_set_ttlm() argument 5390 ieee80211_assoc_ml_reconf(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ml_reconf_req * req) ieee80211_assoc_ml_reconf() argument 5401 ieee80211_set_epcs(struct wiphy * wiphy,struct net_device * dev,bool enable) ieee80211_set_epcs() argument [all...] |
| H A D | driver-ops.h | 45 lockdep_assert_wiphy(local->hw.wiphy); in drv_sync_rx_queues() 101 lockdep_assert_wiphy(local->hw.wiphy); in drv_suspend() 114 lockdep_assert_wiphy(local->hw.wiphy); in drv_resume() 126 lockdep_assert_wiphy(local->hw.wiphy); in drv_set_wakeup() 153 lockdep_assert_wiphy(local->hw.wiphy); in drv_config() 166 lockdep_assert_wiphy(local->hw.wiphy); in drv_vif_cfg_changed() 206 lockdep_assert_wiphy(local->hw.wiphy); in drv_configure_filter() 221 lockdep_assert_wiphy(local->hw.wiphy); in drv_config_iface_filter() 278 lockdep_assert_wiphy(local->hw.wiphy); in drv_hw_scan() 293 lockdep_assert_wiphy(local->hw.wiphy); in drv_cancel_hw_scan() [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | cfg80211.c | 133 * This function retrieves the private structure from kernel wiphy structure. 135 static void *mwifiex_cfg80211_get_adapter(struct wiphy *wiphy) in mwifiex_cfg80211_get_adapter() argument 137 return (void *) (*(unsigned long *) wiphy_priv(wiphy)); in mwifiex_cfg80211_get_adapter() 144 mwifiex_cfg80211_del_key(struct wiphy *wiphy, struct net_device *netdev, in mwifiex_cfg80211_del_key() argument 198 mwifiex_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, in mwifiex_cfg80211_mgmt_tx() argument 282 mwifiex_cfg80211_update_mgmt_frame_registrations(struct wiphy *wiphy, in mwifiex_cfg80211_update_mgmt_frame_registrations() argument 304 mwifiex_cfg80211_remain_on_channel(struct wiphy *wiphy, in mwifiex_cfg80211_remain_on_channel() argument 346 mwifiex_cfg80211_cancel_remain_on_channel(struct wiphy *wiphy, in mwifiex_cfg80211_cancel_remain_on_channel() argument 376 mwifiex_cfg80211_set_tx_power(struct wiphy *wiphy, in mwifiex_cfg80211_set_tx_power() argument 382 struct mwifiex_adapter *adapter = mwifiex_cfg80211_get_adapter(wiphy); in mwifiex_cfg80211_set_tx_power() [all …]
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | vendor_cmd.c | 27 wlcore_vendor_cmd_smart_config_start(struct wiphy *wiphy, in wlcore_vendor_cmd_smart_config_start() argument 31 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in wlcore_vendor_cmd_smart_config_start() 72 wlcore_vendor_cmd_smart_config_stop(struct wiphy *wiphy, in wlcore_vendor_cmd_smart_config_stop() argument 76 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in wlcore_vendor_cmd_smart_config_stop() 104 wlcore_vendor_cmd_smart_config_set_group_key(struct wiphy *wiphy, in wlcore_vendor_cmd_smart_config_set_group_key() argument 108 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in wlcore_vendor_cmd_smart_config_set_group_key() 195 void wlcore_set_vendor_commands(struct wiphy *wiphy) in wlcore_set_vendor_commands() argument 197 wiphy->vendor_commands = wlcore_vendor_commands; in wlcore_set_vendor_commands() 198 wiphy->n_vendor_commands = ARRAY_SIZE(wlcore_vendor_commands); in wlcore_set_vendor_commands() 199 wiphy->vendor_events = wlcore_vendor_events; in wlcore_set_vendor_commands() [all …]
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | regd.c | 278 static void rtw_regd_apply_hw_cap_flags(struct wiphy *wiphy) in rtw_regd_apply_hw_cap_flags() argument 280 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in rtw_regd_apply_hw_cap_flags() 290 sband = wiphy->bands[NL80211_BAND_2GHZ]; in rtw_regd_apply_hw_cap_flags() 300 sband = wiphy->bands[NL80211_BAND_5GHZ]; in rtw_regd_apply_hw_cap_flags() 333 void rtw_regd_notifier(struct wiphy *wiphy, struct regulatory_request *request); 338 struct wiphy *wiphy = rtwdev->hw->wiphy; in rtw_regd_init() local 341 if (!wiphy) in rtw_regd_init() 344 wiphy->reg_notifier = rtw_regd_notifier; in rtw_regd_init() 354 wiphy->regulatory_flags |= REGULATORY_STRICT_REG; in rtw_regd_init() 355 wiphy->regulatory_flags |= REGULATORY_COUNTRY_IE_IGNORE; in rtw_regd_init() [all …]
|