/linux-4.4.14/net/wireless/ |
D | rdev-ops.h | 13 trace_rdev_suspend(&rdev->wiphy, wowlan); in rdev_suspend() 14 ret = rdev->ops->suspend(&rdev->wiphy, wowlan); in rdev_suspend() 15 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_suspend() 22 trace_rdev_resume(&rdev->wiphy); in rdev_resume() 23 ret = rdev->ops->resume(&rdev->wiphy); in rdev_resume() 24 trace_rdev_return_int(&rdev->wiphy, ret); in rdev_resume() 31 trace_rdev_set_wakeup(&rdev->wiphy, enabled); in rdev_set_wakeup() 32 rdev->ops->set_wakeup(&rdev->wiphy, enabled); in rdev_set_wakeup() 33 trace_rdev_return_void(&rdev->wiphy); in rdev_set_wakeup() 43 trace_rdev_add_virtual_intf(&rdev->wiphy, name, type); in rdev_add_virtual_intf() [all …]
|
D | core.c | 70 int get_wiphy_idx(struct wiphy *wiphy) in get_wiphy_idx() argument 72 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in get_wiphy_idx() 77 struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx) in wiphy_idx_to_wiphy() 86 return &rdev->wiphy; in wiphy_idx_to_wiphy() 114 if (strcmp(newname, wiphy_name(&rdev2->wiphy)) == 0) in cfg80211_dev_check_name() 128 if (strcmp(newname, wiphy_name(&rdev->wiphy)) == 0) in cfg80211_dev_rename() 135 result = device_rename(&rdev->wiphy.dev, newname); in cfg80211_dev_rename() 139 if (rdev->wiphy.debugfsdir && in cfg80211_dev_rename() 140 !debugfs_rename(rdev->wiphy.debugfsdir->d_parent, in cfg80211_dev_rename() 141 rdev->wiphy.debugfsdir, in cfg80211_dev_rename() [all …]
|
D | trace.h | 26 #define WIPHY_ASSIGN strlcpy(__entry->wiphy_name, wiphy_name(wiphy), MAXNAME) 217 TP_PROTO(struct wiphy *wiphy, struct cfg80211_wowlan *wow), 218 TP_ARGS(wiphy, wow), 255 TP_PROTO(struct wiphy *wiphy, int ret), 256 TP_ARGS(wiphy, ret), 269 TP_PROTO(struct wiphy *wiphy, struct cfg80211_scan_request *request), 270 TP_ARGS(wiphy, request), 281 TP_PROTO(struct wiphy *wiphy), 282 TP_ARGS(wiphy), 293 TP_PROTO(struct wiphy *wiphy), [all …]
|
D | reg.c | 145 const struct ieee80211_regdomain *get_wiphy_regdom(struct wiphy *wiphy) in get_wiphy_regdom() argument 147 return rtnl_dereference(wiphy->regd); in get_wiphy_regdom() 165 enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy) in reg_get_dfs_region() argument 171 if (!wiphy) in reg_get_dfs_region() 174 wiphy_regd = get_wiphy_regdom(wiphy); in reg_get_dfs_region() 184 dev_name(&wiphy->dev), in reg_get_dfs_region() 630 static const struct ieee80211_regdomain *reg_get_regdomain(struct wiphy *wiphy) in reg_get_regdomain() argument 640 wiphy->regd) in reg_get_regdomain() 641 return get_wiphy_regdom(wiphy); in reg_get_regdomain() 1055 freq_reg_info_regd(struct wiphy *wiphy, u32 center_freq, in freq_reg_info_regd() argument [all …]
|
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); 43 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy; in name_show() local 44 return sprintf(buf, "%s\n", dev_name(&wiphy->dev)); in name_show() 52 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy; in addresses_show() local 56 if (!wiphy->addresses) in addresses_show() 57 return sprintf(buf, "%pM\n", wiphy->perm_addr); in addresses_show() 59 for (i = 0; i < wiphy->n_addresses; i++) in addresses_show() 60 buf += sprintf(buf, "%pM\n", &wiphy->addresses[i].addr); in addresses_show() [all …]
|
D | chan.c | 240 static void cfg80211_set_chans_dfs_state(struct wiphy *wiphy, u32 center_freq, in cfg80211_set_chans_dfs_state() argument 250 c = ieee80211_get_channel(wiphy, freq); in cfg80211_set_chans_dfs_state() 259 void cfg80211_set_dfs_state(struct wiphy *wiphy, in cfg80211_set_dfs_state() argument 272 cfg80211_set_chans_dfs_state(wiphy, chandef->center_freq1, in cfg80211_set_dfs_state() 277 cfg80211_set_chans_dfs_state(wiphy, chandef->center_freq2, in cfg80211_set_dfs_state() 307 static int cfg80211_get_chans_dfs_required(struct wiphy *wiphy, in cfg80211_get_chans_dfs_required() argument 318 c = ieee80211_get_channel(wiphy, freq); in cfg80211_get_chans_dfs_required() 329 int cfg80211_chandef_dfs_required(struct wiphy *wiphy, in cfg80211_chandef_dfs_required() argument 348 ret = cfg80211_get_chans_dfs_required(wiphy, in cfg80211_chandef_dfs_required() 359 ret = cfg80211_get_chans_dfs_required(wiphy, in cfg80211_chandef_dfs_required() [all …]
|
D | reg.h | 29 enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy); 48 void wiphy_regulatory_register(struct wiphy *wiphy); 49 void wiphy_regulatory_deregister(struct wiphy *wiphy); 61 const struct ieee80211_regdomain *get_wiphy_regdom(struct wiphy *wiphy); 81 int regulatory_hint_found_beacon(struct wiphy *wiphy, 106 void regulatory_hint_country_ie(struct wiphy *wiphy,
|
D | mlme.c | 26 struct wiphy *wiphy = wdev->wiphy; in cfg80211_rx_assoc_resp() local 27 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_rx_assoc_resp() 43 cfg80211_put_bss(wiphy, bss); in cfg80211_rx_assoc_resp() 58 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_auth() 67 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_deauth() 86 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_disassoc() 126 struct wiphy *wiphy = wdev->wiphy; in cfg80211_auth_timeout() local 127 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_auth_timeout() 139 struct wiphy *wiphy = wdev->wiphy; in cfg80211_assoc_timeout() local 140 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_assoc_timeout() [all …]
|
D | core.h | 102 struct wiphy wiphy __aligned(NETDEV_ALIGN); 106 struct cfg80211_registered_device *wiphy_to_rdev(struct wiphy *wiphy) in wiphy_to_rdev() argument 108 BUG_ON(!wiphy); in wiphy_to_rdev() 109 return container_of(wiphy, struct cfg80211_registered_device, wiphy); in wiphy_to_rdev() 118 if (!rdev->wiphy.wowlan_config) in cfg80211_rdev_free_wowlan() 120 for (i = 0; i < rdev->wiphy.wowlan_config->n_patterns; i++) in cfg80211_rdev_free_wowlan() 121 kfree(rdev->wiphy.wowlan_config->patterns[i].mask); in cfg80211_rdev_free_wowlan() 122 kfree(rdev->wiphy.wowlan_config->patterns); in cfg80211_rdev_free_wowlan() 123 if (rdev->wiphy.wowlan_config->tcp && in cfg80211_rdev_free_wowlan() 124 rdev->wiphy.wowlan_config->tcp->sock) in cfg80211_rdev_free_wowlan() [all …]
|
D | debugfs.c | 20 struct wiphy *wiphy= file->private_data; \ 35 wiphy->rts_threshold) 37 wiphy->frag_threshold); 39 wiphy->retry_short) 41 wiphy->retry_long); 69 struct wiphy *wiphy = file->private_data; in ht40allow_map_read() local 82 sband = wiphy->bands[band]; in ht40allow_map_read() 106 debugfs_create_file(#name, S_IRUGO, phyd, &rdev->wiphy, &name## _ops); 110 struct dentry *phyd = rdev->wiphy.debugfsdir; in cfg80211_debugfs_rdev_add()
|
D | scan.c | 242 WARN_ON(request != wiphy_to_rdev(request->wiphy)->scan_req); in cfg80211_scan_done() 246 queue_work(cfg80211_wq, &wiphy_to_rdev(request->wiphy)->scan_done_wk); in cfg80211_scan_done() 277 void cfg80211_sched_scan_results(struct wiphy *wiphy) in cfg80211_sched_scan_results() argument 279 trace_cfg80211_sched_scan_results(wiphy); in cfg80211_sched_scan_results() 282 if (rcu_access_pointer(wiphy_to_rdev(wiphy)->sched_scan_req)) in cfg80211_sched_scan_results() 284 &wiphy_to_rdev(wiphy)->sched_scan_results_wk); in cfg80211_sched_scan_results() 288 void cfg80211_sched_scan_stopped_rtnl(struct wiphy *wiphy) in cfg80211_sched_scan_stopped_rtnl() argument 290 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_sched_scan_stopped_rtnl() 294 trace_cfg80211_sched_scan_stopped(wiphy); in cfg80211_sched_scan_stopped_rtnl() 300 void cfg80211_sched_scan_stopped(struct wiphy *wiphy) in cfg80211_sched_scan_stopped() argument [all …]
|
D | sme.c | 62 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_conn_scan() 75 n_channels = ieee80211_get_num_supported_channels(wdev->wiphy); in cfg80211_conn_scan() 86 wdev->wiphy->bands[band]; in cfg80211_conn_scan() 101 bands = wdev->wiphy->bands[band]; in cfg80211_conn_scan() 123 request->wiphy = &rdev->wiphy; in cfg80211_conn_scan() 142 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_conn_do_work() 258 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_get_conn_bss() 263 bss = cfg80211_get_bss(wdev->wiphy, wdev->conn->params.channel, in cfg80211_get_conn_bss() 284 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in __cfg80211_sme_scan_done() 298 cfg80211_put_bss(&rdev->wiphy, bss); in __cfg80211_sme_scan_done() [all …]
|
D | nl80211.c | 100 if (wiphy_net(&rdev->wiphy) != netns) in __cfg80211_wdev_from_attrs() 174 netdev->ieee80211_ptr->wiphy); in __cfg80211_rdev_from_attrs() 193 if (netns != wiphy_net(&rdev->wiphy)) in __cfg80211_rdev_from_attrs() 510 *rdev = wiphy_to_rdev((*wdev)->wiphy); in nl80211_prepare_wdev_dump() 516 struct wiphy *wiphy = wiphy_idx_to_wiphy(cb->args[0] - 1); in nl80211_prepare_wdev_dump() local 519 if (!wiphy) { in nl80211_prepare_wdev_dump() 523 *rdev = wiphy_to_rdev(wiphy); in nl80211_prepare_wdev_dump() 912 static struct ieee80211_channel *nl80211_get_valid_chan(struct wiphy *wiphy, in nl80211_get_valid_chan() argument 919 chan = ieee80211_get_channel(wiphy, nla_get_u32(tb)); in nl80211_get_valid_chan() 948 static int nl80211_put_iface_combinations(struct wiphy *wiphy, in nl80211_put_iface_combinations() argument [all …]
|
D | wext-compat.c | 35 sband = wdev->wiphy->bands[IEEE80211_BAND_5GHZ]; in cfg80211_wext_giwname() 41 sband = wdev->wiphy->bands[IEEE80211_BAND_2GHZ]; in cfg80211_wext_giwname() 76 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwmode() 170 switch (wdev->wiphy->signal_type) { in cfg80211_wext_giwrange() 194 for (i = 0; i < wdev->wiphy->n_cipher_suites; i++) { in cfg80211_wext_giwrange() 195 switch (wdev->wiphy->cipher_suites[i]) { in cfg80211_wext_giwrange() 221 sband = wdev->wiphy->bands[band]; in cfg80211_wext_giwrange() 246 if (wdev->wiphy->max_scan_ssids > 0) in cfg80211_wext_giwrange() 289 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwrts() 290 u32 orts = wdev->wiphy->rts_threshold; in cfg80211_wext_siwrts() [all …]
|
D | ethtool.c | 10 strlcpy(info->driver, wiphy_dev(wdev->wiphy)->driver->name, in cfg80211_get_drvinfo() 15 if (wdev->wiphy->fw_version[0]) in cfg80211_get_drvinfo() 16 strlcpy(info->fw_version, wdev->wiphy->fw_version, in cfg80211_get_drvinfo() 21 strlcpy(info->bus_info, dev_name(wiphy_dev(wdev->wiphy)), in cfg80211_get_drvinfo()
|
D | util.c | 116 struct ieee80211_channel *__ieee80211_get_channel(struct wiphy *wiphy, in __ieee80211_get_channel() argument 124 sband = wiphy->bands[band]; in __ieee80211_get_channel() 199 void ieee80211_set_bitrate_flags(struct wiphy *wiphy) in ieee80211_set_bitrate_flags() argument 204 if (wiphy->bands[band]) in ieee80211_set_bitrate_flags() 205 set_mandatory_flags_band(wiphy->bands[band], band); in ieee80211_set_bitrate_flags() 208 bool cfg80211_supported_cipher_suite(struct wiphy *wiphy, u32 cipher) in cfg80211_supported_cipher_suite() argument 211 for (i = 0; i < wiphy->n_cipher_suites; i++) in cfg80211_supported_cipher_suite() 212 if (cipher == wiphy->cipher_suites[i]) in cfg80211_supported_cipher_suite() 224 if (!pairwise && mac_addr && !(rdev->wiphy.flags & WIPHY_FLAG_IBSS_RSN)) in cfg80211_validate_key_settings() 334 if (!cfg80211_supported_cipher_suite(&rdev->wiphy, params->cipher)) in cfg80211_validate_key_settings() [all …]
|
D | ibss.c | 32 bss = cfg80211_get_bss(wdev->wiphy, channel, bssid, NULL, 0, in __cfg80211_ibss_joined() 40 cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); in __cfg80211_ibss_joined() 48 nl80211_send_ibss_bssid(wiphy_to_rdev(wdev->wiphy), dev, bssid, in __cfg80211_ibss_joined() 61 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_ibss_joined() 105 rdev->wiphy.bands[params->chandef.chan->band]; in __cfg80211_join_ibss() 159 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in __cfg80211_clear_ibss() 179 cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); in __cfg80211_clear_ibss() 255 sband = rdev->wiphy.bands[band]; in cfg80211_ibss_wext_join() 314 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_ibss_wext_siwfreq() 330 chan = ieee80211_get_channel(wdev->wiphy, freq); in cfg80211_ibss_wext_siwfreq() [all …]
|
D | wext-sme.c | 70 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_mgd_wext_siwfreq() 83 chan = ieee80211_get_channel(wdev->wiphy, freq); in cfg80211_mgd_wext_siwfreq() 125 chandef.chan = ieee80211_get_channel(&rdev->wiphy, freq); in cfg80211_mgd_wext_siwfreq() 172 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_mgd_wext_siwessid() 263 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_mgd_wext_siwap() 336 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwgenie() 393 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwmlme()
|
D | mesh.c | 111 if (!(rdev->wiphy.flags & WIPHY_FLAG_MESH_AUTH) && in __cfg80211_join_mesh() 138 sband = rdev->wiphy.bands[band]; in __cfg80211_join_mesh() 171 rdev->wiphy.bands[setup->chandef.chan->band]; in __cfg80211_join_mesh() 177 if (!cfg80211_reg_can_beacon(&rdev->wiphy, &setup->chandef, in __cfg80211_join_mesh()
|
D | nl80211.h | 74 nl80211_send_beacon_hint_event(struct wiphy *wiphy,
|
D | wext-core.c | 649 dev->ieee80211_ptr->wiphy && in get_wireless_stats() 650 dev->ieee80211_ptr->wiphy->wext && in get_wireless_stats() 651 dev->ieee80211_ptr->wiphy->wext->get_wireless_stats) in get_wireless_stats() 652 return dev->ieee80211_ptr->wiphy->wext->get_wireless_stats(dev); in get_wireless_stats() 688 if (dev->ieee80211_ptr && dev->ieee80211_ptr->wiphy) in get_handler() 689 handlers = dev->ieee80211_ptr->wiphy->wext; in get_handler()
|
/linux-4.4.14/include/net/ |
D | cfg80211.h | 64 struct wiphy; 485 bool cfg80211_chandef_usable(struct wiphy *wiphy, 497 int cfg80211_chandef_dfs_required(struct wiphy *wiphy, 901 int cfg80211_check_station_change(struct wiphy *wiphy, 1473 struct wiphy *wiphy; member 1573 struct wiphy *wiphy; member 2497 int (*suspend)(struct wiphy *wiphy, struct cfg80211_wowlan *wow); 2498 int (*resume)(struct wiphy *wiphy); 2499 void (*set_wakeup)(struct wiphy *wiphy, bool enabled); 2501 struct wireless_dev * (*add_virtual_intf)(struct wiphy *wiphy, [all …]
|
D | mac80211.h | 2047 struct wiphy *wiphy; member 2141 struct ieee80211_hw *wiphy_to_ieee80211_hw(struct wiphy *wiphy); 2151 set_wiphy_dev(hw->wiphy, dev); in SET_IEEE80211_DEV() 2162 memcpy(hw->wiphy->perm_addr, addr, ETH_ALEN); in SET_IEEE80211_PERM_ADDR() 2171 return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[0].idx]; in ieee80211_get_tx_rate() 2180 return &hw->wiphy->bands[c->band]->bitrates[c->control.rts_cts_rate_idx]; in ieee80211_get_rts_cts_rate() 2189 return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[idx + 1].idx]; in ieee80211_get_alt_retry_rate()
|
/linux-4.4.14/drivers/net/wireless/orinoco/ |
D | cfg.c | 24 void orinoco_wiphy_init(struct wiphy *wiphy) in orinoco_wiphy_init() argument 26 struct orinoco_private *priv = wiphy_priv(wiphy); in orinoco_wiphy_init() 28 wiphy->privid = orinoco_wiphy_privid; in orinoco_wiphy_init() 30 set_wiphy_dev(wiphy, priv->dev); in orinoco_wiphy_init() 34 int orinoco_wiphy_register(struct wiphy *wiphy) in orinoco_wiphy_register() argument 36 struct orinoco_private *priv = wiphy_priv(wiphy); in orinoco_wiphy_register() 40 wiphy->max_scan_ssids = 1; in orinoco_wiphy_register() 42 wiphy->max_scan_ssids = 0; in orinoco_wiphy_register() 44 wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); in orinoco_wiphy_register() 50 wiphy->interface_modes |= BIT(NL80211_IFTYPE_ADHOC); in orinoco_wiphy_register() [all …]
|
D | cfg.h | 12 void orinoco_wiphy_init(struct wiphy *wiphy); 13 int orinoco_wiphy_register(struct wiphy *wiphy);
|
D | scan.c | 77 struct wiphy *wiphy = priv_to_wiphy(priv); in orinoco_add_hostscan_result() local 115 channel = ieee80211_get_channel(wiphy, freq); in orinoco_add_hostscan_result() 126 cbss = cfg80211_inform_bss(wiphy, channel, CFG80211_BSS_FTYPE_UNKNOWN, in orinoco_add_hostscan_result() 130 cfg80211_put_bss(wiphy, cbss); in orinoco_add_hostscan_result() 137 struct wiphy *wiphy = priv_to_wiphy(priv); in orinoco_add_extscan_result() local 152 channel = ieee80211_get_channel(wiphy, freq); in orinoco_add_extscan_result() 160 cbss = cfg80211_inform_bss(wiphy, channel, CFG80211_BSS_FTYPE_UNKNOWN, in orinoco_add_extscan_result() 164 cfg80211_put_bss(wiphy, cbss); in orinoco_add_extscan_result()
|
D | main.c | 2031 struct wiphy *wiphy = priv_to_wiphy(priv); in orinoco_init() local 2047 err = determine_fw_capabilities(priv, wiphy->fw_version, in orinoco_init() 2048 sizeof(wiphy->fw_version), in orinoco_init() 2049 &wiphy->hw_version); in orinoco_init() 2065 err = determine_fw_capabilities(priv, wiphy->fw_version, in orinoco_init() 2066 sizeof(wiphy->fw_version), in orinoco_init() 2067 &wiphy->hw_version); in orinoco_init() 2090 err = orinoco_hw_read_card_settings(priv, wiphy->perm_addr); in orinoco_init() 2116 if (orinoco_wiphy_register(wiphy)) { in orinoco_init() 2178 struct wiphy *wiphy; in alloc_orinocodev() local [all …]
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/ |
D | regd.c | 154 static void _rtl_reg_apply_beaconing_flags(struct wiphy *wiphy, in _rtl_reg_apply_beaconing_flags() argument 165 if (!wiphy->bands[band]) in _rtl_reg_apply_beaconing_flags() 168 sband = wiphy->bands[band]; in _rtl_reg_apply_beaconing_flags() 176 reg_rule = freq_reg_info(wiphy, in _rtl_reg_apply_beaconing_flags() 205 static void _rtl_reg_apply_active_scan_flags(struct wiphy *wiphy, in _rtl_reg_apply_active_scan_flags() argument 213 if (!wiphy->bands[IEEE80211_BAND_2GHZ]) in _rtl_reg_apply_active_scan_flags() 215 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in _rtl_reg_apply_active_scan_flags() 239 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags() 247 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags() 259 static void _rtl_reg_apply_radar_flags(struct wiphy *wiphy) in _rtl_reg_apply_radar_flags() argument [all …]
|
D | regd.h | 59 void (*reg_notifier) (struct wiphy *wiphy, 61 void rtl_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request);
|
D | base.c | 342 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in _rtl_init_mac80211() 358 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = sband; in _rtl_init_mac80211() 374 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in _rtl_init_mac80211() 390 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = sband; in _rtl_init_mac80211() 409 hw->wiphy->interface_modes = in _rtl_init_mac80211() 416 hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN; in _rtl_init_mac80211() 418 hw->wiphy->flags |= WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL; in _rtl_init_mac80211() 420 hw->wiphy->rts_threshold = 2347; in _rtl_init_mac80211() 443 hw->wiphy->wowlan = &rtlpriv->wowlan; in _rtl_init_mac80211() 506 wiphy_rfkill_set_hw_state(hw->wiphy, 0); in rtl_init_rfkill() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ |
D | regd.c | 262 static void ath_force_clear_no_ir_chan(struct wiphy *wiphy, in ath_force_clear_no_ir_chan() argument 267 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(ch->center_freq)); in ath_force_clear_no_ir_chan() 276 static void ath_force_clear_no_ir_freq(struct wiphy *wiphy, u16 center_freq) in ath_force_clear_no_ir_freq() argument 280 ch = ieee80211_get_channel(wiphy, center_freq); in ath_force_clear_no_ir_freq() 284 ath_force_clear_no_ir_chan(wiphy, ch); in ath_force_clear_no_ir_freq() 292 static void ath_force_no_ir_freq(struct wiphy *wiphy, u16 center_freq) in ath_force_no_ir_freq() argument 296 ch = ieee80211_get_channel(wiphy, center_freq); in ath_force_no_ir_freq() 304 __ath_reg_apply_beaconing_flags(struct wiphy *wiphy, in __ath_reg_apply_beaconing_flags() argument 315 ath_force_clear_no_ir_chan(wiphy, ch); in __ath_reg_apply_beaconing_flags() 319 ath_force_clear_no_ir_chan(wiphy, ch); in __ath_reg_apply_beaconing_flags() [all …]
|
D | trace.h | 35 TP_PROTO(struct wiphy *wiphy, 38 TP_ARGS(wiphy, vaf), 41 __string(device, wiphy_name(wiphy)) 47 __assign_str(device, wiphy_name(wiphy));
|
D | regd.h | 254 int ath_regd_init(struct ath_regulatory *reg, struct wiphy *wiphy, 255 void (*reg_notifier)(struct wiphy *wiphy, 259 void ath_reg_notifier_apply(struct wiphy *wiphy,
|
D | main.c | 82 if (common && common->hw && common->hw->wiphy) { in ath_printk() 84 level, wiphy_name(common->hw->wiphy), &vaf); in ath_printk() 85 trace_ath_log(common->hw->wiphy, &vaf); in ath_printk()
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | cfg80211.c | 174 static int wil_cfg80211_get_station(struct wiphy *wiphy, in wil_cfg80211_get_station() argument 178 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_get_station() 210 static int wil_cfg80211_dump_station(struct wiphy *wiphy, in wil_cfg80211_dump_station() argument 214 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_dump_station() 229 static int wil_cfg80211_change_iface(struct wiphy *wiphy, in wil_cfg80211_change_iface() argument 234 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_change_iface() 259 static int wil_cfg80211_scan(struct wiphy *wiphy, in wil_cfg80211_scan() argument 262 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_scan() 396 static int wil_cfg80211_connect(struct wiphy *wiphy, in wil_cfg80211_connect() argument 400 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_connect() [all …]
|
D | netdev.c | 162 ch = wdev->wiphy->bands[IEEE80211_BAND_60GHZ]->channels; in wil_if_alloc() 181 SET_NETDEV_DEV(ndev, wiphy_dev(wdev->wiphy)); in wil_if_alloc()
|
D | wmi.c | 294 snprintf(wdev->wiphy->fw_version, sizeof(wdev->wiphy->fw_version), in wmi_evt_ready() 306 struct wiphy *wiphy = wil_to_wiphy(wil); in wmi_evt_rx_mgmt() local 333 channel = ieee80211_get_channel(wiphy, freq); in wmi_evt_rx_mgmt() 367 bss = cfg80211_inform_bss_frame(wiphy, channel, rx_mgmt_frame, in wmi_evt_rx_mgmt() 372 cfg80211_put_bss(wiphy, bss); in wmi_evt_rx_mgmt()
|
D | wil6210.h | 633 #define wil_to_wiphy(i) (i->wdev->wiphy) 782 int wil_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev,
|
/linux-4.4.14/drivers/staging/wlan-ng/ |
D | cfg80211.c | 101 static int prism2_change_virtual_intf(struct wiphy *wiphy, in prism2_change_virtual_intf() argument 143 static int prism2_add_key(struct wiphy *wiphy, struct net_device *dev, in prism2_add_key() argument 203 static int prism2_get_key(struct wiphy *wiphy, struct net_device *dev, in prism2_get_key() argument 233 static int prism2_del_key(struct wiphy *wiphy, struct net_device *dev, in prism2_del_key() argument 279 static int prism2_set_default_key(struct wiphy *wiphy, struct net_device *dev, in prism2_set_default_key() argument 297 static int prism2_get_station(struct wiphy *wiphy, struct net_device *dev, in prism2_get_station() argument 330 static int prism2_scan(struct wiphy *wiphy, in prism2_scan() argument 334 struct prism2_wiphy_private *priv = wiphy_priv(wiphy); in prism2_scan() 417 bss = cfg80211_inform_bss(wiphy, in prism2_scan() 418 ieee80211_get_channel(wiphy, freq), in prism2_scan() [all …]
|
D | p80211netdev.c | 724 struct wiphy *wiphy; in wlan_setup() local 738 wiphy = wlan_create_wiphy(physdev, wlandev); in wlan_setup() 739 if (wiphy == NULL) { in wlan_setup() 749 wlan_free_wiphy(wiphy); in wlan_setup() 756 wdev->wiphy = wiphy; in wlan_setup() 794 if (wdev->wiphy) in wlan_unsetup() 795 wlan_free_wiphy(wdev->wiphy); in wlan_unsetup()
|
/linux-4.4.14/net/mac80211/ |
D | main.c | 269 wiphy_info(hw->wiphy, in ieee80211_restart_hw() 308 if (wdev->wiphy != local->hw.wiphy) in ieee80211_ifa_changed() 360 if (!wdev || wdev->wiphy != local->hw.wiphy) in ieee80211_ifa6_changed() 485 struct wiphy *wiphy; in ieee80211_alloc_hw_nm() local 521 wiphy = wiphy_new_nm(&mac80211_config_ops, priv_size, requested_name); in ieee80211_alloc_hw_nm() 523 if (!wiphy) in ieee80211_alloc_hw_nm() 526 wiphy->mgmt_stypes = ieee80211_default_mgmt_stypes; in ieee80211_alloc_hw_nm() 528 wiphy->privid = mac80211_wiphy_privid; in ieee80211_alloc_hw_nm() 530 wiphy->flags |= WIPHY_FLAG_NETNS_OK | in ieee80211_alloc_hw_nm() 537 wiphy->flags |= WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL; in ieee80211_alloc_hw_nm() [all …]
|
D | cfg.c | 24 static struct wireless_dev *ieee80211_add_iface(struct wiphy *wiphy, in ieee80211_add_iface() argument 31 struct ieee80211_local *local = wiphy_priv(wiphy); in ieee80211_add_iface() 48 static int ieee80211_del_iface(struct wiphy *wiphy, struct wireless_dev *wdev) in ieee80211_del_iface() argument 55 static int ieee80211_change_iface(struct wiphy *wiphy, in ieee80211_change_iface() argument 111 static int ieee80211_start_p2p_device(struct wiphy *wiphy, in ieee80211_start_p2p_device() argument 126 static void ieee80211_stop_p2p_device(struct wiphy *wiphy, in ieee80211_stop_p2p_device() argument 132 static int ieee80211_set_noack_map(struct wiphy *wiphy, in ieee80211_set_noack_map() argument 145 static int ieee80211_add_key(struct wiphy *wiphy, struct net_device *dev, in ieee80211_add_key() argument 258 static int ieee80211_del_key(struct wiphy *wiphy, struct net_device *dev, in ieee80211_del_key() argument 299 static int ieee80211_get_key(struct wiphy *wiphy, struct net_device *dev, in ieee80211_get_key() argument [all …]
|
D | debug.h | 87 void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...) 96 #define _wiphy_dbg(print, wiphy, fmt, ...) \ argument 97 __wiphy_dbg(wiphy, print, fmt, ##__VA_ARGS__) 118 #define _wiphy_dbg(print, wiphy, fmt, ...) \ argument 121 wiphy_dbg((wiphy), fmt, ##__VA_ARGS__); \ 154 (hw)->wiphy, fmt, ##__VA_ARGS__)
|
D | tdls.c | 45 bool chan_switch = local->hw.wiphy->features & in ieee80211_tdls_add_ext_capab() 50 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in ieee80211_tdls_add_ext_capab() 75 struct wiphy *wiphy = sdata->local->hw.wiphy; in ieee80211_tdls_add_subband() local 81 ch = ieee80211_get_channel(sdata->local->hw.wiphy, i); in ieee80211_tdls_add_subband() 86 if (cfg80211_reg_can_beacon_relax(wiphy, &chandef, in ieee80211_tdls_add_subband() 336 !cfg80211_reg_can_beacon_relax(sdata->local->hw.wiphy, &uc, in ieee80211_tdls_chandef_vht_upgrade() 439 sband = local->hw.wiphy->bands[band]; in ieee80211_tdls_add_setup_start_ies() 740 ieee80211_prep_tdls_encap_data(struct wiphy *wiphy, struct net_device *dev, in ieee80211_prep_tdls_encap_data() argument 822 ieee80211_prep_tdls_direct(struct wiphy *wiphy, struct net_device *dev, in ieee80211_prep_tdls_direct() argument 899 ret = ieee80211_prep_tdls_encap_data(local->hw.wiphy, in ieee80211_tdls_build_mgmt_packet_data() [all …]
|
D | trace.c | 60 void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...) in __wiphy_dbg() argument 71 wiphy_dbg(wiphy, "%pV", &vaf); in __wiphy_dbg()
|
D | ibss.c | 93 sband = local->hw.wiphy->bands[chandef->chan->band]; in ieee80211_ibss_build_presp() 267 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef, in __ieee80211_sta_join_ibss() 280 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef, in __ieee80211_sta_join_ibss() 288 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy, in __ieee80211_sta_join_ibss() 389 bss = cfg80211_inform_bss_frame_data(local->hw.wiphy, &bss_meta, mgmt, in __ieee80211_sta_join_ibss() 392 cfg80211_put_bss(local->hw.wiphy, bss); in __ieee80211_sta_join_ibss() 443 sband = sdata->local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_sta_join_ibss() 498 cbss = cfg80211_get_bss(sdata->local->hw.wiphy, ifibss->chandef.chan, in ieee80211_ibss_csa_beacon() 512 cfg80211_put_bss(sdata->local->hw.wiphy, cbss); in ieee80211_ibss_csa_beacon() 546 cbss = cfg80211_get_bss(sdata->local->hw.wiphy, in ieee80211_ibss_finish_csa() [all …]
|
D | iface.c | 169 if (is_zero_ether_addr(local->hw.wiphy->addr_mask)) in ieee80211_verify_mac() 177 m = local->hw.wiphy->addr_mask; in ieee80211_verify_mac() 413 wiphy_name(local->hw.wiphy)); in ieee80211_add_virtual_monitor() 571 local->hw.wiphy->perm_addr, in ieee80211_do_open() 1568 memcpy(perm_addr, local->hw.wiphy->perm_addr, ETH_ALEN); in ieee80211_assign_perm_addr() 1570 if (is_zero_ether_addr(local->hw.wiphy->addr_mask) && in ieee80211_assign_perm_addr() 1571 local->hw.wiphy->n_addresses <= 1) in ieee80211_assign_perm_addr() 1606 for (i = 0; i < local->hw.wiphy->n_addresses; i++) { in ieee80211_assign_perm_addr() 1610 if (ether_addr_equal(local->hw.wiphy->addresses[i].addr, in ieee80211_assign_perm_addr() 1619 local->hw.wiphy->addresses[i].addr, in ieee80211_assign_perm_addr() [all …]
|
D | led.c | 38 wiphy_name(local->hw.wiphy)); in ieee80211_alloc_led_names() 40 wiphy_name(local->hw.wiphy)); in ieee80211_alloc_led_names() 42 wiphy_name(local->hw.wiphy)); in ieee80211_alloc_led_names() 44 wiphy_name(local->hw.wiphy)); in ieee80211_alloc_led_names() 302 "%stpt", wiphy_name(local->hw.wiphy)); in __ieee80211_create_tpt_led_trigger()
|
D | scan.c | 37 cfg80211_put_bss(local->hw.wiphy, in ieee80211_rx_bss_put() 84 cbss = cfg80211_inform_bss_frame_data(local->hw.wiphy, &bss_meta, in ieee80211_bss_info_update() 90 <= local->hw.wiphy->max_adj_channel_rssi_comp; in ieee80211_bss_info_update() 158 local->hw.wiphy->bands[rx_status->band]; in ieee80211_bss_info_update() 220 channel = ieee80211_get_channel(local->hw.wiphy, rx_status->freq); in ieee80211_scan_rx() 965 if (!local->hw.wiphy->bands[band]) in ieee80211_request_ibss_scan() 968 max_n = local->hw.wiphy->bands[band]->n_channels; in ieee80211_request_ibss_scan() 971 &local->hw.wiphy->bands[band]->channels[i]; in ieee80211_request_ibss_scan() 1097 if (local->hw.wiphy->bands[i]) { in __ieee80211_request_sched_scan_start() 1188 cfg80211_sched_scan_results(hw->wiphy); in ieee80211_sched_scan_results() [all …]
|
D | ethtool.c | 19 struct ieee80211_local *local = wiphy_priv(dev->ieee80211_ptr->wiphy); in ieee80211_set_ringparam() 30 struct ieee80211_local *local = wiphy_priv(dev->ieee80211_ptr->wiphy); in ieee80211_get_ringparam() 228 regs->version = wdev->wiphy->hw_version; in ieee80211_get_regs()
|
D | ieee80211_i.h | 1593 int ieee80211_channel_switch(struct wiphy *wiphy, struct net_device *dev, 1761 wiphy_name(hw->wiphy)); in __ieee80211_resume() 2047 int ieee80211_tdls_mgmt(struct wiphy *wiphy, struct net_device *dev, 2052 int ieee80211_tdls_oper(struct wiphy *wiphy, struct net_device *dev, 2055 int ieee80211_tdls_channel_switch(struct wiphy *wiphy, struct net_device *dev, 2058 void ieee80211_tdls_cancel_channel_switch(struct wiphy *wiphy,
|
D | util.c | 41 struct ieee80211_hw *wiphy_to_ieee80211_hw(struct wiphy *wiphy) in wiphy_to_ieee80211_hw() argument 44 BUG_ON(!wiphy); in wiphy_to_ieee80211_hw() 46 local = wiphy_priv(wiphy); in wiphy_to_ieee80211_hw() 169 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration() 213 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration() 1319 sband = local->hw.wiphy->bands[band]; in ieee80211_build_preq_ies_band() 1588 sband = sdata->local->hw.wiphy->bands[band]; in ieee80211_sta_get_rates() 1704 cfg80211_shutdown_all_interfaces(local->hw.wiphy); in ieee80211_handle_reconfig_failure() 1824 drv_set_frag_threshold(local, hw->wiphy->frag_threshold); in ieee80211_reconfig() 1827 drv_set_rts_threshold(local, hw->wiphy->rts_threshold); in ieee80211_reconfig() [all …]
|
D | rate.c | 54 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init() 217 debugfsdir = debugfs_create_dir("rc", local->hw.wiphy->debugfsdir); in rate_control_alloc() 816 sband = sdata->local->hw.wiphy->bands[info->band]; in ieee80211_get_tx_rates() 878 sband = hw->wiphy->bands[ieee80211_get_sdata_band(sta->sdata)]; in rate_control_set_rates() 915 wiphy_warn(local->hw.wiphy, in ieee80211_init_rate_ctrl_alg() 923 wiphy_debug(local->hw.wiphy, "Selected rate control algorithm '%s'\n", in ieee80211_init_rate_ctrl_alg()
|
D | mesh.c | 420 sband = local->hw.wiphy->bands[band]; in mesh_add_ht_cap_ie() 455 sband = local->hw.wiphy->bands[channel->band]; in mesh_add_ht_oper_ie() 483 sband = local->hw.wiphy->bands[band]; in mesh_add_vht_cap_ie() 518 sband = local->hw.wiphy->bands[channel->band]; in mesh_add_vht_oper_ie() 961 if (!cfg80211_chandef_usable(sdata->local->hw.wiphy, ¶ms.chandef, in ieee80211_mesh_process_chnswitch() 973 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy, in ieee80211_mesh_process_chnswitch() 1008 if (ieee80211_channel_switch(sdata->local->hw.wiphy, sdata->dev, in ieee80211_mesh_process_chnswitch() 1110 channel = ieee80211_get_channel(local->hw.wiphy, freq); in ieee80211_mesh_rx_bcn_presp()
|
D | debugfs_netdev.c | 250 if (!(local->hw.wiphy->features & NL80211_FEATURE_STATIC_SMPS) && in ieee80211_set_smps() 255 if (!(local->hw.wiphy->features & NL80211_FEATURE_DYNAMIC_SMPS) && in ieee80211_set_smps() 512 wiphy_info(local->hw.wiphy, "debugfs reset TSF\n"); in ieee80211_if_parse_tsf() 531 wiphy_info(local->hw.wiphy, in ieee80211_if_parse_tsf() 763 sdata->local->hw.wiphy->debugfsdir); in ieee80211_debugfs_add_netdev()
|
D | pm.c | 13 cfg80211_sched_scan_stopped_rtnl(local->hw.wiphy); in ieee80211_sched_scan_cancel()
|
D | vht.c | 389 sband = local->hw.wiphy->bands[band]; in __ieee80211_vht_handle_opmode() 433 struct ieee80211_supported_band *sband = local->hw.wiphy->bands[band]; in ieee80211_vht_handle_opmode()
|
D | tx.c | 79 sband = local->hw.wiphy->bands[info->band]; in ieee80211_duration() 666 sband = tx->local->hw.wiphy->bands[info->band]; in ieee80211_tx_h_rate_ctrl() 669 tx->local->hw.wiphy->frag_threshold); in ieee80211_tx_h_rate_ctrl() 693 if (len > tx->local->hw.wiphy->rts_threshold) { in ieee80211_tx_h_rate_ctrl() 917 int frag_threshold = tx->local->hw.wiphy->frag_threshold; in ieee80211_tx_h_fragment() 1214 skb->len + FCS_LEN <= local->hw.wiphy->frag_threshold || in ieee80211_tx_prepare() 1621 wiphy_debug(local->hw.wiphy, in ieee80211_skb_resize() 1881 if (!cfg80211_reg_can_beacon(local->hw.wiphy, chandef, in ieee80211_monitor_start_xmit() 1942 if (sdata->wdev.wiphy->flags & WIPHY_FLAG_SUPPORTS_TDLS) { in ieee80211_lookup_ra_sta() 2464 if (local->hw.wiphy->frag_threshold != (u32)-1 && in ieee80211_check_fast_xmit() [all …]
|
D | chan.c | 1317 wiphy_info(local->hw.wiphy, in ieee80211_vif_use_reserved_switch() 1474 cfg80211_stop_iface(local->hw.wiphy, in ieee80211_vif_use_reserved_switch() 1566 ret = cfg80211_chandef_dfs_required(local->hw.wiphy, in ieee80211_vif_use_channel() 1666 wiphy_info(local->hw.wiphy, in ieee80211_vif_use_reserved_context() 1685 if (!cfg80211_chandef_usable(sdata->local->hw.wiphy, chandef, in ieee80211_vif_change_bandwidth()
|
D | mlme.c | 315 while (!cfg80211_chandef_usable(sdata->local->hw.wiphy, chandef, in ieee80211_determine_chantype() 374 sband = local->hw.wiphy->bands[chan->band]; in ieee80211_config_bw() 648 sband = local->hw.wiphy->bands[chan->band]; in ieee80211_send_assoc() 1163 if (!cfg80211_chandef_usable(local->hw.wiphy, &csa_ie.chandef, in ieee80211_sta_process_chanswitch() 2514 cfg80211_put_bss(sdata->local->hw.wiphy, auth_data->bss); in ieee80211_destroy_auth_data() 3000 sband = local->hw.wiphy->bands[ieee80211_get_sdata_band(sdata)]; in ieee80211_assoc_success() 3219 channel = ieee80211_get_channel(local->hw.wiphy, rx_status->freq); in ieee80211_rx_bss_info() 3723 cfg80211_unlink_bss(local->hw.wiphy, auth_data->bss); in ieee80211_auth() 3782 cfg80211_unlink_bss(local->hw.wiphy, assoc_data->bss); in ieee80211_do_assoc() 3947 wiphy_debug(local->hw.wiphy, in ieee80211_sta_work() [all …]
|
D | ocb.c | 81 sband = local->hw.wiphy->bands[band]; in ieee80211_ocb_rx_no_sta()
|
D | spectmgmt.c | 82 new_chan = ieee80211_get_channel(sdata->local->hw.wiphy, new_freq); in ieee80211_parse_ch_switch_ie()
|
D | rc80211_minstrel.c | 583 sband = hw->wiphy->bands[i]; in minstrel_alloc_sta() 624 sband = mp->hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in minstrel_init_cck_rates()
|
D | debugfs.c | 240 struct dentry *phyd = local->hw.wiphy->debugfsdir; in debugfs_hw_add()
|
D | status.c | 630 sband = hw->wiphy->bands[info->band]; in ieee80211_tx_status_noskb() 753 sband = local->hw.wiphy->bands[info->band]; in ieee80211_tx_status()
|
D | offchannel.c | 287 wiphy_warn(local->hw.wiphy, in ieee80211_start_next_roc()
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | vendor_cmd.c | 29 wlcore_vendor_cmd_smart_config_start(struct wiphy *wiphy, in wlcore_vendor_cmd_smart_config_start() argument 33 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in wlcore_vendor_cmd_smart_config_start() 73 wlcore_vendor_cmd_smart_config_stop(struct wiphy *wiphy, in wlcore_vendor_cmd_smart_config_stop() argument 77 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() 191 void wlcore_set_vendor_commands(struct wiphy *wiphy) in wlcore_set_vendor_commands() argument 193 wiphy->vendor_commands = wlcore_vendor_commands; in wlcore_set_vendor_commands() 194 wiphy->n_vendor_commands = ARRAY_SIZE(wlcore_vendor_commands); in wlcore_set_vendor_commands() 195 wiphy->vendor_events = wlcore_vendor_events; in wlcore_set_vendor_commands() [all …]
|
D | vendor_cmd.h | 15 void wlcore_set_vendor_commands(struct wiphy *wiphy);
|
D | testmode.c | 126 skb = cfg80211_testmode_alloc_reply_skb(wl->hw->wiphy, len); in wl1271_tm_cmd_test() 189 skb = cfg80211_testmode_alloc_reply_skb(wl->hw->wiphy, sizeof(*cmd)); in wl1271_tm_cmd_interrogate() 260 skb = cfg80211_testmode_alloc_reply_skb(wl->hw->wiphy, len); in wl1271_tm_detect_fem() 340 skb = cfg80211_testmode_alloc_reply_skb(wl->hw->wiphy, ETH_ALEN); in wl12xx_tm_cmd_get_mac()
|
D | main.c | 79 static void wl1271_reg_notify(struct wiphy *wiphy, in wl1271_reg_notify() argument 82 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in wl1271_reg_notify() 1136 struct wiphy *wiphy = wl->hw->wiphy; in wl1271_plt_start() local 1180 wiphy->hw_version = wl->chip.id; in wl1271_plt_start() 1181 strncpy(wiphy->fw_version, wl->chip.fw_ver_str, in wl1271_plt_start() 1182 sizeof(wiphy->fw_version)); in wl1271_plt_start() 2352 struct wiphy *wiphy = wl->hw->wiphy; in wl12xx_init_fw() local 2398 wiphy->hw_version = wl->chip.id; in wl12xx_init_fw() 2399 strncpy(wiphy->fw_version, wl->chip.fw_ver_str, in wl12xx_init_fw() 2400 sizeof(wiphy->fw_version)); in wl12xx_init_fw() [all …]
|
D | init.c | 274 ret = wl1271_acx_rts_threshold(wl, wlvif, wl->hw->wiphy->rts_threshold); in wl12xx_init_phy_vif_config() 730 ret = wl1271_acx_frag_threshold(wl, wl->hw->wiphy->frag_threshold); in wl1271_hw_init()
|
D | cmd.c | 1691 struct wiphy *wiphy = wl->hw->wiphy; in wlcore_cmd_regdomain_config_locked() local 1703 band = wiphy->bands[b]; in wlcore_cmd_regdomain_config_locked()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | p2p.h | 153 struct wireless_dev *brcmf_p2p_add_vif(struct wiphy *wiphy, const char *name, 157 int brcmf_p2p_del_vif(struct wiphy *wiphy, struct wireless_dev *wdev); 161 int brcmf_p2p_start_device(struct wiphy *wiphy, struct wireless_dev *wdev); 162 void brcmf_p2p_stop_device(struct wiphy *wiphy, struct wireless_dev *wdev); 163 int brcmf_p2p_scan_prep(struct wiphy *wiphy, 166 int brcmf_p2p_remain_on_channel(struct wiphy *wiphy, struct wireless_dev *wdev,
|
D | cfg80211.c | 403 return cfg80211_check_combinations(cfg->wiphy, 1, 0, iftype_num); in brcmf_vif_change_validate() 417 return cfg80211_check_combinations(cfg->wiphy, 1, 0, iftype_num); in brcmf_vif_add_validate() 535 struct wireless_dev *brcmf_ap_add_vif(struct wiphy *wiphy, const char *name, in brcmf_ap_add_vif() argument 538 struct brcmf_cfg80211_info *cfg = wiphy_to_cfg(wiphy); in brcmf_ap_add_vif() 605 static struct wireless_dev *brcmf_cfg80211_add_iface(struct wiphy *wiphy, in brcmf_cfg80211_add_iface() argument 616 err = brcmf_vif_add_validate(wiphy_to_cfg(wiphy), type); in brcmf_cfg80211_add_iface() 630 wdev = brcmf_ap_add_vif(wiphy, name, flags, params); in brcmf_cfg80211_add_iface() 637 wdev = brcmf_p2p_add_vif(wiphy, name, name_assign_type, type, flags, params); in brcmf_cfg80211_add_iface() 729 int brcmf_cfg80211_del_iface(struct wiphy *wiphy, struct wireless_dev *wdev) in brcmf_cfg80211_del_iface() argument 731 struct brcmf_cfg80211_info *cfg = wiphy_priv(wiphy); in brcmf_cfg80211_del_iface() [all …]
|
D | cfg80211.h | 233 struct wiphy *wiphy; member 375 struct wiphy *wiphy; member 424 static inline struct wiphy *cfg_to_wiphy(struct brcmf_cfg80211_info *cfg) in cfg_to_wiphy() 426 return cfg->wiphy; in cfg_to_wiphy() 429 static inline struct brcmf_cfg80211_info *wiphy_to_cfg(struct wiphy *w) in wiphy_to_cfg()
|
D | vendor.c | 30 static int brcmf_cfg80211_vndr_cmds_dcmd_handler(struct wiphy *wiphy, in brcmf_cfg80211_vndr_cmds_dcmd_handler() argument 91 reply = cfg80211_vendor_cmd_alloc_reply_skb(wiphy, payload); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
|
D | p2p.c | 886 int brcmf_p2p_scan_prep(struct wiphy *wiphy, in brcmf_p2p_scan_prep() argument 890 struct brcmf_cfg80211_info *cfg = wiphy_to_cfg(wiphy); in brcmf_p2p_scan_prep() 971 int brcmf_p2p_remain_on_channel(struct wiphy *wiphy, struct wireless_dev *wdev, in brcmf_p2p_remain_on_channel() argument 975 struct brcmf_cfg80211_info *cfg = wiphy_to_cfg(wiphy); in brcmf_p2p_remain_on_channel() 2063 struct wiphy *wiphy, in brcmf_p2p_create_p2pdev() argument 2146 struct wireless_dev *brcmf_p2p_add_vif(struct wiphy *wiphy, const char *name, in brcmf_p2p_add_vif() argument 2151 struct brcmf_cfg80211_info *cfg = wiphy_to_cfg(wiphy); in brcmf_p2p_add_vif() 2170 return brcmf_p2p_create_p2pdev(&cfg->p2p, wiphy, in brcmf_p2p_add_vif() 2235 int brcmf_p2p_del_vif(struct wiphy *wiphy, struct wireless_dev *wdev) in brcmf_p2p_del_vif() argument 2237 struct brcmf_cfg80211_info *cfg = wiphy_priv(wiphy); in brcmf_p2p_del_vif() [all …]
|
D | btcoex.c | 469 struct brcmf_cfg80211_info *cfg = wiphy_priv(vif->wdev.wiphy); in brcmf_btcoex_set_mode()
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
D | cfg80211.c | 133 static void *mwifiex_cfg80211_get_adapter(struct wiphy *wiphy) in mwifiex_cfg80211_get_adapter() argument 135 return (void *) (*(unsigned long *) wiphy_priv(wiphy)); in mwifiex_cfg80211_get_adapter() 142 mwifiex_cfg80211_del_key(struct wiphy *wiphy, struct net_device *netdev, in mwifiex_cfg80211_del_key() argument 197 mwifiex_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, in mwifiex_cfg80211_mgmt_tx() argument 261 mwifiex_cfg80211_mgmt_frame_register(struct wiphy *wiphy, in mwifiex_cfg80211_mgmt_frame_register() argument 286 mwifiex_cfg80211_remain_on_channel(struct wiphy *wiphy, in mwifiex_cfg80211_remain_on_channel() argument 328 mwifiex_cfg80211_cancel_remain_on_channel(struct wiphy *wiphy, in mwifiex_cfg80211_cancel_remain_on_channel() argument 358 mwifiex_cfg80211_set_tx_power(struct wiphy *wiphy, in mwifiex_cfg80211_set_tx_power() argument 363 struct mwifiex_adapter *adapter = mwifiex_cfg80211_get_adapter(wiphy); in mwifiex_cfg80211_set_tx_power() 386 mwifiex_cfg80211_set_power_mgmt(struct wiphy *wiphy, in mwifiex_cfg80211_set_power_mgmt() argument [all …]
|
D | cfp.c | 325 sband = priv->wdev.wiphy->bands[IEEE80211_BAND_2GHZ]; in mwifiex_get_cfp() 327 sband = priv->wdev.wiphy->bands[IEEE80211_BAND_5GHZ]; in mwifiex_get_cfp() 395 struct wiphy *wiphy = priv->adapter->wiphy; in mwifiex_get_rates_from_cfg80211() local 402 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in mwifiex_get_rates_from_cfg80211() 407 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in mwifiex_get_rates_from_cfg80211()
|
D | main.c | 578 wdev = mwifiex_add_virtual_intf(adapter->wiphy, "mlan%d", NET_NAME_ENUM, in mwifiex_fw_dpc() 588 wdev = mwifiex_add_virtual_intf(adapter->wiphy, "uap%d", NET_NAME_ENUM, in mwifiex_fw_dpc() 599 wdev = mwifiex_add_virtual_intf(adapter->wiphy, "p2p%d", NET_NAME_ENUM, in mwifiex_fw_dpc() 616 wiphy_unregister(adapter->wiphy); in mwifiex_fw_dpc() 617 wiphy_free(adapter->wiphy); in mwifiex_fw_dpc() 1475 mwifiex_del_virtual_intf(adapter->wiphy, &priv->wdev); in mwifiex_remove_card() 1479 wiphy_unregister(adapter->wiphy); in mwifiex_remove_card() 1480 wiphy_free(adapter->wiphy); in mwifiex_remove_card()
|
D | 11h.c | 52 sband = priv->wdev.wiphy->bands[radio_type]; in mwifiex_11h_process_infra_join() 270 cfg80211_radar_event(priv->adapter->wiphy, &priv->dfs_chandef, in mwifiex_11h_handle_radar_detected()
|
D | main.h | 834 struct wiphy *wiphy; member 1445 struct wireless_dev *mwifiex_add_virtual_intf(struct wiphy *wiphy, 1451 int mwifiex_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev); 1565 int mwifiex_send_domain_info_cmd_fw(struct wiphy *wiphy);
|
D | scan.c | 505 if (!priv->wdev.wiphy->bands[band]) in mwifiex_scan_create_channel_list() 508 sband = priv->wdev.wiphy->bands[band]; in mwifiex_scan_create_channel_list() 1834 chan = ieee80211_get_channel(priv->wdev.wiphy, freq); in mwifiex_parse_single_response_buf() 1837 bss = cfg80211_inform_bss(priv->wdev.wiphy, in mwifiex_parse_single_response_buf() 1852 cfg80211_put_bss(priv->wdev.wiphy, bss); in mwifiex_parse_single_response_buf()
|
D | 11n.c | 42 priv->wdev.wiphy->bands[radio_type]; in mwifiex_fill_cap_info() 331 sband = priv->wdev.wiphy->bands[radio_type]; in mwifiex_cmd_append_11n_tlv()
|
/linux-4.4.14/drivers/staging/wilc1000/ |
D | wilc_wfi_cfgoperations.c | 168 struct wiphy *wiphy; in refresh_scan() local 174 wiphy = priv->dev->ieee80211_ptr->wiphy; in refresh_scan() 189 channel = ieee80211_get_channel(wiphy, s32Freq); in refresh_scan() 193 …bss = cfg80211_inform_bss(wiphy, channel, CFG80211_BSS_FTYPE_UNKNOWN, pstrNetworkInfo->au8bssid, p… in refresh_scan() 196 cfg80211_put_bss(wiphy, bss); in refresh_scan() 358 struct wiphy *wiphy; in CfgScanResult() local 366 wiphy = priv->dev->ieee80211_ptr->wiphy; in CfgScanResult() 368 if (!wiphy) in CfgScanResult() 371 if (wiphy->signal_type == CFG80211_SIGNAL_TYPE_UNSPEC in CfgScanResult() 383 channel = ieee80211_get_channel(wiphy, s32Freq); in CfgScanResult() [all …]
|
D | wilc_wfi_cfgoperations.h | 96 int WILC_WFI_update_stats(struct wiphy *wiphy, u32 pktlen, u8 changed); 102 void wilc_mgmt_frame_register(struct wiphy *wiphy, struct wireless_dev *wdev,
|
D | linux_wlan.c | 151 if (dev->ieee80211_ptr == NULL || dev->ieee80211_ptr->wiphy == NULL) { in dev_state_ev_handler() 155 priv = wiphy_priv(dev->ieee80211_ptr->wiphy); in dev_state_ev_handler() 644 priv = wiphy_priv(dev->ieee80211_ptr->wiphy); in linux_wlan_init_test_config() 1227 priv = wiphy_priv(nic->wilc_netdev->ieee80211_ptr->wiphy); in mac_open() 1269 wilc_mgmt_frame_register(nic->wilc_netdev->ieee80211_ptr->wiphy, nic->wilc_netdev->ieee80211_ptr, in mac_open() 1271 wilc_mgmt_frame_register(nic->wilc_netdev->ieee80211_ptr->wiphy, nic->wilc_netdev->ieee80211_ptr, in mac_open() 1300 priv = wiphy_priv(dev->ieee80211_ptr->wiphy); in wilc_set_multicast_list() 1437 …|| (nic->wilc_netdev->ieee80211_ptr == NULL) || (nic->wilc_netdev->ieee80211_ptr->wiphy == NULL)) { in mac_close() 1442 priv = wiphy_priv(nic->wilc_netdev->ieee80211_ptr->wiphy); in mac_close() 1525 priv = wiphy_priv(nic->wilc_netdev->ieee80211_ptr->wiphy); in mac_ioctl()
|
/linux-4.4.14/drivers/net/wireless/libertas/ |
D | cfg.c | 440 static int lbs_cfg_set_monitor_channel(struct wiphy *wiphy, in lbs_cfg_set_monitor_channel() argument 443 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_set_monitor_channel() 460 static int lbs_cfg_set_mesh_channel(struct wiphy *wiphy, in lbs_cfg_set_mesh_channel() argument 464 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_set_mesh_channel() 640 struct wiphy *wiphy = priv->wdev->wiphy; in lbs_ret_scan() local 644 ieee80211_get_channel(wiphy, freq); in lbs_ret_scan() 652 bss = cfg80211_inform_bss(wiphy, channel, in lbs_ret_scan() 658 cfg80211_put_bss(wiphy, bss); in lbs_ret_scan() 807 static int lbs_cfg_scan(struct wiphy *wiphy, in lbs_cfg_scan() argument 810 struct lbs_private *priv = wiphy_priv(wiphy); in lbs_cfg_scan() [all …]
|
D | cfg.h | 7 struct wiphy;
|
D | cmd.c | 741 struct wiphy *wiphy = priv->wdev->wiphy; in lbs_set_11d_domain_info() local 742 struct ieee80211_supported_band **bands = wiphy->bands; in lbs_set_11d_domain_info()
|
D | mesh.c | 1010 mesh_wdev->wiphy = priv->wdev->wiphy; in lbs_add_mesh()
|
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/ |
D | ioctl_cfg80211.c | 254 struct wiphy *wiphy = wdev->wiphy; in rtw_cfg80211_inform_bss() local 265 notify_channel = ieee80211_get_channel(wiphy, freq); in rtw_cfg80211_inform_bss() 282 bss = cfg80211_inform_bss(wiphy, notify_channel, in rtw_cfg80211_inform_bss() 296 cfg80211_put_bss(wiphy, bss); in rtw_cfg80211_inform_bss() 317 struct wiphy *wiphy = pwdev->wiphy; in rtw_cfg80211_indicate_connect() local 331 notify_channel = ieee80211_get_channel(wiphy, freq); in rtw_cfg80211_indicate_connect() 865 static int cfg80211_rtw_add_key(struct wiphy *wiphy, struct net_device *ndev, in cfg80211_rtw_add_key() argument 870 struct wireless_dev *rtw_wdev = wiphy_to_wdev(wiphy); in cfg80211_rtw_add_key() 871 struct rtw_adapter *padapter = wiphy_to_adapter(wiphy); in cfg80211_rtw_add_key() 937 cfg80211_rtw_get_key(struct wiphy *wiphy, struct net_device *ndev, in cfg80211_rtw_get_key() argument [all …]
|
/linux-4.4.14/drivers/net/wireless/ |
D | rndis_wlan.c | 480 static int rndis_change_virtual_intf(struct wiphy *wiphy, 485 static int rndis_scan(struct wiphy *wiphy, 488 static int rndis_set_wiphy_params(struct wiphy *wiphy, u32 changed); 490 static int rndis_set_tx_power(struct wiphy *wiphy, 494 static int rndis_get_tx_power(struct wiphy *wiphy, 498 static int rndis_connect(struct wiphy *wiphy, struct net_device *dev, 501 static int rndis_disconnect(struct wiphy *wiphy, struct net_device *dev, 504 static int rndis_join_ibss(struct wiphy *wiphy, struct net_device *dev, 507 static int rndis_leave_ibss(struct wiphy *wiphy, struct net_device *dev); 509 static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev, [all …]
|
D | at76c50x-usb.c | 644 wiphy_err(priv->hw->wiphy, "cannot get HW Config (error %d)\n", in at76_get_hw_config() 780 wiphy_err(priv->hw->wiphy, in at76_wait_completion() 788 wiphy_name(priv->hw->wiphy), cmd, status, in at76_wait_completion() 797 wiphy_err(priv->hw->wiphy, in at76_wait_completion() 819 wiphy_info(priv->hw->wiphy, in at76_set_mib() 841 wiphy_err(priv->hw->wiphy, in at76_set_radio() 862 wiphy_err(priv->hw->wiphy, "set_mib (pm_mode) failed: %d\n", in at76_set_pm_mode() 879 wiphy_err(priv->hw->wiphy, "set_mib (preamble) failed: %d\n", in at76_set_preamble() 896 wiphy_err(priv->hw->wiphy, in at76_set_frag() 913 wiphy_err(priv->hw->wiphy, "set_mib (rts) failed: %d\n", ret); in at76_set_rts() [all …]
|
D | mac80211_hwsim.c | 345 static int mac80211_hwsim_vendor_cmd_test(struct wiphy *wiphy, in mac80211_hwsim_vendor_cmd_test() argument 361 wiphy_debug(wiphy, "%s: test=%u\n", __func__, val); in mac80211_hwsim_vendor_cmd_test() 370 skb = cfg80211_vendor_event_alloc(wiphy, wdev, 100, 0, GFP_KERNEL); in mac80211_hwsim_vendor_cmd_test() 384 skb = cfg80211_vendor_cmd_alloc_reply_skb(wiphy, 10); in mac80211_hwsim_vendor_cmd_test() 618 wiphy_debug(data->hw->wiphy, in hwsim_send_ps_poll() 649 wiphy_debug(data->hw->wiphy, in hwsim_send_nullfunc() 1279 wiphy_debug(hw->wiphy, "Trying to TX when idle - reject\n"); in mac80211_hwsim_tx() 1328 wiphy_debug(hw->wiphy, "%s\n", __func__); in mac80211_hwsim_start() 1339 wiphy_debug(hw->wiphy, "%s\n", __func__); in mac80211_hwsim_stop() 1346 wiphy_debug(hw->wiphy, "%s (type=%d mac_addr=%pM)\n", in mac80211_hwsim_add_interface() [all …]
|
D | mwl8k.c | 855 wiphy_err(priv->hw->wiphy, in mwl8k_add_dma_header() 1164 wiphy_err(hw->wiphy, "failed to alloc RX descriptors\n"); in mwl8k_rxq_init() 1455 wiphy_err(hw->wiphy, "failed to alloc TX descriptors\n"); in mwl8k_txq_init() 1515 wiphy_err(hw->wiphy, in mwl8k_dump_tx_rings() 1587 wiphy_notice(hw->wiphy, "tx rings drained\n"); in mwl8k_tx_wait_empty() 1598 wiphy_notice(hw->wiphy, in mwl8k_tx_wait_empty() 1607 wiphy_err(hw->wiphy, "tx rings stuck for %d ms\n", in mwl8k_tx_wait_empty() 1788 wiphy_debug(hw->wiphy, "Added a new stream for %pM %d", in mwl8k_add_stream() 1806 wiphy_debug(hw->wiphy, "Failed to start stream for %pM %d: " in mwl8k_start_stream() 1809 wiphy_debug(hw->wiphy, "Started stream for %pM %d\n", in mwl8k_start_stream() [all …]
|
D | adm8211.c | 377 wiphy_debug(dev->wiphy, "frame too long (%d)\n", in adm8211_interrupt_rci() 461 wiphy_debug(dev->wiphy, "%s\n", #x); \ in adm8211_interrupt() 574 wiphy_debug(dev->wiphy, in adm8211_write_bbp() 609 wiphy_debug(dev->wiphy, in adm8211_write_bbp() 679 wiphy_debug(dev->wiphy, "unsupported transceiver type %d\n", in adm8211_rf_set_channel() 736 wiphy_debug(dev->wiphy, "unsupported BBP type %d\n", in adm8211_rf_set_channel() 1031 wiphy_debug(dev->wiphy, "unsupported transceiver %d\n", in adm8211_hw_init_bbp() 1036 wiphy_debug(dev->wiphy, "unsupported BBP %d\n", priv->bbp_type); in adm8211_hw_init_bbp() 1513 wiphy_err(dev->wiphy, "hardware reset failed\n"); in adm8211_start() 1519 wiphy_err(dev->wiphy, "failed to initialize rings\n"); in adm8211_start() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 173 cfg80211_sched_scan_stopped(ar->wiphy); in ath6kl_cfg80211_sscan_disable() 455 static int ath6kl_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev, in ath6kl_cfg80211_connect() argument 701 bss = cfg80211_get_bss(ar->wiphy, chan, bssid, in ath6kl_add_bss_if_needed() 720 bss = cfg80211_inform_bss(ar->wiphy, chan, in ath6kl_add_bss_if_needed() 784 chan = ieee80211_get_channel(ar->wiphy, (int) channel); in ath6kl_cfg80211_connect_event() 797 cfg80211_put_bss(ar->wiphy, bss); in ath6kl_cfg80211_connect_event() 808 cfg80211_put_bss(ar->wiphy, bss); in ath6kl_cfg80211_connect_event() 816 static int ath6kl_cfg80211_disconnect(struct wiphy *wiphy, in ath6kl_cfg80211_disconnect() argument 987 static int ath6kl_cfg80211_scan(struct wiphy *wiphy, in ath6kl_cfg80211_scan() argument 1106 ieee80211_get_channel(vif->ar->wiphy, freq), in ath6kl_cfg80211_ch_switch_notify() [all …]
|
D | testmode.h | 23 int ath6kl_tm_cmd(struct wiphy *wiphy, struct wireless_dev *wdev, 33 static inline int ath6kl_tm_cmd(struct wiphy *wiphy, in ath6kl_tm_cmd() argument
|
D | testmode.c | 53 skb = cfg80211_testmode_alloc_event_skb(ar->wiphy, buf_len, GFP_KERNEL); in ath6kl_tm_rx_event() 69 int ath6kl_tm_cmd(struct wiphy *wiphy, struct wireless_dev *wdev, in ath6kl_tm_cmd() argument 72 struct ath6kl *ar = wiphy_priv(wiphy); in ath6kl_tm_cmd()
|
D | core.c | 105 ar->wiphy->hw_version = le32_to_cpu(targ_info.version); in ath6kl_core_init() 204 wiphy_unregister(ar->wiphy); in ath6kl_core_init() 222 wiphy_unregister(ar->wiphy); in ath6kl_core_init()
|
D | hif.c | 105 ath6kl_info("hw 0x%x fw %s\n", ar->wiphy->hw_version, in ath6kl_hif_dump_fw_crash() 106 ar->wiphy->fw_version); in ath6kl_hif_dump_fw_crash()
|
D | init.c | 997 strlcpy(ar->wiphy->fw_version, data, in ath6kl_fetch_fw_apin() 998 min(sizeof(ar->wiphy->fw_version), ie_len+1)); in ath6kl_fetch_fw_apin() 1002 ar->wiphy->fw_version); in ath6kl_fetch_fw_apin() 1766 ar->wiphy->fw_version, in __ath6kl_init_hw_start()
|
D | core.h | 697 struct wiphy *wiphy; member
|
D | main.c | 537 if (strlen(ar->wiphy->fw_version) == 0) { in ath6kl_ready_event() 538 snprintf(ar->wiphy->fw_version, in ath6kl_ready_event() 539 sizeof(ar->wiphy->fw_version), in ath6kl_ready_event()
|
D | wmi.c | 521 chan = ieee80211_get_channel(ar->wiphy, freq); in ath6kl_wmi_remain_on_chnl_event_rx() 555 chan = ieee80211_get_channel(ar->wiphy, freq); in ath6kl_wmi_cancel_remain_on_chnl_event_rx() 1015 regulatory_hint(wmi->parent_dev->wiphy, alpha2); in ath6kl_wmi_regdomain_event() 1085 cfg80211_sched_scan_results(vif->ar->wiphy); in ath6kl_wmi_sscan_timer() 1121 channel = ieee80211_get_channel(ar->wiphy, le16_to_cpu(bih->ch)); in ath6kl_wmi_bssinfo_event_rx() 1140 bss = cfg80211_inform_bss(ar->wiphy, channel, in ath6kl_wmi_bssinfo_event_rx() 1151 cfg80211_put_bss(ar->wiphy, bss); in ath6kl_wmi_bssinfo_event_rx() 2047 sband = ar->wiphy->bands[band]; in ath6kl_wmi_beginscan_cmd()
|
/linux-4.4.14/Documentation/DocBook/ |
D | 80211.xml.db | 9 API-enum-wiphy-params-flags 10 API-enum-wiphy-flags 11 API-struct-wiphy 13 API-wiphy-new 14 API-wiphy-register 15 API-wiphy-unregister 16 API-wiphy-free 17 API-wiphy-name 18 API-wiphy-dev 19 API-wiphy-priv [all …]
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
D | channel.c | 633 static void brcms_reg_apply_radar_flags(struct wiphy *wiphy) in brcms_reg_apply_radar_flags() argument 639 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in brcms_reg_apply_radar_flags() 661 brcms_reg_apply_beaconing_flags(struct wiphy *wiphy, in brcms_reg_apply_beaconing_flags() argument 670 sband = wiphy->bands[band]; in brcms_reg_apply_beaconing_flags() 682 rule = freq_reg_info(wiphy, in brcms_reg_apply_beaconing_flags() 696 static void brcms_reg_notifier(struct wiphy *wiphy, in brcms_reg_notifier() argument 699 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in brcms_reg_notifier() 707 brcms_reg_apply_radar_flags(wiphy); in brcms_reg_notifier() 710 brcms_reg_apply_beaconing_flags(wiphy, request->initiator); in brcms_reg_notifier() 714 sband = wiphy->bands[band]; in brcms_reg_notifier() [all …]
|
D | led.c | 93 wiphy_err(wl->wiphy, "requesting led gpio %d failed (err: %d)\n", in brcms_led_register() 99 wiphy_err(wl->wiphy, "cannot set led gpio %d to output (err: %d)\n", in brcms_led_register() 105 "brcmsmac-%s:radio", wiphy_name(wl->wiphy)); in brcms_led_register() 111 err = led_classdev_register(wiphy_dev(wl->wiphy), &wl->led_dev); in brcms_led_register() 114 wiphy_err(wl->wiphy, "cannot register led device: %s (err: %d)\n", in brcms_led_register() 119 wiphy_info(wl->wiphy, "registered radio enabled led device: %s gpio: %d\n", in brcms_led_register()
|
D | mac80211_if.c | 339 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, false); in brcms_remove() 340 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy); in brcms_remove() 382 wiphy_err(wl->wiphy, "%s: fail to load firmware %s\n", in brcms_request_fw() 390 wiphy_err(wl->wiphy, "%s: fail to load firmware %s\n", in brcms_request_fw() 439 wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy); in brcms_ops_start() 635 bi = hw->wiphy->bands[brcms_c_get_curband(wl->wlc)]; in brcms_ops_bss_info_changed() 697 hw->wiphy->flags & WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD) { in brcms_ops_bss_info_changed() 887 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_ops_rfkill_poll() 1027 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = NULL; in ieee_hw_rate_init() 1028 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = NULL; in ieee_hw_rate_init() [all …]
|
D | mac80211_if.h | 83 struct wiphy *wiphy; member
|
D | main.c | 1865 wiphy_err(wlc_hw->wlc->wiphy, "unsupported core rev %d\n", in brcms_c_isgoodchip() 2760 struct wiphy *wiphy = wlc_hw->wlc->wiphy; in brcms_b_validate_chip_access() local 2777 wiphy_err(wiphy, "wl%d: validate_chip_access: SHM = 0x%x, " in brcms_b_validate_chip_access() 2790 wiphy_err(wiphy, "wl%d: validate_chip_access: SHM = 0x%x, " in brcms_b_validate_chip_access() 2805 wiphy_err(wiphy, "wl%d: validate_chip_access: maccontrol = " in brcms_b_validate_chip_access() 3996 BCMMSG(wlc->wiphy, "idx %d, val %d\n", idx, val); in brcms_c_protection_upd() 4287 wiphy_err(wlc->wiphy, "wl%d: wl_init_timer for wdtimer " in brcms_c_timers_init() 4295 wiphy_err(wlc->wiphy, "wl%d: wl_init_timer for radio_timer " in brcms_c_timers_init() 4368 wiphy_err(wlc->wiphy, "wl%d: attach: antsel_attach " in brcms_c_attach_module() 4376 wiphy_err(wlc->wiphy, "wl%d: attach: ampdu_attach " in brcms_c_attach_module() [all …]
|
D | main.h | 564 struct wiphy *wiphy; member
|
D | types.h | 278 struct wiphy;
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | init.c | 193 static void ath9k_reg_notifier(struct wiphy *wiphy, in ath9k_reg_notifier() argument 196 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in ath9k_reg_notifier() 201 ath_reg_notifier_apply(wiphy, request, reg); in ath9k_reg_notifier() 810 hw->wiphy->interface_modes &= ~ BIT(NL80211_IFTYPE_WDS); in ath9k_set_mcc_capab() 811 hw->wiphy->iface_combinations = if_comb_multi; in ath9k_set_mcc_capab() 812 hw->wiphy->n_iface_combinations = ARRAY_SIZE(if_comb_multi); in ath9k_set_mcc_capab() 813 hw->wiphy->max_scan_ssids = 255; in ath9k_set_mcc_capab() 814 hw->wiphy->max_scan_ie_len = IEEE80211_MAX_DATA_LEN; in ath9k_set_mcc_capab() 815 hw->wiphy->max_remain_on_channel_duration = 10000; in ath9k_set_mcc_capab() 853 hw->wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR | in ath9k_set_hw_capab() [all …]
|
D | htc_drv_init.c | 111 wiphy_rfkill_stop_polling(hw->wiphy); in ath9k_deinit_device() 224 static void ath9k_reg_notifier(struct wiphy *wiphy, in ath9k_reg_notifier() argument 227 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in ath9k_reg_notifier() 230 ath_reg_notifier_apply(wiphy, request, in ath9k_reg_notifier() 737 hw->wiphy->interface_modes = in ath9k_set_hw_capab() 746 hw->wiphy->iface_combinations = &if_comb; in ath9k_set_hw_capab() 747 hw->wiphy->n_iface_combinations = 1; in ath9k_set_hw_capab() 749 hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; in ath9k_set_hw_capab() 751 hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN | in ath9k_set_hw_capab() 755 hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS; in ath9k_set_hw_capab() [all …]
|
D | htc_drv_gpio.c | 289 "ath9k_htc-%s", wiphy_name(priv->hw->wiphy)); in ath9k_init_leds() 293 ret = led_classdev_register(wiphy_dev(priv->hw->wiphy), &priv->led_cdev); in ath9k_init_leds() 325 wiphy_rfkill_set_hw_state(hw->wiphy, blocked); in ath9k_htc_rfkill_poll_state() 331 wiphy_rfkill_start_polling(priv->hw->wiphy); in ath9k_start_rfkill_poll()
|
D | tx99.c | 76 memcpy(hdr->addr1, hw->wiphy->perm_addr, ETH_ALEN); in ath9k_build_tx99_skb() 77 memcpy(hdr->addr2, hw->wiphy->perm_addr, ETH_ALEN); in ath9k_build_tx99_skb() 78 memcpy(hdr->addr3, hw->wiphy->perm_addr, ETH_ALEN); in ath9k_build_tx99_skb()
|
D | gpio.c | 57 "ath9k-%s", wiphy_name(sc->hw->wiphy)); in ath_init_leds() 61 ret = led_classdev_register(wiphy_dev(sc->hw->wiphy), &sc->led_cdev); in ath_init_leds() 122 wiphy_rfkill_set_hw_state(hw->wiphy, blocked); in ath9k_rfkill_poll_state() 130 wiphy_rfkill_start_polling(sc->hw->wiphy); in ath_start_rfkill_poll()
|
D | wow.c | 334 hw->wiphy->wowlan = &ath9k_wowlan_support; in ath9k_init_wow() 336 hw->wiphy->wowlan = &ath9k_wowlan_support_legacy; in ath9k_init_wow()
|
D | link.c | 245 memcpy(hdr->addr1, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate() 246 memcpy(hdr->addr2, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate() 247 memcpy(hdr->addr3, hw->wiphy->perm_addr, ETH_ALEN); in ath_paprd_calibrate()
|
D | ahb.c | 150 wiphy_info(hw->wiphy, "%s mem=0x%lx, irq=%d\n", in ath_ahb_probe()
|
D | common.c | 181 sband = hw->wiphy->bands[band]; in ath9k_cmn_process_rate()
|
D | dynack.c | 350 ah->hw->wiphy->features |= NL80211_FEATURE_ACKTO_ESTIMATION; in ath_dynack_init()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
D | rfkill.c | 41 wiphy_rfkill_set_hw_state(hw->wiphy, !priv->rfkill_off); in rtl8187_rfkill_init() 42 wiphy_rfkill_start_polling(hw->wiphy); in rtl8187_rfkill_init() 56 wiphy_rfkill_set_hw_state(hw->wiphy, !enabled); in rtl8187_rfkill_poll() 63 wiphy_rfkill_stop_polling(hw->wiphy); in rtl8187_rfkill_exit()
|
D | leds.c | 208 "rtl8187-%s::radio", wiphy_name(dev->wiphy)); in rtl8187_leds_init() 215 "rtl8187-%s::tx", wiphy_name(dev->wiphy)); in rtl8187_leds_init() 222 "rtl8187-%s::rx", wiphy_name(dev->wiphy)); in rtl8187_leds_init()
|
D | dev.c | 631 wiphy_err(dev->wiphy, "Reset timeout!\n"); in rtl8187_cmd_reset() 647 wiphy_err(dev->wiphy, "eeprom reset timeout!\n"); in rtl8187_cmd_reset() 1478 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in rtl8187_probe() 1609 dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | in rtl8187_probe() 1633 wiphy_info(dev->wiphy, "hwaddr %pM, %s V%d + %s, rfkill mask %d\n", in rtl8187_probe()
|
D | rtl8225.c | 368 wiphy_warn(dev->wiphy, "RF Calibration Failed! %x\n", in rtl8225_rf_init() 737 wiphy_warn(dev->wiphy, "RF Calibration Failed! %x\n", in rtl8225z2_rf_init()
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
D | libipw_module.c | 147 ieee->wdev.wiphy = wiphy_new(&libipw_config_ops, 0); in alloc_libipw() 148 if (!ieee->wdev.wiphy) { in alloc_libipw() 159 ieee->wdev.wiphy->privid = libipw_wiphy_privid; in alloc_libipw() 161 ieee->wdev.wiphy->max_scan_ssids = 1; in alloc_libipw() 162 ieee->wdev.wiphy->max_scan_ie_len = 0; in alloc_libipw() 163 ieee->wdev.wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) in alloc_libipw() 205 wiphy_free(ieee->wdev.wiphy); in alloc_libipw() 223 wiphy_free(ieee->wdev.wiphy); in free_libipw()
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | rx.c | 70 wiphy_info(ar->hw->wiphy, "FW: %.*s\n", len, buf); in carl9170_dbg_message() 118 wiphy_err(ar->hw->wiphy, "lost %d command responses/traps! " in carl9170_check_sequence() 175 wiphy_err(ar->hw->wiphy, "FW: received over-/under" in carl9170_handle_command_response() 248 wiphy_dbg(ar->hw->wiphy, "FW: HD %d\n", len - 4); in carl9170_handle_command_response() 257 wiphy_info(ar->hw->wiphy, "FW: RADAR! Please report this " in carl9170_handle_command_response() 282 wiphy_err(ar->hw->wiphy, "FW: received unhandled event %x\n", in carl9170_handle_command_response() 346 wiphy_dbg(ar->hw->wiphy, "received frame with " in carl9170_rx_mac_status() 377 wiphy_err(ar->hw->wiphy, "invalid plcp cck " in carl9170_rx_mac_status() 414 wiphy_err(ar->hw->wiphy, "invalid plcp ofdm " in carl9170_rx_mac_status() 742 wiphy_err(ar->hw->wiphy, "plcp info " in carl9170_rx_untie_data() [all …]
|
D | fw.c | 121 strlcpy(ar->hw->wiphy->fw_version, motd_desc->release, in carl9170_fw_info() 122 sizeof(ar->hw->wiphy->fw_version)); in carl9170_fw_info() 232 ar->hw->wiphy->iface_combinations = ar->if_combs; in carl9170_fw_set_if_combinations() 233 ar->hw->wiphy->n_iface_combinations = ARRAY_SIZE(ar->if_combs); in carl9170_fw_set_if_combinations() 351 ar->hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_ADHOC); in carl9170_fw() 367 ar->hw->wiphy->interface_modes |= if_comb_types; in carl9170_fw() 369 ar->hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; in carl9170_fw() 372 ar->hw->wiphy->flags |= WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL | in carl9170_fw()
|
D | led.c | 130 "carl9170-%s::%s", wiphy_name(ar->hw->wiphy), name); in carl9170_led_register_led() 138 err = led_classdev_register(wiphy_dev(ar->hw->wiphy), in carl9170_led_register_led() 141 wiphy_err(ar->hw->wiphy, "failed to register %s LED (%d).\n", in carl9170_led_register_led()
|
D | cmd.c | 55 wiphy_err(ar->hw->wiphy, "writing reg %#x " in carl9170_write_reg() 81 wiphy_err(ar->hw->wiphy, "reading regs failed (%d)\n", in carl9170_read_mreg() 111 wiphy_info(ar->hw->wiphy, "wrong echo %x != %x", v, echores); in carl9170_echo_test()
|
D | main.c | 1521 wiphy_name(ar->hw->wiphy)); in carl9170_register_wps_button() 1524 "ieee80211/%s/input0", wiphy_name(ar->hw->wiphy)); in carl9170_register_wps_button() 1529 input->dev.parent = &ar->hw->wiphy->dev; in carl9170_register_wps_button() 1620 "%s_%s", KBUILD_MODNAME, wiphy_name(ar->hw->wiphy)); in carl9170_register_hwrng() 1668 band = ar->hw->wiphy->bands[b]; in carl9170_op_get_survey() 1845 hw->wiphy->interface_modes = 0; in carl9170_alloc() 1942 ar->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in carl9170_parse_eeprom() 1948 ar->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in carl9170_parse_eeprom() 1970 static void carl9170_reg_notifier(struct wiphy *wiphy, in carl9170_reg_notifier() argument 1973 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in carl9170_reg_notifier() [all …]
|
D | phy.c | 686 wiphy_err(ar->hw->wiphy, "rf init failed\n"); in carl9170_init_rf_banks_0_7() 1690 wiphy_err(ar->hw->wiphy, "channel change: %d -> %d " in carl9170_set_channel() 1718 wiphy_err(ar->hw->wiphy, "failed to set " in carl9170_set_channel()
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
D | main.c | 290 hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | in cw1200_init_common() 298 hw->wiphy->wowlan = &cw1200_wowlan_support; in cw1200_init_common() 301 hw->wiphy->flags |= WIPHY_FLAG_AP_UAPSD; in cw1200_init_common() 314 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &cw1200_band_2ghz; in cw1200_init_common() 316 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &cw1200_band_5ghz; in cw1200_init_common() 320 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; in cw1200_init_common() 330 hw->wiphy->max_scan_ssids = 2; in cw1200_init_common() 331 hw->wiphy->max_scan_ie_len = IEEE80211_MAX_DATA_LEN; in cw1200_init_common() 339 if (hw->wiphy->perm_addr[3] == 0 && in cw1200_init_common() 340 hw->wiphy->perm_addr[4] == 0 && in cw1200_init_common() [all …]
|
D | scan.c | 33 wiphy_dbg(priv->hw->wiphy, "[SCAN] hw req, type %d, %d channels, flags: 0x%x.\n", in cw1200_scan_start() 75 wiphy_dbg(hw->wiphy, "[SCAN] Scan request for %d SSIDs.\n", in cw1200_hw_scan() 177 wiphy_warn(priv->hw->wiphy, in cw1200_scan_work() 181 wiphy_dbg(priv->hw->wiphy, in cw1200_scan_work() 184 wiphy_dbg(priv->hw->wiphy, in cw1200_scan_work() 281 wiphy_dbg(priv->hw->wiphy, "[CQM] Requeue BSS loss.\n"); in cw1200_scan_restart_delayed() 291 wiphy_dbg(priv->hw->wiphy, "[SCAN] Direct probe complete.\n"); in cw1200_scan_complete() 343 wiphy_warn(priv->hw->wiphy, in cw1200_scan_timeout() 383 wiphy_dbg(priv->hw->wiphy, "[SCAN] Direct probe work.\n"); in cw1200_probe_work()
|
D | bh.c | 134 wiphy_warn(priv->hw->wiphy, "BH error -- can't suspend\n"); in cw1200_bh_suspend() 149 wiphy_warn(priv->hw->wiphy, "BH error -- can't resume\n"); in cw1200_bh_resume() 484 wiphy_warn(priv->hw->wiphy, in cw1200_bh() 507 wiphy_warn(priv->hw->wiphy, in cw1200_bh() 535 wiphy_err(priv->hw->wiphy, in cw1200_bh()
|
D | wsm.c | 852 priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = NULL; in wsm_startup_indication() 854 priv->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = NULL; in wsm_startup_indication() 1220 …wiphy_err(priv->hw->wiphy, "[WSM] TX Frames (%d) stuck in firmware, killing BH\n", priv->hw_bufs_u… in wsm_flush_tx() 1270 wiphy_err(priv->hw->wiphy, in wsm_handle_exception() 1274 wiphy_err(priv->hw->wiphy, in wsm_handle_exception() 1279 wiphy_err(priv->hw->wiphy, in wsm_handle_exception() 1283 wiphy_err(priv->hw->wiphy, in wsm_handle_exception() 1287 wiphy_err(priv->hw->wiphy, in wsm_handle_exception() 1296 wiphy_err(priv->hw->wiphy, "Firmware exception.\n"); in wsm_handle_exception() 1389 wiphy_warn(priv->hw->wiphy, in wsm_handle_rx() [all …]
|
D | txrx.c | 435 return &priv->hw->wiphy->bands[priv->channel->band]-> in cw1200_get_tx_rate() 463 wiphy_err(priv->hw->wiphy, in cw1200_tx_h_calc_link_ids() 530 wiphy_err(priv->hw->wiphy, in cw1200_tx_h_align() 537 wiphy_err(priv->hw->wiphy, in cw1200_tx_h_align() 571 wiphy_err(priv->hw->wiphy, in cw1200_tx_h_wsm() 885 wiphy_warn(priv->hw->wiphy, "Requeue for link_id %d (try %d). STAs asleep: 0x%.8X\n", in cw1200_tx_confirm_cb() 1072 wiphy_warn(priv->hw->wiphy, "Mailformed SDU rx'ed. Size is lesser than IEEE header.\n"); in cw1200_rx_cb() 1139 wiphy_warn(priv->hw->wiphy, "Malformed SDU rx'ed. Size is lesser than crypto headers.\n"); in cw1200_rx_cb() 1359 wiphy_info(priv->hw->wiphy, in cw1200_alloc_link_id()
|
D | pm.c | 154 wiphy_dbg(priv->hw->wiphy, "Suspend interrupted.\n"); in cw1200_can_suspend() 268 wiphy_err(priv->hw->wiphy, in cw1200_wow_suspend()
|
D | sta.c | 81 memcpy(priv->mac_addr, dev->wiphy->perm_addr, ETH_ALEN); in cw1200_start() 509 wiphy_err(priv->hw->wiphy, in cw1200_update_filtering() 1010 wiphy_info(priv->hw->wiphy, "radar pulse detected\n"); in cw1200_event_handler() 1239 bss = cfg80211_get_bss(priv->hw->wiphy, priv->channel, bssid, NULL, 0, in cw1200_do_join() 1372 cfg80211_put_bss(priv->hw->wiphy, bss); in cw1200_do_join() 1398 wiphy_dbg(priv->hw->wiphy, "Delayed unjoin is already scheduled.\n"); in cw1200_do_unjoin() 1562 wiphy_info(priv->hw->wiphy, in cw1200_sta_add() 2126 wiphy_warn(priv->hw->wiphy, in cw1200_mcast_timeout()
|
D | debug.c | 397 priv->hw->wiphy->debugfsdir); in cw1200_debug_init()
|
/linux-4.4.14/drivers/net/wireless/p54/ |
D | eeprom.c | 182 wiphy_err(dev->wiphy, "%s%s%s is/are missing for " in p54_generate_band() 208 wiphy_err(dev->wiphy, "Disabling totally damaged %d GHz band\n", in p54_generate_band() 332 wiphy_err(dev->wiphy, in p54_generate_channel_lists() 529 wiphy_err(dev->wiphy, "rssical size mismatch.\n"); in p54_parse_rssical() 546 wiphy_err(dev->wiphy, "invalid rssi database.\n"); in p54_parse_rssical() 595 wiphy_err(dev->wiphy, in p54_parse_rssical() 601 wiphy_err(dev->wiphy, "please report this issue.\n"); in p54_parse_rssical() 642 wiphy_err(dev->wiphy, in p54_parse_default_country() 649 wiphy_err(dev->wiphy, "please report this issue.\n"); in p54_parse_default_country() 655 regulatory_hint(dev->wiphy, country->alpha2); in p54_parse_default_country() [all …]
|
D | led.c | 59 wiphy_err(priv->hw->wiphy, in p54_update_leds() 95 wiphy_name(priv->hw->wiphy), name); in p54_register_led() 102 err = led_classdev_register(wiphy_dev(priv->hw->wiphy), &led->led_dev); in p54_register_led() 104 wiphy_err(priv->hw->wiphy, in p54_register_led()
|
D | fwio.c | 65 wiphy_info(priv->hw->wiphy, in p54_parse_firmware() 72 wiphy_err(priv->hw->wiphy, in p54_parse_firmware() 127 wiphy_info(priv->hw->wiphy, in p54_parse_firmware() 130 snprintf(dev->wiphy->fw_version, sizeof(dev->wiphy->fw_version), in p54_parse_firmware() 136 wiphy_info(priv->hw->wiphy, in p54_parse_firmware() 158 wiphy_info(priv->hw->wiphy, in p54_parse_firmware() 256 wiphy_err(priv->hw->wiphy, in p54_download_eeprom() 534 wiphy_err(priv->hw->wiphy, "frequency change to channel %d failed.\n", in p54_scan() 695 wiphy_err(priv->hw->wiphy, in p54_upload_key()
|
D | txrx.c | 42 wiphy_debug(priv->hw->wiphy, "/ --- tx queue dump (%d entries) ---\n", in p54_dump_tx_queue() 52 wiphy_debug(priv->hw->wiphy, in p54_dump_tx_queue() 66 wiphy_debug(priv->hw->wiphy, in p54_dump_tx_queue() 615 wiphy_info(priv->hw->wiphy, "radar (freq:%d MHz)\n", freq); in p54_rx_trap() 628 wiphy_rfkill_set_hw_state(priv->hw->wiphy, true); in p54_rx_trap() 631 wiphy_rfkill_set_hw_state(priv->hw->wiphy, false); in p54_rx_trap() 634 wiphy_info(priv->hw->wiphy, "received event:%x freq:%d\n", in p54_rx_trap() 660 wiphy_debug(priv->hw->wiphy, in p54_rx_control()
|
D | main.c | 756 dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | in p54_init_common() 786 dev->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; in p54_init_common() 822 dev_info(pdev, "is registered as '%s'\n", wiphy_name(dev->wiphy)); in p54_register_common()
|
/linux-4.4.14/drivers/net/wireless/rsi/ |
D | rsi_91x_mac80211.c | 1048 struct wiphy *wiphy = NULL; in rsi_mac80211_attach() local 1060 wiphy = hw->wiphy; in rsi_mac80211_attach() 1083 ether_addr_copy(hw->wiphy->addr_mask, addr_mask); in rsi_mac80211_attach() 1085 wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); in rsi_mac80211_attach() 1086 wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM; in rsi_mac80211_attach() 1087 wiphy->retry_short = RETRY_SHORT; in rsi_mac80211_attach() 1088 wiphy->retry_long = RETRY_LONG; in rsi_mac80211_attach() 1089 wiphy->frag_threshold = IEEE80211_MAX_FRAG_THRESHOLD; in rsi_mac80211_attach() 1090 wiphy->rts_threshold = IEEE80211_MAX_RTS_THRESHOLD; in rsi_mac80211_attach() 1091 wiphy->flags = 0; in rsi_mac80211_attach() [all …]
|
D | rsi_91x_debugfs.c | 298 wiphy_name(adapter->hw->wiphy)); in rsi_init_dbgfs()
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
D | rt2x00firmware.c | 33 struct device *device = wiphy_dev(rt2x00dev->hw->wiphy); in rt2x00lib_request_firmware() 65 snprintf(rt2x00dev->hw->wiphy->fw_version, in rt2x00lib_request_firmware() 66 sizeof(rt2x00dev->hw->wiphy->fw_version), "%d.%d", in rt2x00lib_request_firmware()
|
D | rt2x00dev.c | 982 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in rt2x00lib_probe_hw_modes() 1000 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in rt2x00lib_probe_hw_modes() 1019 if (likely(rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ])) { in rt2x00lib_remove_hw() 1020 kfree(rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ]->channels); in rt2x00lib_remove_hw() 1021 kfree(rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ]->bitrates); in rt2x00lib_remove_hw() 1022 rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = NULL; in rt2x00lib_remove_hw() 1023 rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = NULL; in rt2x00lib_remove_hw() 1264 rt2x00dev->hw->wiphy->iface_combinations = rt2x00dev->if_combinations; in rt2x00lib_set_if_combinations() 1265 rt2x00dev->hw->wiphy->n_iface_combinations = 1; in rt2x00lib_set_if_combinations() 1320 rt2x00dev->hw->wiphy->addr_mask[ETH_ALEN - 1] = in rt2x00lib_probe_dev() [all …]
|
D | rt2x00leds.c | 106 struct device *device = wiphy_dev(rt2x00dev->hw->wiphy); in rt2x00leds_register_led() 129 const char *phy_name = wiphy_name(rt2x00dev->hw->wiphy); in rt2x00leds_register()
|
D | rt2x00lib.h | 409 wiphy_rfkill_start_polling(rt2x00dev->hw->wiphy); in rt2x00rfkill_register() 415 wiphy_rfkill_stop_polling(rt2x00dev->hw->wiphy); in rt2x00rfkill_unregister()
|
D | rt2x00.h | 70 wiphy_err((dev)->hw->wiphy, "%s: Error - " fmt, \ 73 wiphy_warn((dev)->hw->wiphy, "%s: Warning - " fmt, \ 76 wiphy_info((dev)->hw->wiphy, "%s: Info - " fmt, \ 81 wiphy_dbg((dev)->hw->wiphy, "%s: Debug - " fmt, \ 84 wiphy_dbg((dev)->hw->wiphy, "%s: EEPROM recovery - " fmt, \
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | mac80211.c | 304 struct ieee80211_regdomain *iwl_mvm_get_regdomain(struct wiphy *wiphy, in iwl_mvm_get_regdomain() argument 310 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in iwl_mvm_get_regdomain() 362 regulatory_set_wiphy_regd(mvm->hw->wiphy, regd); in iwl_mvm_update_changed_regdom() 371 return iwl_mvm_get_regdomain(mvm->hw->wiphy, "ZZ", in iwl_mvm_get_current_regdomain() 384 rtnl_dereference(mvm->hw->wiphy->regd); in iwl_mvm_init_fw_regd() 399 regd = iwl_mvm_get_regdomain(mvm->hw->wiphy, r->alpha2, used_src, in iwl_mvm_init_fw_regd() 406 ret = regulatory_set_wiphy_regd_sync_rtnl(mvm->hw->wiphy, regd); in iwl_mvm_init_fw_regd() 452 hw->wiphy->n_cipher_suites = ARRAY_SIZE(mvm_ciphers); in iwl_mvm_mac_setup_register() 453 hw->wiphy->cipher_suites = mvm->ciphers; in iwl_mvm_mac_setup_register() 463 mvm->ciphers[hw->wiphy->n_cipher_suites] = in iwl_mvm_mac_setup_register() [all …]
|
D | led.c | 111 wiphy_name(mvm->hw->wiphy)); in iwl_mvm_leds_init()
|
D | nvm.c | 825 regd = iwl_mvm_get_regdomain(mvm->hw->wiphy, mcc, in iwl_mvm_init_mcc() 831 retval = regulatory_set_wiphy_regd_sync_rtnl(mvm->hw->wiphy, regd); in iwl_mvm_init_mcc() 858 regd = iwl_mvm_get_regdomain(mvm->hw->wiphy, mcc, src, NULL); in iwl_mvm_rx_chub_update_mcc() 862 regulatory_set_wiphy_regd(mvm->hw->wiphy, regd); in iwl_mvm_rx_chub_update_mcc()
|
D | ops.c | 507 snprintf(mvm->hw->wiphy->fw_version, in iwl_op_mode_mvm_start() 508 sizeof(mvm->hw->wiphy->fw_version), in iwl_op_mode_mvm_start() 864 wiphy_rfkill_set_hw_state(mvm->hw->wiphy, iwl_mvm_is_radio_killed(mvm)); in iwl_mvm_set_hw_ctkill_state() 877 wiphy_rfkill_set_hw_state(mvm->hw->wiphy, iwl_mvm_is_radio_killed(mvm)); in iwl_mvm_set_hw_rfkill_state()
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
D | leds.c | 151 "b43legacy-%s::tx", wiphy_name(hw->wiphy)); in b43legacy_map_led() 156 "b43legacy-%s::rx", wiphy_name(hw->wiphy)); in b43legacy_map_led() 166 "b43legacy-%s::radio", wiphy_name(hw->wiphy)); in b43legacy_map_led() 177 "b43legacy-%s::assoc", wiphy_name(hw->wiphy)); in b43legacy_map_led()
|
D | rfkill.c | 76 wiphy_rfkill_set_hw_state(hw->wiphy, !enabled); in b43legacy_rfkill_poll()
|
D | main.c | 194 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); in b43legacyinfo() 213 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); in b43legacyerr() 232 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); in b43legacywarn() 249 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); in b43legacydbg() 1685 struct wiphy *wiphy = dev->wl->hw->wiphy; in b43legacy_upload_microcode() local 1795 snprintf(wiphy->fw_version, sizeof(wiphy->fw_version), "%u.%u", in b43legacy_upload_microcode() 1797 wiphy->hw_version = dev->dev->id.coreid; in b43legacy_upload_microcode() 2460 "%s_%s", KBUILD_MODNAME, wiphy_name(wl->hw->wiphy)); in b43legacy_rng_init() 2795 dev->wl->hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in b43legacy_update_basic_rates() 3512 wiphy_rfkill_start_polling(hw->wiphy); in b43legacy_op_start() [all …]
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
D | mac80211.c | 129 hw->wiphy->features |= NL80211_FEATURE_DYNAMIC_SMPS | in iwlagn_mac_setup_register() 145 hw->wiphy->interface_modes |= ctx->interface_modes; in iwlagn_mac_setup_register() 146 hw->wiphy->interface_modes |= ctx->exclusive_interface_modes; in iwlagn_mac_setup_register() 151 if (hw->wiphy->interface_modes & BIT(NL80211_IFTYPE_AP)) { in iwlagn_mac_setup_register() 152 hw->wiphy->iface_combinations = in iwlagn_mac_setup_register() 154 hw->wiphy->n_iface_combinations = in iwlagn_mac_setup_register() 158 hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN; in iwlagn_mac_setup_register() 159 hw->wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG | in iwlagn_mac_setup_register() 181 hw->wiphy->wowlan = &priv->wowlan_support; in iwlagn_mac_setup_register() 186 hw->wiphy->flags |= WIPHY_FLAG_PS_ON_BY_DEFAULT; in iwlagn_mac_setup_register() [all …]
|
D | led.c | 186 wiphy_name(priv->hw->wiphy)); in iwl_leds_init()
|
D | main.c | 1313 priv->hw->wiphy->addresses = priv->addresses; in iwl_op_mode_dvm_start() 1314 priv->hw->wiphy->n_addresses = 1; in iwl_op_mode_dvm_start() 1320 priv->hw->wiphy->n_addresses++; in iwl_op_mode_dvm_start() 1368 snprintf(priv->hw->wiphy->fw_version, in iwl_op_mode_dvm_start() 1369 sizeof(priv->hw->wiphy->fw_version), in iwl_op_mode_dvm_start() 2027 wiphy_rfkill_set_hw_state(priv->hw->wiphy, state); in iwl_set_hw_rfkill_state()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
D | rtl8225se.c | 135 wiphy_err(dev->wiphy, PFX in rtl8187se_three_wire_io() 153 wiphy_err(dev->wiphy, PFX in rtl8187se_three_wire_io() 316 wiphy_info(dev->wiphy, "RTL8225-SE version %s\n", in rtl8225se_rf_init() 378 wiphy_info(dev->wiphy, "Xtal cal\n"); in rtl8225se_rf_init() 381 wiphy_info(dev->wiphy, "NO Xtal cal\n"); in rtl8225se_rf_init()
|
D | dev.c | 419 wiphy_err(dev->wiphy, "No RX DMA Descriptor avail\n"); in rtl8187se_interrupt() 835 wiphy_err(dev->wiphy, "reset timeout!\n"); in rtl8180_init_hw() 1010 wiphy_err(dev->wiphy, "Cannot allocate RX ring\n"); in rtl8180_init_rx_ring() 1021 wiphy_err(dev->wiphy, "Cannot allocate RX skb\n"); in rtl8180_init_rx_ring() 1031 wiphy_err(dev->wiphy, "Cannot map DMA for RX skb\n"); in rtl8180_init_rx_ring() 1075 wiphy_err(dev->wiphy, "Cannot allocate TX ring (prio = %d)\n", in rtl8180_init_tx_ring() 1140 wiphy_err(dev->wiphy, "failed to register IRQ handler\n"); in rtl8180_start() 1803 dev->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in rtl8180_probe() 1809 dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | in rtl8180_probe() 1928 wiphy_info(dev->wiphy, "hwaddr %pm, %s + %s\n", in rtl8180_probe()
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | init.c | 566 dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = dev->sband_2g; in mt76_init_sband_2g() 580 struct wiphy *wiphy = hw->wiphy; in mt7601u_register_device() local 613 wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR; in mt7601u_register_device() 614 wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); in mt7601u_register_device()
|
D | debugfs.c | 159 dir = debugfs_create_dir("mt7601u", dev->hw->wiphy->debugfsdir); in mt7601u_init_debugfs()
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | leds.c | 178 "b43-%s::tx", wiphy_name(hw->wiphy)); in b43_map_led() 183 "b43-%s::rx", wiphy_name(hw->wiphy)); in b43_map_led() 193 "b43-%s::radio", wiphy_name(hw->wiphy)); in b43_map_led() 201 "b43-%s::assoc", wiphy_name(hw->wiphy)); in b43_map_led()
|
D | rfkill.c | 59 wiphy_rfkill_set_hw_state(hw->wiphy, !enabled); in b43_rfkill_poll()
|
D | main.c | 401 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); in b43info() 422 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); in b43err() 443 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); in b43warn() 462 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); in b43dbg() 2621 struct wiphy *wiphy = dev->wl->hw->wiphy; in b43_upload_microcode() local 2743 snprintf(wiphy->fw_version, sizeof(wiphy->fw_version), "%u.%u", in b43_upload_microcode() 2745 wiphy->hw_version = dev->dev->core_id; in b43_upload_microcode() 3582 "%s_%s", KBUILD_MODNAME, wiphy_name(wl->hw->wiphy)); in b43_rng_init() 4071 dev->wl->hw->wiphy->bands[b43_current_band(dev->wl)]; in b43_update_basic_rates() 5095 wiphy_rfkill_start_polling(hw->wiphy); in b43_op_start() [all …]
|
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/ |
D | event.c | 80 skb = cfg80211_vendor_event_alloc(wl->hw->wiphy, NULL, 20, in wlcore_smart_config_sync_event() 101 skb = cfg80211_vendor_event_alloc(wl->hw->wiphy, NULL, in wlcore_smart_config_decode_event()
|
/linux-4.4.14/drivers/staging/vt6656/ |
D | channel.c | 160 priv->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in vnt_init_bands() 174 priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in vnt_init_bands()
|
D | main_usb.c | 959 struct wiphy *wiphy; in vt6656_probe() local 989 wiphy = priv->hw->wiphy; in vt6656_probe() 991 wiphy->frag_threshold = FRAG_THRESH_DEF; in vt6656_probe() 992 wiphy->rts_threshold = RTS_THRESH_DEF; in vt6656_probe() 993 wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | in vt6656_probe()
|
D | dpc.c | 100 sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; in vnt_rx_data()
|
/linux-4.4.14/drivers/net/wireless/ti/wl1251/ |
D | main.c | 69 struct device *dev = wiphy_dev(wl->hw->wiphy); in wl1251_fetch_firmware() 108 struct device *dev = wiphy_dev(wl->hw->wiphy); in wl1251_fetch_nvs() 391 struct wiphy *wiphy = hw->wiphy; in wl1251_op_start() local 426 wiphy->hw_version = wl->chip_id; in wl1251_op_start() 427 strncpy(wiphy->fw_version, wl->fw_ver, sizeof(wiphy->fw_version)); in wl1251_op_start() 1482 wl->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | in wl1251_init_ieee80211() 1484 wl->hw->wiphy->max_scan_ssids = 1; in wl1251_init_ieee80211() 1485 wl->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &wl1251_band_2ghz; in wl1251_init_ieee80211()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 1984 bss = cfg80211_get_bss(ar->hw->wiphy, def.chan, info->bssid, NULL, 0, in ath10k_peer_assoc_h_crypto() 1999 cfg80211_put_bss(ar->hw->wiphy, bss); in ath10k_peer_assoc_h_crypto() 2035 sband = ar->hw->wiphy->bands[band]; in ath10k_peer_assoc_h_rates() 2827 bands = hw->wiphy->bands; in ath10k_update_channel_list() 2960 static void ath10k_reg_notifier(struct wiphy *wiphy, in ath10k_reg_notifier() argument 2963 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in ath10k_reg_notifier() 2967 ath_reg_notifier_apply(wiphy, request, &ar->ath_common.regulatory); in ath10k_reg_notifier() 4529 ret = ath10k_mac_set_rts(arvif, ar->hw->wiphy->rts_threshold); in ath10k_add_interface() 5764 scan_time_msec = ar->hw->wiphy->max_remain_on_channel_duration * 2; in ath10k_remain_on_channel() 5950 sband = hw->wiphy->bands[IEEE80211_BAND_2GHZ]; in ath10k_get_survey() [all …]
|
D | testmode.c | 66 nl_skb = cfg80211_testmode_alloc_event_skb(ar->hw->wiphy, in ath10k_tm_event_wmi() 120 skb = cfg80211_testmode_alloc_reply_skb(ar->hw->wiphy, in ath10k_tm_cmd_get_version()
|
D | core.c | 1059 if (ie_len > sizeof(ar->hw->wiphy->fw_version) - 1) in ath10k_core_fetch_firmware_api_n() 1062 memcpy(ar->hw->wiphy->fw_version, data, ie_len); in ath10k_core_fetch_firmware_api_n() 1063 ar->hw->wiphy->fw_version[ie_len] = '\0'; in ath10k_core_fetch_firmware_api_n() 1067 ar->hw->wiphy->fw_version); in ath10k_core_fetch_firmware_api_n() 1657 ar->hw->wiphy->fw_version); in ath10k_core_start() 1779 ar->hw->wiphy->hw_version = target_info.version; in ath10k_core_probe_fw()
|
D | wow.c | 336 ar->hw->wiphy->wowlan = &ar->wow.wowlan_support; in ath10k_wow_init()
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | led.c | 191 snprintf(name, sizeof(name), "ath5k-%s::rx", wiphy_name(hw->wiphy)); in ath5k_init_leds() 197 snprintf(name, sizeof(name), "ath5k-%s::tx", wiphy_name(hw->wiphy)); in ath5k_init_leds()
|
D | base.c | 253 static void ath5k_reg_notifier(struct wiphy *wiphy, in ath5k_reg_notifier() argument 256 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in ath5k_reg_notifier() 260 ath_reg_notifier_apply(wiphy, request, regulatory); in ath5k_reg_notifier() 384 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in ath5k_setup_bands() 410 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = sband; in ath5k_setup_bands() 430 hw->wiphy->bands[IEEE80211_BAND_5GHZ] = sband; in ath5k_setup_bands() 708 return &hw->wiphy->bands[info->band]->bitrates[ bf->rates[idx].idx ]; in ath5k_get_rate() 2547 hw->wiphy->interface_modes = in ath5k_init_ah() 2553 hw->wiphy->iface_combinations = &if_comb; in ath5k_init_ah() 2554 hw->wiphy->n_iface_combinations = 1; in ath5k_init_ah() [all …]
|
D | rfkill.c | 82 wiphy_rfkill_set_hw_state(ah->hw->wiphy, blocked); in ath5k_tasklet_rfkill_toggle()
|
D | pci.c | 257 dev_info(&pdev->dev, "registered as '%s'\n", wiphy_name(hw->wiphy)); in ath5k_pci_probe()
|
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/ |
D | main.c | 954 wcn->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | in wcn36xx_init_ieee80211() 959 wcn->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &wcn_band_2ghz; in wcn36xx_init_ieee80211() 960 wcn->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = &wcn_band_5ghz; in wcn36xx_init_ieee80211() 962 wcn->hw->wiphy->cipher_suites = cipher_suites; in wcn36xx_init_ieee80211() 963 wcn->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites); in wcn36xx_init_ieee80211() 965 wcn->hw->wiphy->flags |= WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD; in wcn36xx_init_ieee80211() 968 wcn->hw->wiphy->wowlan = &wowlan_support; in wcn36xx_init_ieee80211()
|
D | debug.c | 164 wcn->hw->wiphy->debugfsdir); in wcn36xx_debugfs_init()
|
/linux-4.4.14/drivers/staging/vt6655/ |
D | channel.c | 147 priv->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = in vnt_init_bands() 162 priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in vnt_init_bands()
|
D | dpc.c | 68 sband = hw->wiphy->bands[hw->conf.chandef.chan->band]; in vnt_rx_data()
|
D | device_main.c | 1579 struct wiphy *wiphy; in vt6655_probe() local 1657 wiphy = priv->hw->wiphy; in vt6655_probe() 1659 wiphy->frag_threshold = FRAG_THRESH_DEF; in vt6655_probe() 1660 wiphy->rts_threshold = RTS_THRESH_DEF; in vt6655_probe() 1661 wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | in vt6655_probe()
|
/linux-4.4.14/Documentation/networking/ |
D | regulatory.txt | 81 registering on its struct wiphy a reg_notifier() callback. This notifier 129 was found. You need to do this after you have registered your wiphy. You 134 regulatory_hint(hw->wiphy, alpha2); 170 Then in some part of your code after your wiphy has been registered:
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_hal.h | 185 struct wiphy *wiphy);
|
/linux-4.4.14/drivers/net/wireless/iwlegacy/ |
D | 3945-mac.c | 827 wiphy_rfkill_set_hw_state(il->hw->wiphy, in il3945_hdl_card_state() 1925 snprintf(il->hw->wiphy->fw_version, sizeof(il->hw->wiphy->fw_version), in il3945_read_ucode() 2514 wiphy_rfkill_set_hw_state(il->hw->wiphy, new_rfkill); in il3945_rfkill_poll() 3569 hw->wiphy->interface_modes = in il3945_setup_mac() 3572 hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN; in il3945_setup_mac() 3573 hw->wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG | in il3945_setup_mac() 3576 hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; in il3945_setup_mac() 3578 hw->wiphy->max_scan_ssids = PROBE_OPTION_MAX_3945; in il3945_setup_mac() 3580 hw->wiphy->max_scan_ie_len = IL3945_MAX_PROBE_REQUEST - 24 - 2; in il3945_setup_mac() 3586 il->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = in il3945_setup_mac() [all …]
|
D | 4965-mac.c | 4169 wiphy_rfkill_set_hw_state(il->hw->wiphy, in il4965_hdl_card_state() 4464 wiphy_rfkill_set_hw_state(il->hw->wiphy, hw_rf_kill); in il4965_irq_tasklet() 4846 snprintf(il->hw->wiphy->fw_version, sizeof(il->hw->wiphy->fw_version), in il4965_ucode_callback() 5565 wiphy_rfkill_set_hw_state(il->hw->wiphy, true); in __il4965_up() 5762 hw->wiphy->features |= NL80211_FEATURE_DYNAMIC_SMPS | in il4965_mac_setup_register() 5768 hw->wiphy->interface_modes = in il4965_mac_setup_register() 5771 hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN; in il4965_mac_setup_register() 5772 hw->wiphy->regulatory_flags |= REGULATORY_CUSTOM_REG | in il4965_mac_setup_register() 5779 hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; in il4965_mac_setup_register() 5781 hw->wiphy->max_scan_ssids = PROBE_OPTION_MAX; in il4965_mac_setup_register() [all …]
|
/linux-4.4.14/drivers/net/wireless/zd1211rw/ |
D | zd_mac.h | 302 return mac->hw->wiphy->perm_addr; in zd_mac_get_perm_addr()
|
D | zd_chip.c | 1026 struct wiphy *wiphy = zd_chip_to_mac(chip)->hw->wiphy; in print_fw_version() local 1037 snprintf(wiphy->fw_version, sizeof(wiphy->fw_version), in print_fw_version()
|
D | zd_mac.c | 227 r = regulatory_hint(hw->wiphy, alpha2); in zd_mac_init_hw() 1398 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &mac->band; in zd_mac_alloc_hw() 1405 hw->wiphy->interface_modes = in zd_mac_alloc_hw()
|
/linux-4.4.14/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 1005 ar5523_config_multi(ar, CFG_MAC_ADDR, &ar->hw->wiphy->perm_addr, in ar5523_start() 1157 band = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band]; in ar5523_get_wlan_mode() 1205 band = ar->hw->wiphy->bands[ar->hw->conf.chandef.chan->band]; in ar5523_create_rateset() 1479 ar->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &ar->band; in ar5523_init_modes() 1690 hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); in ar5523_probe()
|
/linux-4.4.14/drivers/net/wireless/libertas_tf/ |
D | main.c | 645 hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &priv->band; in lbtf_add_card() 646 hw->wiphy->interface_modes = in lbtf_add_card()
|