| /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, nam in rdev_add_virtual_intf() 1485 struct wiphy *wiphy = &rdev->wiphy; rdev_set_radar_background() local 1569 struct wiphy *wiphy = &rdev->wiphy; rdev_set_hw_timestamp() local 1585 struct wiphy *wiphy = &rdev->wiphy; rdev_set_ttlm() local 1600 struct wiphy *wiphy = &rdev->wiphy; rdev_get_radio_mask() local 1613 struct wiphy *wiphy = &rdev->wiphy; rdev_assoc_ml_reconf() local 1628 struct wiphy *wiphy = &rdev->wiphy; rdev_set_epcs() local [all...] |
| H A D | core.c | 76 int get_wiphy_idx(struct wiphy *wiphy) in get_wiphy_idx() argument 78 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in get_wiphy_idx() 83 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx) in wiphy_idx_to_wiphy() 92 return &rdev->wiphy; in wiphy_idx_to_wiphy() 123 if (strcmp(newname, wiphy_name(&rdev2->wiphy)) == 0) in cfg80211_dev_check_name() 135 lockdep_assert_wiphy(&rdev->wiphy); in cfg80211_dev_rename() 138 if (strcmp(newname, wiphy_name(&rdev->wiphy)) == 0) in cfg80211_dev_rename() 145 result = device_rename(&rdev->wiphy.dev, newname); in cfg80211_dev_rename() 149 debugfs_change_name(rdev->wiphy in cfg80211_dev_rename() 349 cfg80211_shutdown_all_interfaces(struct wiphy * wiphy) cfg80211_shutdown_all_interfaces() argument 368 guard(wiphy)(wiphy); cfg80211_shutdown_all_interfaces() local 470 cfg80211_sched_scan_stop_wk(struct wiphy * wiphy,struct wiphy_work * work) cfg80211_sched_scan_stop_wk() argument 705 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 806 wiphy_verify_combinations(struct wiphy * wiphy) wiphy_verify_combinations() argument 834 wiphy_cipher_suites_valid(const struct wiphy * wiphy) wiphy_cipher_suites_valid() argument 852 wiphy_register(struct wiphy * wiphy) wiphy_register() argument 1247 wiphy_rfkill_start_polling(struct wiphy * wiphy) wiphy_rfkill_start_polling() argument 1289 wiphy_unregister(struct wiphy * wiphy) wiphy_unregister() argument 1390 wiphy_free(struct wiphy * wiphy) wiphy_free() argument 1397 wiphy_rfkill_set_hw_state_reason(struct wiphy * wiphy,bool blocked,enum rfkill_hard_block_reasons reason) wiphy_rfkill_set_hw_state_reason() argument 1581 cfg80211_stop_link(struct wiphy * wiphy,struct wireless_dev * wdev,int link_id,gfp_t gfp) cfg80211_stop_link() argument 1879 wiphy_work_queue(struct wiphy * wiphy,struct wiphy_work * work) wiphy_work_queue() argument 1895 wiphy_work_cancel(struct wiphy * wiphy,struct wiphy_work * work) wiphy_work_cancel() argument 1911 wiphy_work_flush(struct wiphy * wiphy,struct wiphy_work * work) wiphy_work_flush() argument 1936 wiphy_delayed_work_queue(struct wiphy * wiphy,struct wiphy_delayed_work * dwork,unsigned long delay) wiphy_delayed_work_queue() argument 1953 wiphy_delayed_work_cancel(struct wiphy * wiphy,struct wiphy_delayed_work * dwork) wiphy_delayed_work_cancel() argument 1963 wiphy_delayed_work_flush(struct wiphy * wiphy,struct wiphy_delayed_work * dwork) wiphy_delayed_work_flush() argument 1973 wiphy_delayed_work_pending(struct wiphy * wiphy,struct wiphy_delayed_work * dwork) wiphy_delayed_work_pending() argument 1991 wiphy_hrtimer_work_queue(struct wiphy * wiphy,struct wiphy_hrtimer_work * hrwork,ktime_t delay) wiphy_hrtimer_work_queue() argument 2009 wiphy_hrtimer_work_cancel(struct wiphy * wiphy,struct wiphy_hrtimer_work * hrwork) wiphy_hrtimer_work_cancel() argument 2019 wiphy_hrtimer_work_flush(struct wiphy * wiphy,struct wiphy_hrtimer_work * hrwork) wiphy_hrtimer_work_flush() argument 2029 wiphy_hrtimer_work_pending(struct wiphy * wiphy,struct wiphy_hrtimer_work * hrwork) wiphy_hrtimer_work_pending() argument [all...] |
| H A D | sysfs.c | 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 = &dev_to_rdev(dev)->wiphy; in addresses_show() local 58 if (!wiphy->addresses) in addresses_show() 59 return sprintf(buf, "%pM\n", wiphy->perm_addr); in addresses_show() 61 for (i = 0; i < wiphy->n_addresses; i++) in addresses_show() 62 buf += sprintf(buf, "%pM\n", wiphy->addresses[i].addr); in addresses_show() [all …]
|
| H A D | trace.h | 30 #define WIPHY_ASSIGN strscpy(__entry->wiphy_name, wiphy_name(wiphy), MAXNAME) 260 TP_PROTO(struct wiphy *wiphy, struct wiphy_work *work), 261 TP_ARGS(wiphy, work), 277 TP_PROTO(struct wiphy *wiphy, struct wiphy_work *work), 278 TP_ARGS(wiphy, work) 282 TP_PROTO(struct wiphy *wiphy, struct wiphy_work *work), 283 TP_ARGS(wiphy, work) 287 TP_PROTO(struct wiphy *wiphy, struct wiphy_work *work), 288 TP_ARGS(wiphy, work) 292 TP_PROTO(struct wiphy *wiphy, struct wiphy_work *work), [all …]
|
| H A D | debugfs.c | 18 struct wiphy *wiphy = file->private_data; \ 51 wiphy->rts_threshold); in ht_print_chan() 53 wiphy->frag_threshold); in ht_print_chan() 55 wiphy->retry_short); in ht_print_chan() 57 wiphy->retry_long); in ht_print_chan() 88 struct wiphy *wiphy = file->private_data; in ht40allow_map_read() 100 sband = wiphy->bands[band]; 122 debugfs_create_file(#name, 0444, phyd, &rdev->wiphy, 67 struct wiphy *wiphy = file->private_data; ht40allow_map_read() local 121 struct wiphy *wiphy; global() member 130 wiphy_locked_debugfs_read_work(struct wiphy * wiphy,struct wiphy_work * work) wiphy_locked_debugfs_read_work() argument 148 wiphy_locked_debugfs_read(struct wiphy * wiphy,struct file * file,char * buf,size_t bufsize,char __user * userbuf,size_t count,loff_t * ppos,ssize_t (* handler)(struct wiphy * wiphy,struct file * file,char * buf,size_t bufsize,void * data),void * data) wiphy_locked_debugfs_read() argument 152 wiphy_locked_debugfs_read(struct wiphy * wiphy,struct file * file,char * buf,size_t bufsize,char __user * userbuf,size_t count,loff_t * ppos,ssize_t (* handler)(struct wiphy * wiphy,struct file * file,char * buf,size_t bufsize,void * data),void * data) wiphy_locked_debugfs_read() argument 201 struct wiphy *wiphy; global() member 210 wiphy_locked_debugfs_write_work(struct wiphy * wiphy,struct wiphy_work * work) wiphy_locked_debugfs_write_work() argument 228 wiphy_locked_debugfs_write(struct wiphy * wiphy,struct file * file,char * buf,size_t bufsize,const char __user * userbuf,size_t count,ssize_t (* handler)(struct wiphy * wiphy,struct file * file,char * buf,size_t count,void * data),void * data) wiphy_locked_debugfs_write() argument 231 wiphy_locked_debugfs_write(struct wiphy * wiphy,struct file * file,char * buf,size_t bufsize,const char __user * userbuf,size_t count,ssize_t (* handler)(struct wiphy * wiphy,struct file * file,char * buf,size_t count,void * data),void * data) wiphy_locked_debugfs_write() argument [all...] |
| H A D | reg.c | 19 * registering those channels in the wiphy structure. 135 * Returns the regulatory domain associated with the wiphy. 137 * Requires any of RTNL, wiphy mutex or RCU protection. 139 const struct ieee80211_regdomain *get_wiphy_regdom(struct wiphy *wiphy) in get_wiphy_regdom() argument 141 return rcu_dereference_check(wiphy->regd, in get_wiphy_regdom() 142 lockdep_is_held(&wiphy->mtx) || in get_wiphy_regdom() 162 enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy) in reg_get_dfs_region() argument 172 if (!wiphy) in reg_get_dfs_region() 1132 reg_get_regdomain(struct wiphy * wiphy) reg_get_regdomain() argument 1639 __freq_reg_info(struct wiphy * wiphy,u32 center_freq,u32 min_bw) __freq_reg_info() argument 1656 freq_reg_info(struct wiphy * wiphy,u32 center_freq) freq_reg_info() argument 1735 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 1814 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 1934 handle_channel(struct wiphy * wiphy,enum nl80211_reg_initiator initiator,struct ieee80211_channel * chan) handle_channel() argument 2018 handle_band(struct wiphy * wiphy,enum nl80211_reg_initiator initiator,struct ieee80211_supported_band * sband) handle_band() argument 2061 reg_dev_ignore_cell_hint(struct wiphy * wiphy) reg_dev_ignore_cell_hint() argument 2072 reg_dev_ignore_cell_hint(struct wiphy * wiphy) reg_dev_ignore_cell_hint() argument 2078 wiphy_strict_alpha2_regd(struct wiphy * wiphy) wiphy_strict_alpha2_regd() argument 2086 ignore_reg_update(struct wiphy * wiphy,enum nl80211_reg_initiator initiator) ignore_reg_update() argument 2125 reg_is_world_roaming(struct wiphy * wiphy) reg_is_world_roaming() argument 2141 reg_call_notifier(struct wiphy * wiphy,struct regulatory_request * request) reg_call_notifier() argument 2148 handle_reg_beacon(struct wiphy * wiphy,unsigned int chan_idx,struct reg_beacon * reg_beacon) handle_reg_beacon() argument 2192 wiphy_update_new_beacon(struct wiphy * wiphy,struct reg_beacon * reg_beacon) wiphy_update_new_beacon() argument 2210 wiphy_update_beacon_reg(struct wiphy * wiphy) wiphy_update_beacon_reg() argument 2226 reg_process_beacons(struct wiphy * wiphy) reg_process_beacons() argument 2249 reg_process_ht_flags_channel(struct wiphy * wiphy,struct ieee80211_channel * channel) reg_process_ht_flags_channel() argument 2305 reg_process_ht_flags_band(struct wiphy * wiphy,struct ieee80211_supported_band * sband) reg_process_ht_flags_band() argument 2317 reg_process_ht_flags(struct wiphy * wiphy) reg_process_ht_flags() argument 2337 reg_wdev_chan_valid(struct wiphy * wiphy,struct wireless_dev * wdev) reg_wdev_chan_valid() argument 2449 reg_leave_invalid_chans(struct wiphy * wiphy) reg_leave_invalid_chans() argument 2488 wiphy_update_regulatory(struct wiphy * wiphy,enum nl80211_reg_initiator initiator) wiphy_update_regulatory() argument 2521 struct wiphy *wiphy; update_all_wiphy_regulatory() local 2533 handle_channel_custom(struct wiphy * wiphy,struct ieee80211_channel * chan,const struct ieee80211_regdomain * regd,u32 min_bw) handle_channel_custom() argument 2593 handle_band_custom(struct wiphy * wiphy,struct ieee80211_supported_band * sband,const struct ieee80211_regdomain * regd) handle_band_custom() argument 2613 wiphy_apply_custom_regulatory(struct wiphy * wiphy,const struct ieee80211_regdomain * regd) wiphy_apply_custom_regulatory() argument 2794 reg_process_hint_driver(struct wiphy * wiphy,struct regulatory_request * driver_request) reg_process_hint_driver() argument 2846 __reg_process_hint_country_ie(struct wiphy * wiphy,struct regulatory_request * country_ie_request) __reg_process_hint_country_ie() argument 2898 reg_process_hint_country_ie(struct wiphy * wiphy,struct regulatory_request * country_ie_request) reg_process_hint_country_ie() argument 3002 wiphy_all_share_dfs_chan_state(struct wiphy * wiphy) wiphy_all_share_dfs_chan_state() argument 3018 struct wiphy *wiphy = NULL; reg_process_hint() local 3072 struct wiphy *wiphy; notify_self_managed_wiphys() local 3149 reg_process_self_managed_hint(struct wiphy * wiphy) reg_process_self_managed_hint() argument 3319 regulatory_hint(struct wiphy * wiphy,const char * alpha2) regulatory_hint() argument 3347 regulatory_hint_country_ie(struct wiphy * wiphy,enum nl80211_band band,const u8 * country_ie,u8 country_ie_len) regulatory_hint_country_ie() argument 3444 restore_custom_reg_settings(struct wiphy * wiphy) restore_custom_reg_settings() argument 3654 regulatory_hint_found_beacon(struct wiphy * wiphy,struct ieee80211_channel * beacon_chan,gfp_t gfp) regulatory_hint_found_beacon() argument 4018 __regulatory_set_wiphy_regd(struct wiphy * wiphy,struct ieee80211_regdomain * rd) __regulatory_set_wiphy_regd() argument 4054 regulatory_set_wiphy_regd(struct wiphy * wiphy,struct ieee80211_regdomain * rd) regulatory_set_wiphy_regd() argument 4067 regulatory_set_wiphy_regd_sync(struct wiphy * wiphy,struct ieee80211_regdomain * rd) regulatory_set_wiphy_regd_sync() argument 4085 wiphy_regulatory_register(struct wiphy * wiphy) wiphy_regulatory_register() argument 4111 wiphy_regulatory_deregister(struct wiphy * wiphy) wiphy_regulatory_deregister() argument 4185 regulatory_pre_cac_allowed(struct wiphy * wiphy) regulatory_pre_cac_allowed() argument 4247 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() 110 cfg80211_put_bss(wiphy, bss); in cfg80211_rx_assoc_resp() 118 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_auth() 128 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_deauth() 147 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_disassoc() 170 lockdep_assert_wiphy(wdev->wiphy); in cfg80211_rx_mlme_mgmt() 204 struct wiphy *wiphy = wdev->wiphy; in cfg80211_auth_timeout() local 205 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_auth_timeout() 218 struct wiphy *wiphy = wdev->wiphy; in cfg80211_assoc_failure() local [all …]
|
| H A D | reg.h | 23 enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy); 42 void wiphy_regulatory_register(struct wiphy *wiphy); 43 void wiphy_regulatory_deregister(struct wiphy *wiphy); 58 * @wiphy: the wireless device where the beacon was found on 72 * set the wiphy->disable_beacon_hints to true. 74 void regulatory_hint_found_beacon(struct wiphy *wiphy, [all...] |
| H A D | core.h | 59 * domain as the wiphy's. Only used for %REGULATORY_WIPHY_SELF_MANAGED 68 /* wiphy index, internal only */ 138 struct wiphy wiphy __aligned(NETDEV_ALIGN); in cfg80211_rdev_free_wowlan() 142 struct cfg80211_registered_device *wiphy_to_rdev(struct wiphy *wiphy) in cfg80211_rdev_free_wowlan() 144 BUG_ON(!wiphy); in cfg80211_rdev_free_wowlan() 145 return container_of(wiphy, struct cfg80211_registered_device, wiphy); in cfg80211_rdev_free_wowlan() 154 if (!rdev->wiphy in cfg80211_rdev_free_wowlan() 130 wiphy_to_rdev(struct wiphy * wiphy) wiphy_to_rdev() argument [all...] |
| H A D | wext-compat.c | 44 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwmode() 65 guard(wiphy)(wdev->wiphy); in cfg80211_wext_siwmode() 137 switch (wdev->wiphy->signal_type) { in cfg80211_wext_giwrange() 161 for (i = 0; i < wdev->wiphy->n_cipher_suites; i++) { in cfg80211_wext_giwrange() 162 switch (wdev->wiphy->cipher_suites[i]) { in cfg80211_wext_giwrange() 188 sband = wdev->wiphy->bands[band]; in cfg80211_wext_giwrange() 213 if (wdev->wiphy->max_scan_ssids > 0) in cfg80211_wext_giwrange() 255 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwrts() 256 u32 orts = wdev->wiphy->rts_threshold; in cfg80211_wext_siwrts() 259 guard(wiphy)(&rdev->wiphy); in cfg80211_wext_siwrts() [all …]
|
| /linux/include/net/ |
| H A D | cfg80211.h | 65 struct wiphy; 766 void wiphy_read_of_freq_limits(struct wiphy *wiphy); 768 static inline void wiphy_read_of_freq_limits(struct wiphy *wiphy) in wiphy_read_of_freq_limits() argument 1109 bool cfg80211_chandef_usable(struct wiphy *wiphy, 1121 int cfg80211_chandef_dfs_required(struct wiphy *wiphy, 1134 bool cfg80211_chandef_dfs_usable(struct wiphy *wiphy, 1146 cfg80211_chandef_dfs_cac_time(struct wiphy *wiphy, 1176 bool cfg80211_chandef_npca_valid(struct wiphy *wiphy, 1189 int cfg80211_chandef_add_npca(struct wiphy *wiphy, 1268 bool cfg80211_any_usable_channels(struct wiphy *wiphy, [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/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 *wiph in virt_wifi_scan_result() local 199 virt_wifi_cancel_scan(struct wiphy * wiphy) virt_wifi_cancel_scan() argument 228 virt_wifi_connect(struct wiphy * wiphy,struct net_device * netdev,struct cfg80211_connect_params * sme) virt_wifi_connect() argument 304 virt_wifi_disconnect(struct wiphy * wiphy,struct net_device * netdev,u16 reason_code) virt_wifi_disconnect() argument 323 virt_wifi_get_station(struct wiphy * wiphy,struct wireless_dev * wdev,const u8 * mac,struct station_info * sinfo) virt_wifi_get_station() argument 350 virt_wifi_dump_station(struct wiphy * wiphy,struct wireless_dev * wdev,int idx,u8 * mac,struct station_info * sinfo) virt_wifi_dump_station() argument 377 struct wiphy *wiphy; virt_wifi_make_wiphy() local 411 virt_wifi_destroy_wiphy(struct wiphy * wiphy) virt_wifi_destroy_wiphy() argument [all...] |
| /linux/net/mac80211/ |
| H A D | main.c | 87 static void ieee80211_reconfig_filter(struct wiphy *wiphy, in ieee80211_reconfig_filter() argument 485 wiphy_lock(local->hw.wiphy); in ieee80211_restart_work() 486 wiphy_work_flush(local->hw.wiphy, NULL); in ieee80211_restart_work() 508 wiphy_work_cancel(local->hw.wiphy, in ieee80211_restart_work() 515 wiphy_delayed_work_flush(local->hw.wiphy, in ieee80211_restart_work() 521 wiphy_delayed_work_flush(local->hw.wiphy, &local->roc_work); in ieee80211_restart_work() 522 wiphy_work_flush(local->hw.wiphy, &local->hw_roc_done); in ieee80211_restart_work() 528 wiphy_unlock(local->hw.wiphy); in ieee80211_restart_work() 531 cfg80211_shutdown_all_interfaces(local->hw.wiphy); in ieee80211_restart_work() 799 struct wiphy *wiphy; ieee80211_alloc_hw_nm() local [all...] |
| H A D | cfg.c | 131 monitor_sdata = wiphy_dereference(local->hw.wiphy, in ieee80211_set_mon_options() 210 static struct wireless_dev *ieee80211_add_iface(struct wiphy *wiphy, in ieee80211_add_iface() 216 struct ieee80211_local *local = wiphy_priv(wiphy); in ieee80211_add_iface() 256 static int ieee80211_del_iface(struct wiphy *wiphy, struct wireless_dev *wdev) in ieee80211_del_iface() 263 static int ieee80211_change_iface(struct wiphy *wiphy, in ieee80211_change_iface() 273 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_change_iface() 310 static int ieee80211_start_p2p_device(struct wiphy *wiph in ieee80211_start_p2p_device() 206 ieee80211_add_iface(struct wiphy * wiphy,const char * name,unsigned char name_assign_type,enum nl80211_iftype type,struct vif_params * params) ieee80211_add_iface() argument 252 ieee80211_del_iface(struct wiphy * wiphy,struct wireless_dev * wdev) ieee80211_del_iface() argument 259 ieee80211_change_iface(struct wiphy * wiphy,struct net_device * dev,enum nl80211_iftype type,struct vif_params * params) ieee80211_change_iface() argument 306 ieee80211_start_p2p_device(struct wiphy * wiphy,struct wireless_dev * wdev) ieee80211_start_p2p_device() argument 321 ieee80211_stop_p2p_device(struct wiphy * wiphy,struct wireless_dev * wdev) ieee80211_stop_p2p_device() argument 334 ieee80211_stop_nan(struct wiphy * wiphy,struct wireless_dev * wdev) ieee80211_stop_nan() argument 409 ieee80211_start_nan(struct wiphy * wiphy,struct wireless_dev * wdev,struct cfg80211_nan_conf * conf) ieee80211_start_nan() argument 447 ieee80211_nan_change_conf(struct wiphy * wiphy,struct wireless_dev * wdev,struct cfg80211_nan_conf * conf,u32 changes) ieee80211_nan_change_conf() argument 488 ieee80211_add_nan_func(struct wiphy * wiphy,struct wireless_dev * wdev,struct cfg80211_nan_func * nan_func) ieee80211_add_nan_func() argument 546 ieee80211_del_nan_func(struct wiphy * wiphy,struct wireless_dev * wdev,u64 cookie) ieee80211_del_nan_func() argument 572 ieee80211_set_noack_map(struct wiphy * wiphy,struct net_device * dev,u16 noack_map) ieee80211_set_noack_map() argument 613 ieee80211_add_key(struct wiphy * wiphy,struct wireless_dev * wdev,int link_id,u8 key_idx,bool pairwise,const u8 * mac_addr,struct key_params * params) ieee80211_add_key() argument 797 ieee80211_del_key(struct wiphy * wiphy,struct wireless_dev * wdev,int link_id,u8 key_idx,bool pairwise,const u8 * mac_addr) ieee80211_del_key() argument 816 ieee80211_get_key(struct wiphy * wiphy,struct wireless_dev * wdev,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 918 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 935 ieee80211_config_default_mgmt_key(struct wiphy * wiphy,struct wireless_dev * wdev,int link_id,u8 key_idx) ieee80211_config_default_mgmt_key() argument 951 ieee80211_config_default_beacon_key(struct wiphy * wiphy,struct wireless_dev * wdev,int link_id,u8 key_idx) ieee80211_config_default_beacon_key() argument 999 ieee80211_dump_station(struct wiphy * wiphy,struct wireless_dev * wdev,int idx,u8 * mac,struct station_info * sinfo) ieee80211_dump_station() argument 1026 ieee80211_dump_survey(struct wiphy * wiphy,struct net_device * dev,int idx,struct survey_info * survey) ieee80211_dump_survey() argument 1034 ieee80211_get_station(struct wiphy * wiphy,struct wireless_dev * wdev,const u8 * mac,struct station_info * sinfo) ieee80211_get_station() argument 1060 ieee80211_set_monitor_channel(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_chan_def * chandef) ieee80211_set_monitor_channel() argument 1631 ieee80211_start_ap(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ap_settings * params) ieee80211_start_ap() argument 1937 ieee80211_change_beacon(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ap_update * params) ieee80211_change_beacon() argument 2011 ieee80211_stop_ap(struct wiphy * wiphy,struct net_device * dev,unsigned int link_id) ieee80211_stop_ap() argument 2634 ieee80211_add_station(struct wiphy * wiphy,struct wireless_dev * wdev,const u8 * mac,struct station_parameters * params) ieee80211_add_station() argument 2714 ieee80211_del_station(struct wiphy * wiphy,struct wireless_dev * wdev,struct station_del_parameters * params) ieee80211_del_station() argument 2733 struct wiphy *wiphy = local->hw.wiphy; ieee80211_set_sta_4addr() local 2787 ieee80211_change_station(struct wiphy * wiphy,struct wireless_dev * wdev,const u8 * mac,struct station_parameters * params) ieee80211_change_station() argument 2895 ieee80211_add_mpath(struct wiphy * wiphy,struct net_device * dev,const u8 * dst,const u8 * next_hop) ieee80211_add_mpath() argument 2923 ieee80211_del_mpath(struct wiphy * wiphy,struct net_device * dev,const u8 * dst) ieee80211_del_mpath() argument 2935 ieee80211_change_mpath(struct wiphy * wiphy,struct net_device * dev,const u8 * dst,const u8 * next_hop) ieee80211_change_mpath() argument 3010 ieee80211_get_mpath(struct wiphy * wiphy,struct net_device * dev,u8 * dst,u8 * next_hop,struct mpath_info * pinfo) ieee80211_get_mpath() argument 3031 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 3061 ieee80211_get_mpp(struct wiphy * wiphy,struct net_device * dev,u8 * dst,u8 * mpp,struct mpath_info * pinfo) ieee80211_get_mpp() argument 3082 ieee80211_dump_mpp(struct wiphy * wiphy,struct net_device * dev,int idx,u8 * dst,u8 * mpp,struct mpath_info * pinfo) ieee80211_dump_mpp() argument 3103 ieee80211_get_mesh_config(struct wiphy * wiphy,struct net_device * dev,struct mesh_config * conf) ieee80211_get_mesh_config() argument 3176 ieee80211_update_mesh_config(struct wiphy * wiphy,struct net_device * dev,u32 mask,const struct mesh_config * nconf) ieee80211_update_mesh_config() argument 3296 ieee80211_join_mesh(struct wiphy * wiphy,struct net_device * dev,const struct mesh_config * conf,const struct mesh_setup * setup) ieee80211_join_mesh() argument 3326 ieee80211_leave_mesh(struct wiphy * wiphy,struct net_device * dev) ieee80211_leave_mesh() argument 3340 ieee80211_change_bss(struct wiphy * wiphy,struct net_device * dev,struct bss_parameters * params) ieee80211_change_bss() argument 3427 ieee80211_set_txq_params(struct wiphy * wiphy,struct net_device * dev,struct ieee80211_txq_params * params) ieee80211_set_txq_params() argument 3475 ieee80211_suspend(struct wiphy * wiphy,struct cfg80211_wowlan * wowlan) ieee80211_suspend() argument 3481 ieee80211_resume(struct wiphy * wiphy) ieee80211_resume() argument 3490 ieee80211_scan(struct wiphy * wiphy,struct cfg80211_scan_request * req) ieee80211_scan() argument 3548 ieee80211_abort_scan(struct wiphy * wiphy,struct wireless_dev * wdev) ieee80211_abort_scan() argument 3554 ieee80211_sched_scan_start(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_sched_scan_request * req) ieee80211_sched_scan_start() argument 3567 ieee80211_sched_scan_stop(struct wiphy * wiphy,struct net_device * dev,u64 reqid) ieee80211_sched_scan_stop() argument 3578 ieee80211_auth(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_auth_request * req) ieee80211_auth() argument 3584 ieee80211_assoc(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_assoc_request * req) ieee80211_assoc() argument 3590 ieee80211_deauth(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_deauth_request * req) ieee80211_deauth() argument 3596 ieee80211_disassoc(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_disassoc_request * req) ieee80211_disassoc() argument 3602 ieee80211_join_ibss(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ibss_params * params) ieee80211_join_ibss() argument 3608 ieee80211_leave_ibss(struct wiphy * wiphy,struct net_device * dev) ieee80211_leave_ibss() argument 3613 ieee80211_join_ocb(struct wiphy * wiphy,struct net_device * dev,struct ocb_setup * setup) ieee80211_join_ocb() argument 3619 ieee80211_leave_ocb(struct wiphy * wiphy,struct net_device * dev) ieee80211_leave_ocb() argument 3624 ieee80211_set_mcast_rate(struct wiphy * wiphy,struct net_device * dev,int rate[NUM_NL80211_BANDS]) ieee80211_set_mcast_rate() argument 3639 ieee80211_set_wiphy_params(struct wiphy * wiphy,int radio_idx,u32 changed) ieee80211_set_wiphy_params() argument 3708 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 3835 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 3867 ieee80211_rfkill_poll(struct wiphy * wiphy) ieee80211_rfkill_poll() argument 3875 ieee80211_testmode_cmd(struct wiphy * wiphy,struct wireless_dev * wdev,void * data,int len) ieee80211_testmode_cmd() argument 3896 ieee80211_testmode_dump(struct wiphy * wiphy,struct sk_buff * skb,struct netlink_callback * cb,void * data,int len) ieee80211_testmode_dump() argument 3983 ieee80211_set_power_mgmt(struct wiphy * wiphy,struct net_device * dev,bool enabled,int timeout) ieee80211_set_power_mgmt() argument 4056 ieee80211_set_cqm_rssi_config(struct wiphy * wiphy,struct net_device * dev,s32 rssi_thold,u32 rssi_hyst) ieee80211_set_cqm_rssi_config() argument 4080 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 4103 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 4173 ieee80211_is_scan_ongoing(struct wiphy * wiphy,struct ieee80211_local * local,struct cfg80211_chan_def * chandef) ieee80211_is_scan_ongoing() argument 4210 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 4245 ieee80211_end_cac(struct wiphy * wiphy,struct net_device * dev,unsigned int link_id) ieee80211_end_cac() argument 4544 ieee80211_csa_finalize_work(struct wiphy * wiphy,struct wiphy_work * work) ieee80211_csa_finalize_work() argument 4704 __ieee80211_channel_switch(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_csa_settings * params) __ieee80211_channel_switch() argument 4823 ieee80211_channel_switch(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_csa_settings * params) ieee80211_channel_switch() argument 4864 ieee80211_update_mgmt_frame_registrations(struct wiphy * wiphy,struct wireless_dev * wdev,struct mgmt_frame_regs * upd) ieee80211_update_mgmt_frame_registrations() argument 4902 ieee80211_set_antenna(struct wiphy * wiphy,int radio_idx,u32 tx_ant,u32 rx_ant) ieee80211_set_antenna() argument 4919 ieee80211_get_antenna(struct wiphy * wiphy,int radio_idx,u32 * tx_ant,u32 * rx_ant) ieee80211_get_antenna() argument 4927 ieee80211_set_rekey_data(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_gtk_rekey_data * data) ieee80211_set_rekey_data() argument 4942 ieee80211_probe_peer(struct wiphy * wiphy,struct net_device * dev,const u8 * peer,u64 cookie) ieee80211_probe_peer() argument 5065 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 5100 ieee80211_set_wakeup(struct wiphy * wiphy,bool enabled) ieee80211_set_wakeup() argument 5106 ieee80211_set_qos_map(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_qos_map * qos_map) ieee80211_set_qos_map() argument 5131 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 5154 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 5180 ieee80211_del_tx_ts(struct wiphy * wiphy,struct net_device * dev,u8 tsid,const u8 * peer) ieee80211_del_tx_ts() argument 5308 ieee80211_set_multicast_to_unicast(struct wiphy * wiphy,struct net_device * dev,const bool enabled) ieee80211_set_multicast_to_unicast() argument 5368 ieee80211_get_txq_stats(struct wiphy * wiphy,struct wireless_dev * wdev,struct cfg80211_txq_stats * txqstats) ieee80211_get_txq_stats() argument 5408 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 5419 ieee80211_start_pmsr(struct wiphy * wiphy,struct wireless_dev * dev,struct cfg80211_pmsr_request * request) ieee80211_start_pmsr() argument 5429 ieee80211_abort_pmsr(struct wiphy * wiphy,struct wireless_dev * dev,struct cfg80211_pmsr_request * request) ieee80211_abort_pmsr() argument 5438 ieee80211_set_tid_config(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_tid_config * tid_conf) ieee80211_set_tid_config() argument 5460 ieee80211_reset_tid_config(struct wiphy * wiphy,struct net_device * dev,const u8 * peer,u8 tids) ieee80211_reset_tid_config() argument 5482 ieee80211_set_sar_specs(struct wiphy * wiphy,struct cfg80211_sar_specs * sar) ieee80211_set_sar_specs() argument 5620 ieee80211_color_change_finalize_work(struct wiphy * wiphy,struct wiphy_work * work) ieee80211_color_change_finalize_work() argument 5642 ieee80211_color_collision_detection_work(struct wiphy * wiphy,struct wiphy_work * work) ieee80211_color_collision_detection_work() argument 5719 ieee80211_color_change(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_color_change_settings * params) ieee80211_color_change() argument 5779 ieee80211_set_radar_background(struct wiphy * wiphy,struct cfg80211_chan_def * chandef) ieee80211_set_radar_background() argument 5790 ieee80211_add_intf_link(struct wiphy * wiphy,struct wireless_dev * wdev,unsigned int link_id) ieee80211_add_intf_link() argument 5801 ieee80211_del_intf_link(struct wiphy * wiphy,struct wireless_dev * wdev,unsigned int link_id) ieee80211_del_intf_link() argument 5819 ieee80211_add_link_station(struct wiphy * wiphy,struct net_device * dev,struct link_station_parameters * params) ieee80211_add_link_station() argument 5861 ieee80211_mod_link_station(struct wiphy * wiphy,struct net_device * dev,struct link_station_parameters * params) ieee80211_mod_link_station() argument 5882 ieee80211_del_link_station(struct wiphy * wiphy,struct net_device * dev,struct link_station_del_parameters * params) ieee80211_del_link_station() argument 5906 ieee80211_set_hw_timestamp(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_set_hw_timestamp * hwts) ieee80211_set_hw_timestamp() argument 5923 ieee80211_set_ttlm(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ttlm_params * params) ieee80211_set_ttlm() argument 5934 ieee80211_assoc_ml_reconf(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ml_reconf_req * req) ieee80211_assoc_ml_reconf() argument 5945 ieee80211_set_epcs(struct wiphy * wiphy,struct net_device * dev,bool enable) ieee80211_set_epcs() argument 5953 ieee80211_set_local_nan_sched(struct wiphy * wiphy,struct wireless_dev * wdev,struct cfg80211_nan_local_sched * sched) ieee80211_set_local_nan_sched() argument 5965 ieee80211_set_peer_nan_sched(struct wiphy * wiphy,struct wireless_dev * wdev,struct cfg80211_nan_peer_sched * sched) ieee80211_set_peer_nan_sched() argument [all...] |
| H A D | offchannel.c | 37 wiphy_work_cancel(local->hw.wiphy, &local->dynamic_ps_enable_work); in ieee80211_offchannel_ps_enable() 87 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_offchannel_stop_vifs() 137 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_offchannel_return() 200 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_end_finished_rocs() 233 wiphy_delayed_work_queue(local->hw.wiphy, &local->roc_work, dur); in ieee80211_recalc_sw_work() 261 static void ieee80211_hw_roc_start(struct wiphy *wiphy, struct wiphy_work *work) in ieee80211_hw_roc_start() argument 267 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_hw_roc_start() 286 wiphy_work_queue(hw->wiphy, &local->hw_roc_start); in ieee80211_ready_on_channel() 296 lockdep_assert_wiphy(local->hw.wiphy); in _ieee80211_start_next_roc() 486 ieee80211_roc_work(struct wiphy * wiphy,struct wiphy_work * work) ieee80211_roc_work() argument 496 ieee80211_hw_roc_done(struct wiphy * wiphy,struct wiphy_work * work) ieee80211_hw_roc_done() argument 670 struct wiphy *wiphy = local->hw.wiphy; ieee80211_start_roc_work() local 703 ieee80211_remain_on_channel(struct wiphy * wiphy,struct wireless_dev * wdev,struct ieee80211_channel * chan,unsigned int duration,u64 cookie,const u8 * rx_addr) ieee80211_remain_on_channel() argument 801 ieee80211_cancel_remain_on_channel(struct wiphy * wiphy,struct wireless_dev * wdev,u64 cookie) ieee80211_cancel_remain_on_channel() argument 810 ieee80211_mgmt_tx(struct wiphy * wiphy,struct wireless_dev * wdev,struct cfg80211_mgmt_tx_params * params,u64 cookie) ieee80211_mgmt_tx() argument 1046 ieee80211_mgmt_tx_cancel_wait(struct wiphy * wiphy,struct wireless_dev * wdev,u64 cookie) ieee80211_mgmt_tx_cancel_wait() argument [all...] |
| /linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
| H A D | regd.c | 32 mt7921_regd_channel_update(struct wiphy *wiphy, struct mt792x_dev *dev) in mt7921_regd_channel_update() argument 44 sband = wiphy->bands[NL80211_BAND_5GHZ]; in mt7921_regd_channel_update() 63 sband = wiphy->bands[NL80211_BAND_6GHZ]; in mt7921_regd_channel_update() 91 struct wiphy *wiphy = hw->wiphy; in __mt7921_mcu_regd_update() local 103 mt7921_regd_channel_update(wiphy, dev); in __mt7921_mcu_regd_update() 133 void mt7921_regd_notifier(struct wiphy *wiphy, in mt7921_regd_notifier() argument 136 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in mt7921_regd_notifier() 156 wiphy->regulatory_flags &= ~REGULATORY_COUNTRY_IE_IGNORE; in mt7921_regd_notifier() 158 wiphy->regulatory_flags |= REGULATORY_COUNTRY_IE_IGNORE; in mt7921_regd_notifier() 179 struct wiphy *wiphy = phy->mt76->hw->wiphy; in mt7921_regd_query_regdb() local [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
| H A D | regd.c | 76 mt7925_regd_channel_update(struct wiphy *wiphy, struct mt792x_dev *dev) in mt7925_regd_channel_update() argument 95 sband = wiphy->bands[NL80211_BAND_2GHZ]; in mt7925_regd_channel_update() 106 sband = wiphy->bands[NL80211_BAND_5GHZ]; in mt7925_regd_channel_update() 121 sband = wiphy->bands[NL80211_BAND_6GHZ]; in mt7925_regd_channel_update() 144 struct wiphy *wiphy = hw->wiphy; in mt7925_mcu_apply_regd() local 152 mt7925_regd_channel_update(wiphy, dev); in mt7925_mcu_apply_regd() 180 void mt7925_regd_notifier(struct wiphy *wiphy, struct regulatory_request *req) in mt7925_regd_notifier() argument 182 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in mt7925_regd_notifier() 225 struct wiphy *wiphy = phy->mt76->hw->wiphy; in mt7925_regd_query_regdb() local 226 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in mt7925_regd_query_regdb() [all …]
|
| /linux/drivers/net/wireless/nxp/nxpwifi/ |
| H A D | cfg80211.c | 94 static void *nxpwifi_cfg80211_get_adapter(struct wiphy *wiphy) in nxpwifi_cfg80211_get_adapter() argument 96 return (void *)(*(unsigned long *)wiphy_priv(wiphy)); in nxpwifi_cfg80211_get_adapter() 101 nxpwifi_cfg80211_del_key(struct wiphy *wiphy, struct wireless_dev *wdev, in nxpwifi_cfg80211_del_key() argument 152 nxpwifi_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, in nxpwifi_cfg80211_mgmt_tx() argument 232 nxpwifi_cfg80211_update_mgmt_frame_registrations(struct wiphy *wiphy, in nxpwifi_cfg80211_update_mgmt_frame_registrations() argument 253 nxpwifi_cfg80211_remain_on_channel(struct wiphy *wiphy, in nxpwifi_cfg80211_remain_on_channel() argument 294 nxpwifi_cfg80211_cancel_remain_on_channel(struct wiphy *wiphy, in nxpwifi_cfg80211_cancel_remain_on_channel() argument 322 nxpwifi_cfg80211_set_tx_power(struct wiphy *wiphy, in nxpwifi_cfg80211_set_tx_power() argument 328 struct nxpwifi_adapter *adapter = nxpwifi_cfg80211_get_adapter(wiphy); in nxpwifi_cfg80211_set_tx_power() 356 nxpwifi_cfg80211_get_tx_power(struct wiphy *wiphy, in nxpwifi_cfg80211_get_tx_power() argument [all …]
|
| /linux/drivers/net/wireless/microchip/wilc1000/ |
| H A D | cfg80211.c | 118 struct wiphy *wiphy = priv->dev->ieee80211_ptr->wiphy; in cfg_scan_result() local 120 if (!wiphy || !info) in cfg_scan_result() 125 channel = ieee80211_get_channel(wiphy, freq); in cfg_scan_result() 129 bss = cfg80211_inform_bss_frame(wiphy, channel, info->mgmt, in cfg_scan_result() 133 cfg80211_put_bss(wiphy, bss); in cfg_scan_result() 171 struct wiphy *wiphy = dev->ieee80211_ptr->wiphy; in cfg_connect_result() local 233 set_channel(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_chan_def * chandef) set_channel() argument 261 scan(struct wiphy * wiphy,struct cfg80211_scan_request * request) scan() argument 299 connect(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_connect_params * sme) connect() argument 448 disconnect(struct wiphy * wiphy,struct net_device * dev,u16 reason_code) disconnect() argument 537 add_key(struct wiphy * wiphy,struct wireless_dev * wdev,int link_id,u8 key_index,bool pairwise,const u8 * mac_addr,struct key_params * params) add_key() argument 642 del_key(struct wiphy * wiphy,struct wireless_dev * wdev,int link_id,u8 key_index,bool pairwise,const u8 * mac_addr) del_key() argument 683 get_key(struct wiphy * wiphy,struct wireless_dev * wdev,int link_id,u8 key_index,bool pairwise,const u8 * mac_addr,void * cookie,void (* callback)(void * cookie,struct key_params *)) get_key() argument 721 set_default_key(struct wiphy * wiphy,struct net_device * netdev,int link_id,u8 key_index,bool unicast,bool multicast) set_default_key() argument 728 set_default_mgmt_key(struct wiphy * wiphy,struct wireless_dev * wdev,int link_id,u8 key_index) set_default_mgmt_key() argument 736 get_station(struct wiphy * wiphy,struct wireless_dev * wdev,const u8 * mac,struct station_info * sinfo) get_station() argument 795 set_wiphy_params(struct wiphy * wiphy,int radio_idx,u32 changed) set_wiphy_params() argument 863 set_pmksa(struct wiphy * wiphy,struct net_device * netdev,struct cfg80211_pmksa * pmksa) set_pmksa() argument 897 del_pmksa(struct wiphy * wiphy,struct net_device * netdev,struct cfg80211_pmksa * pmksa) del_pmksa() argument 929 flush_pmksa(struct wiphy * wiphy,struct net_device * netdev) flush_pmksa() argument 1100 remain_on_channel(struct wiphy * wiphy,struct wireless_dev * wdev,struct ieee80211_channel * chan,unsigned int duration,u64 cookie,const u8 * rx_addr) remain_on_channel() argument 1134 cancel_remain_on_channel(struct wiphy * wiphy,struct wireless_dev * wdev,u64 cookie) cancel_remain_on_channel() argument 1147 mgmt_tx(struct wiphy * wiphy,struct wireless_dev * wdev,struct cfg80211_mgmt_tx_params * params,u64 cookie) mgmt_tx() argument 1236 mgmt_tx_cancel_wait(struct wiphy * wiphy,struct wireless_dev * wdev,u64 cookie) mgmt_tx_cancel_wait() argument 1260 wilc_update_mgmt_frame_registrations(struct wiphy * wiphy,struct wireless_dev * wdev,struct mgmt_frame_regs * upd) wilc_update_mgmt_frame_registrations() argument 1293 external_auth(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_external_auth_params * auth) external_auth() argument 1304 set_cqm_rssi_config(struct wiphy * wiphy,struct net_device * dev,s32 rssi_thold,u32 rssi_hyst) set_cqm_rssi_config() argument 1310 dump_station(struct wiphy * wiphy,struct wireless_dev * wdev,int idx,u8 * mac,struct station_info * sinfo) dump_station() argument 1328 set_power_mgmt(struct wiphy * wiphy,struct net_device * dev,bool enabled,int timeout) set_power_mgmt() argument 1342 change_virtual_intf(struct wiphy * wiphy,struct net_device * dev,enum nl80211_iftype type,struct vif_params * params) change_virtual_intf() argument 1408 start_ap(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ap_settings * settings) start_ap() argument 1424 change_beacon(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ap_update * params) change_beacon() argument 1432 stop_ap(struct wiphy * wiphy,struct net_device * dev,unsigned int link_id) stop_ap() argument 1448 add_station(struct wiphy * wiphy,struct wireless_dev * wdev,const u8 * mac,struct station_parameters * params) add_station() argument 1467 del_station(struct wiphy * wiphy,struct wireless_dev * wdev,struct station_del_parameters * params) del_station() argument 1490 change_station(struct wiphy * wiphy,struct wireless_dev * wdev,const u8 * mac,struct station_parameters * params) change_station() argument 1515 add_virtual_intf(struct wiphy * wiphy,const char * name,unsigned char name_assign_type,enum nl80211_iftype type,struct vif_params * params) add_virtual_intf() argument 1585 del_virtual_intf(struct wiphy * wiphy,struct wireless_dev * wdev) del_virtual_intf() argument 1606 wilc_set_wakeup(struct wiphy * wiphy,bool enabled) wilc_set_wakeup() argument 1624 set_tx_power(struct wiphy * wiphy,struct wireless_dev * wdev,int radio_idx,enum nl80211_tx_power_setting type,int mbm) set_tx_power() argument 1657 get_tx_power(struct wiphy * wiphy,struct wireless_dev * wdev,int radio_idx,unsigned int link_id,int * dbm) get_tx_power() argument 1748 struct wiphy *wiphy; wilc_create_wiphy() local [all...] |
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | cfg80211.c | 118 struct wiphy *wiphy = wil_to_wiphy(wil); in update_supported_bands() local 122 wiphy->bands[NL80211_BAND_60GHZ]->n_channels = in update_supported_bands() 126 wiphy->bands[NL80211_BAND_60GHZ]->edmg_cap.channels = in update_supported_bands() 128 wiphy->bands[NL80211_BAND_60GHZ]->edmg_cap.bw_config = in update_supported_bands() 206 static int wil_rf_sector_get_cfg(struct wiphy *wiphy, 209 static int wil_rf_sector_set_cfg(struct wiphy *wiphy, 212 static int wil_rf_sector_get_selected(struct wiphy *wiphy, 215 static int wil_rf_sector_set_selected(struct wiphy *wiphy, 536 static int wil_cfg80211_get_station(struct wiphy *wiphy, in wil_cfg80211_get_station() argument 540 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_get_station() [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 wireless_dev *wdev, in mwifiex_cfg80211_del_key() argument 198 mwifiex_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, in mwifiex_cfg80211_mgmt_tx() argument 281 mwifiex_cfg80211_update_mgmt_frame_registrations(struct wiphy *wiphy, in mwifiex_cfg80211_update_mgmt_frame_registrations() argument 303 mwifiex_cfg80211_remain_on_channel(struct wiphy * wiphy,struct wireless_dev * wdev,struct ieee80211_channel * chan,unsigned int duration,u64 cookie,const u8 * rx_addr) mwifiex_cfg80211_remain_on_channel() argument 345 mwifiex_cfg80211_cancel_remain_on_channel(struct wiphy * wiphy,struct wireless_dev * wdev,u64 cookie) mwifiex_cfg80211_cancel_remain_on_channel() argument 375 mwifiex_cfg80211_set_tx_power(struct wiphy * wiphy,struct wireless_dev * wdev,int radio_idx,enum nl80211_tx_power_setting type,int mbm) mwifiex_cfg80211_set_tx_power() argument 411 mwifiex_cfg80211_get_tx_power(struct wiphy * wiphy,struct wireless_dev * wdev,int radio_idx,unsigned int link_id,int * dbm) mwifiex_cfg80211_get_tx_power() argument 437 mwifiex_cfg80211_set_power_mgmt(struct wiphy * wiphy,struct net_device * dev,bool enabled,int timeout) mwifiex_cfg80211_set_power_mgmt() argument 457 mwifiex_cfg80211_set_default_key(struct wiphy * wiphy,struct net_device * netdev,int link_id,u8 key_index,bool unicast,bool multicast) mwifiex_cfg80211_set_default_key() argument 482 mwifiex_cfg80211_add_key(struct wiphy * wiphy,struct wireless_dev * wdev,int link_id,u8 key_index,bool pairwise,const u8 * mac_addr,struct key_params * params) mwifiex_cfg80211_add_key() argument 519 mwifiex_cfg80211_set_default_mgmt_key(struct wiphy * wiphy,struct wireless_dev * wdev,int link_id,u8 key_index) mwifiex_cfg80211_set_default_mgmt_key() argument 555 mwifiex_send_domain_info_cmd_fw(struct wiphy * wiphy) mwifiex_send_domain_info_cmd_fw() argument 636 mwifiex_reg_apply_radar_flags(struct wiphy * wiphy) mwifiex_reg_apply_radar_flags() argument 664 mwifiex_reg_notifier(struct wiphy * wiphy,struct regulatory_request * request) mwifiex_reg_notifier() argument 740 mwifiex_cfg80211_set_wiphy_params(struct wiphy * wiphy,int radio_idx,u32 changed) mwifiex_cfg80211_set_wiphy_params() argument 1217 mwifiex_cfg80211_change_virtual_intf(struct wiphy * wiphy,struct net_device * dev,enum nl80211_iftype type,struct vif_params * params) mwifiex_cfg80211_change_virtual_intf() argument 1556 mwifiex_cfg80211_get_station(struct wiphy * wiphy,struct wireless_dev * wdev,const u8 * mac,struct station_info * sinfo) mwifiex_cfg80211_get_station() argument 1573 mwifiex_cfg80211_dump_station(struct wiphy * wiphy,struct wireless_dev * wdev,int idx,u8 * mac,struct station_info * sinfo) mwifiex_cfg80211_dump_station() argument 1601 mwifiex_cfg80211_dump_survey(struct wiphy * wiphy,struct net_device * dev,int idx,struct survey_info * survey) mwifiex_cfg80211_dump_survey() argument 1776 mwifiex_cfg80211_set_bitrate_mask(struct wiphy * wiphy,struct net_device * dev,unsigned int link_id,const u8 * peer,const struct cfg80211_bitrate_mask * mask) mwifiex_cfg80211_set_bitrate_mask() argument 1829 mwifiex_cfg80211_set_cqm_rssi_config(struct wiphy * wiphy,struct net_device * dev,s32 rssi_thold,u32 rssi_hyst) mwifiex_cfg80211_set_cqm_rssi_config() argument 1865 mwifiex_cfg80211_change_beacon(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ap_update * params) mwifiex_cfg80211_change_beacon() argument 1903 mwifiex_cfg80211_del_station(struct wiphy * wiphy,struct wireless_dev * wdev,struct station_del_parameters * params) mwifiex_cfg80211_del_station() argument 1944 mwifiex_cfg80211_set_antenna(struct wiphy * wiphy,int radio_idx,u32 tx_ant,u32 rx_ant) mwifiex_cfg80211_set_antenna() argument 2008 mwifiex_cfg80211_get_antenna(struct wiphy * wiphy,int radio_idx,u32 * tx_ant,u32 * rx_ant) mwifiex_cfg80211_get_antenna() argument 2026 mwifiex_cfg80211_stop_ap(struct wiphy * wiphy,struct net_device * dev,unsigned int link_id) mwifiex_cfg80211_stop_ap() argument 2066 mwifiex_cfg80211_start_ap(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ap_settings * params) mwifiex_cfg80211_start_ap() argument 2185 mwifiex_cfg80211_disconnect(struct wiphy * wiphy,struct net_device * dev,u16 reason_code) mwifiex_cfg80211_disconnect() argument 2437 mwifiex_cfg80211_connect(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_connect_params * sme) mwifiex_cfg80211_connect() argument 2591 mwifiex_cfg80211_join_ibss(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_ibss_params * params) mwifiex_cfg80211_join_ibss() argument 2635 mwifiex_cfg80211_leave_ibss(struct wiphy * wiphy,struct net_device * dev) mwifiex_cfg80211_leave_ibss() argument 2657 mwifiex_cfg80211_scan(struct wiphy * wiphy,struct cfg80211_scan_request * request) mwifiex_cfg80211_scan() argument 2768 mwifiex_cfg80211_sched_scan_start(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_sched_scan_request * request) mwifiex_cfg80211_sched_scan_start() argument 2868 mwifiex_cfg80211_sched_scan_stop(struct wiphy * wiphy,struct net_device * dev,u64 reqid) mwifiex_cfg80211_sched_scan_stop() argument 2980 mwifiex_add_virtual_intf(struct wiphy * wiphy,const char * name,unsigned char name_assign_type,enum nl80211_iftype type,struct vif_params * params) mwifiex_add_virtual_intf() argument 3221 mwifiex_del_virtual_intf(struct wiphy * wiphy,struct wireless_dev * wdev) mwifiex_del_virtual_intf() argument 3488 mwifiex_cfg80211_suspend(struct wiphy * wiphy,struct cfg80211_wowlan * wowlan) mwifiex_cfg80211_suspend() argument 3569 mwifiex_cfg80211_resume(struct wiphy * wiphy) mwifiex_cfg80211_resume() argument 3643 mwifiex_cfg80211_set_wakeup(struct wiphy * wiphy,bool enabled) mwifiex_cfg80211_set_wakeup() argument 3651 mwifiex_set_rekey_data(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_gtk_rekey_data * data) mwifiex_set_rekey_data() argument 3748 mwifiex_cfg80211_set_coalesce(struct wiphy * wiphy,struct cfg80211_coalesce * coalesce) mwifiex_cfg80211_set_coalesce() argument 3786 mwifiex_cfg80211_tdls_mgmt(struct wiphy * wiphy,struct net_device * dev,const u8 * peer,int link_id,u8 action_code,u8 dialog_token,u16 status_code,u32 peer_capability,bool initiator,const u8 * extra_ies,size_t extra_ies_len) mwifiex_cfg80211_tdls_mgmt() argument 3861 mwifiex_cfg80211_tdls_oper(struct wiphy * wiphy,struct net_device * dev,const u8 * peer,enum nl80211_tdls_operation action) mwifiex_cfg80211_tdls_oper() argument 3909 mwifiex_cfg80211_tdls_chan_switch(struct wiphy * wiphy,struct net_device * dev,const u8 * addr,u8 oper_class,struct cfg80211_chan_def * chandef) mwifiex_cfg80211_tdls_chan_switch() argument 3951 mwifiex_cfg80211_tdls_cancel_chan_switch(struct wiphy * wiphy,struct net_device * dev,const u8 * addr) mwifiex_cfg80211_tdls_cancel_chan_switch() argument 4005 mwifiex_cfg80211_add_station(struct wiphy * wiphy,struct wireless_dev * wdev,const u8 * mac,struct station_parameters * params) mwifiex_cfg80211_add_station() argument 4025 mwifiex_cfg80211_channel_switch(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_csa_settings * params) mwifiex_cfg80211_channel_switch() argument 4082 mwifiex_cfg80211_get_channel(struct wiphy * wiphy,struct wireless_dev * wdev,unsigned int link_id,struct cfg80211_chan_def * chandef) mwifiex_cfg80211_get_channel() argument 4140 mwifiex_tm_cmd(struct wiphy * wiphy,struct wireless_dev * wdev,void * data,int len) mwifiex_tm_cmd() argument 4203 mwifiex_cfg80211_start_radar_detection(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_chan_def * chandef,u32 cac_time_ms,int link_id) mwifiex_cfg80211_start_radar_detection() argument 4244 mwifiex_cfg80211_change_station(struct wiphy * wiphy,struct wireless_dev * wdev,const u8 * mac,struct station_parameters * params) mwifiex_cfg80211_change_station() argument 4272 mwifiex_cfg80211_authenticate(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_auth_request * req) mwifiex_cfg80211_authenticate() argument 4426 mwifiex_cfg80211_associate(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_assoc_request * req) mwifiex_cfg80211_associate() argument 4543 mwifiex_cfg80211_deauthenticate(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_deauth_request * req) mwifiex_cfg80211_deauthenticate() argument 4551 mwifiex_cfg80211_disassociate(struct wiphy * wiphy,struct net_device * dev,struct cfg80211_disassoc_request * req) mwifiex_cfg80211_disassociate() argument 4559 mwifiex_cfg80211_probe_peer(struct wiphy * wiphy,struct net_device * dev,const u8 * peer,u64 cookie) mwifiex_cfg80211_probe_peer() argument 4702 struct wiphy *wiphy; mwifiex_register_cfg80211() local [all...] |
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | p2p.h | 145 struct wireless_dev *brcmf_p2p_add_vif(struct wiphy *wiphy, const char *name, 149 int brcmf_p2p_del_vif(struct wiphy *wiphy, struct wireless_dev *wdev); 153 int brcmf_p2p_start_device(struct wiphy *wiphy, struct wireless_dev *wdev); 154 void brcmf_p2p_stop_device(struct wiphy *wiphy, struct wireless_dev *wdev); 155 int brcmf_p2p_scan_prep(struct wiphy *wiphy, 158 int brcmf_p2p_remain_on_channel(struct wiphy *wiphy, struct wireless_dev *wdev,
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | mac80211.c | 121 struct wiphy *wiphy = mld->wiphy; in iwl_mld_hw_set_addresses() local 126 wiphy->addresses = mld->addresses; in iwl_mld_hw_set_addresses() 127 wiphy->n_addresses = 1; in iwl_mld_hw_set_addresses() 139 wiphy->n_addresses++; in iwl_mld_hw_set_addresses() 145 struct wiphy *wiphy = mld->wiphy; in iwl_mld_hw_set_channels() local 148 wiphy->bands[NL80211_BAND_2GHZ] = &bands[NL80211_BAND_2GHZ]; in iwl_mld_hw_set_channels() 149 wiphy->bands[NL80211_BAND_5GHZ] = &bands[NL80211_BAND_5GHZ]; in iwl_mld_hw_set_channels() 152 wiphy->bands[NL80211_BAND_6GHZ] = &bands[NL80211_BAND_6GHZ]; in iwl_mld_hw_set_channels() 173 hw->wiphy->n_cipher_suites = ARRAY_SIZE(mld_ciphers); in iwl_mld_hw_set_security() 174 hw->wiphy->cipher_suites = mld_ciphers; in iwl_mld_hw_set_security() [all …]
|