/linux-master/drivers/net/wireless/ti/wl12xx/ |
H A D | cmd.c | 15 int wl1271_cmd_ext_radio_parms(struct wl1271 *wl) argument 18 struct wl12xx_priv *priv = wl->priv; 22 if (!wl->nvs) 41 ret = wl1271_cmd_test(wl, ext_radio_parms, sizeof(*ext_radio_parms), 0); 49 int wl1271_cmd_general_parms(struct wl1271 *wl) argument 53 &((struct wl1271_nvs_file *)wl->nvs)->general_params; 54 struct wl12xx_priv *priv = wl->priv; 58 if (!wl->nvs) 75 if (wl->plt_mode == PLT_FEM_DETECT) 84 ret = wl1271_cmd_test(wl, gen_parm 116 wl128x_cmd_general_parms(struct wl1271 *wl) argument 184 wl1271_cmd_radio_parms(struct wl1271 *wl) argument 228 wl128x_cmd_radio_parms(struct wl1271 *wl) argument 274 wl12xx_cmd_channel_switch(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_channel_switch *ch_switch) argument [all...] |
H A D | scan.c | 13 static int wl1271_get_scan_channels(struct wl1271 *wl, argument 18 struct conf_scan_settings *c = &wl->conf.scan; 27 if (!test_bit(i, wl->scan.scanned_ch) && 69 set_bit(i, wl->scan.scanned_ch); 80 static int wl1271_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument 91 if (!passive && wl->scan.req->n_ssids == 0) 101 if (wl->conf.scan.split_scan_timeout) 120 cmd->params.n_ch = wl1271_get_scan_channels(wl, wl->scan.req, 129 cmd->params.n_probe_reqs = wl 177 wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 204 wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 307 wl1271_scan_sched_scan_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument 414 wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 447 wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument 460 wl12xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 488 wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_scan_request *req) argument 495 wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument [all...] |
H A D | acx.c | 15 int wl1271_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap) argument 28 ret = wl1271_cmd_configure(wl, ACX_HOST_IF_CFG_BITMAP,
|
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | scan.c | 23 struct wl1271 *wl; local 31 wl = container_of(dwork, struct wl1271, scan_complete_work); 35 mutex_lock(&wl->mutex); 37 if (unlikely(wl->state != WLCORE_STATE_ON)) 40 if (wl->scan.state == WL1271_SCAN_STATE_IDLE) 43 wlvif = wl->scan_wlvif; 49 wl12xx_rearm_tx_watchdog_locked(wl); 51 wl->scan.state = WL1271_SCAN_STATE_IDLE; 52 memset(wl->scan.scanned_ch, 0, sizeof(wl 113 wlcore_count_started_vifs(struct wl1271 *wl) argument 124 wlcore_scan_get_channels(struct wl1271 *wl, struct ieee80211_channel *req_channels[], u32 n_channels, u32 n_ssids, struct conn_scan_ch_params *channels, u32 band, bool radar, bool passive, int start, int max_channels, u8 *n_pactive_ch, int scan_type) argument 244 wlcore_set_scan_chan_params(struct wl1271 *wl, struct wlcore_scan_channels *cfg, struct ieee80211_channel *channels[], u32 n_channels, u32 n_ssids, int scan_type) argument 330 wlcore_scan(struct wl1271 *wl, struct ieee80211_vif *vif, const u8 *ssid, size_t ssid_len, struct cfg80211_scan_request *req) argument 369 wlcore_scan_sched_scan_ssid_list(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req) argument 472 wlcore_scan_sched_scan_results(struct wl1271 *wl) argument [all...] |
H A D | cmd.c | 34 * @wl: wl struct 40 static int __wlcore_cmd_send(struct wl1271 *wl, u16 id, void *buf, argument 50 if (unlikely(wl->state == WLCORE_STATE_RESTARTING && 62 WARN_ON(test_bit(WL1271_FLAG_IN_ELP, &wl->flags)); 64 ret = wlcore_write(wl, wl->cmd_box_addr, buf, len, false); 72 ret = wl->ops->trigger_cmd(wl, wl 121 wlcore_cmd_send_failsafe(struct wl1271 *wl, u16 id, void *buf, size_t len, size_t res_len, unsigned long valid_rets) argument 149 wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len, size_t res_len) argument 164 wlcore_cmd_wait_for_event_or_timeout(struct wl1271 *wl, u32 mask, bool *timeout) argument 224 wl12xx_cmd_role_enable(struct wl1271 *wl, u8 *addr, u8 role_type, u8 *role_id) argument 267 wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id) argument 300 wlcore_get_new_session_id(struct wl1271 *wl, u8 hlid) argument 310 wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) argument 348 wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) argument 418 wl12xx_cmd_role_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum nl80211_band band, int channel) argument 469 wl12xx_cmd_role_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 505 wl12xx_cmd_role_start_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 581 wl12xx_cmd_role_stop_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 616 wl12xx_cmd_role_start_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 726 wl12xx_cmd_role_stop_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 757 wl12xx_cmd_role_start_ibss(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 829 wl1271_cmd_test(struct wl1271 *wl, void *buf, size_t buf_len, u8 answer) argument 859 wl1271_cmd_interrogate(struct wl1271 *wl, u16 id, void *buf, size_t cmd_len, size_t res_len) argument 889 wlcore_cmd_configure_failsafe(struct wl1271 *wl, u16 id, void *buf, size_t len, unsigned long valid_rets) argument 919 wl1271_cmd_configure(struct wl1271 *wl, u16 id, void *buf, size_t len) argument 929 wl1271_cmd_data_path(struct wl1271 *wl, bool enable) argument 980 wl1271_cmd_ps_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ps_mode, u16 auto_ps_timeout) argument 1010 wl1271_cmd_template_set(struct wl1271 *wl, u8 role_id, u16 template_id, void *buf, size_t buf_len, int index, u32 rates) argument 1054 wl12xx_cmd_build_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1088 wl12xx_cmd_build_klv_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1113 wl1271_cmd_build_ps_poll(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 aid) argument 1133 wl12xx_cmd_build_probe_req(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id, u8 band, const u8 *ssid, size_t ssid_len, const u8 *ie0, size_t ie0_len, const u8 *ie1, size_t ie1_len, bool sched_scan) argument 1181 wl1271_cmd_build_ap_probe_req(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) argument 1213 wl1271_cmd_build_arp_rsp(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1304 wl1271_build_qos_null_data(struct wl1271 *wl, struct ieee80211_vif *vif) argument 1328 wl12xx_cmd_set_default_wep_key(struct wl1271 *wl, u8 id, u8 hlid) argument 1359 wl1271_cmd_set_sta_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, const u8 *addr, u32 tx_seq_32, u16 tx_seq_16) argument 1428 wl1271_cmd_set_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, u16 tx_seq_16, bool is_pairwise) argument 1492 wl12xx_cmd_set_peer_state(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument 1526 wl12xx_cmd_add_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta, u8 hlid) argument 1592 wl12xx_cmd_remove_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument 1679 wlcore_set_pending_regdomain_ch(struct wl1271 *wl, u16 channel, enum nl80211_band band) argument 1693 wlcore_cmd_regdomain_config_locked(struct wl1271 *wl) argument 1773 wl12xx_cmd_config_fwlog(struct wl1271 *wl) argument 1805 wl12xx_cmd_start_fwlog(struct wl1271 *wl) argument 1831 wl12xx_cmd_stop_fwlog(struct wl1271 *wl) argument 1857 wl12xx_cmd_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id, enum nl80211_band band, u8 channel) argument 1903 wl12xx_cmd_croc(struct wl1271 *wl, u8 role_id) argument 1931 wl12xx_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id, enum nl80211_band band, u8 channel) argument 1948 wl12xx_croc(struct wl1271 *wl, u8 role_id) argument 1972 wl12xx_cmd_stop_channel_switch(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 2001 wl12xx_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum nl80211_band band, int channel) argument 2040 wl12xx_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 2073 wlcore_cmd_generic_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 feature, u8 enable, u8 value) argument [all...] |
H A D | debugfs.h | 18 int wl1271_debugfs_init(struct wl1271 *wl); 19 void wl1271_debugfs_exit(struct wl1271 *wl); 20 void wl1271_debugfs_reset(struct wl1271 *wl); 21 void wl1271_debugfs_update_stats(struct wl1271 *wl); 29 struct wl1271 *wl = file->private_data; \ 43 wl, &name## _ops); \ 50 wl, &prefix## _## name## _ops); \ 58 struct wl1271 *wl = file->private_data; \ 59 struct struct_type *stats = wl->stats.fw_stats; \ 61 wl1271_debugfs_update_stats(wl); \ [all...] |
H A D | tx.h | 219 static inline int wl1271_tx_total_queue_count(struct wl1271 *wl) argument 224 count += wl->tx_queue_count[i]; 230 int wlcore_tx_work_locked(struct wl1271 *wl); 231 int wlcore_tx_complete(struct wl1271 *wl); 232 void wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif); 233 void wl12xx_tx_reset(struct wl1271 *wl); 234 void wl1271_tx_flush(struct wl1271 *wl); 235 u8 wlcore_rate_to_idx(struct wl1271 *wl, u8 rate, enum nl80211_band band); 236 u32 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set, 238 u32 wl1271_tx_min_rate_get(struct wl1271 *wl, u3 [all...] |
H A D | acx.c | 22 int wl1271_acx_wake_up_conditions(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument 41 ret = wl1271_cmd_configure(wl, ACX_WAKE_UP_CONDITIONS, 53 int wl1271_acx_sleep_auth(struct wl1271 *wl, u8 sleep_auth) argument 68 ret = wl1271_cmd_configure(wl, ACX_SLEEP_AUTH, auth, sizeof(*auth)); 75 wl->sleep_auth = sleep_auth; 82 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument 102 ret = wl1271_cmd_configure(wl, DOT11_CUR_TX_PWR, acx, sizeof(*acx)); 113 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 131 ret = wl1271_cmd_configure(wl, ACX_FEATURE_CFG, 143 int wl1271_acx_mem_map(struct wl1271 *wl, struc argument 158 wl1271_acx_rx_msdu_life_time(struct wl1271 *wl) argument 184 wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum acx_slot_type slot_time) argument 213 wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable, void *mc_list, u32 mc_list_len) argument 245 wl1271_acx_service_period_timeout(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 276 wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif, u32 rts_threshold) argument 311 wl1271_acx_dco_itrim_params(struct wl1271 *wl) argument 340 wl1271_acx_beacon_filter_opt(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable_filter) argument 380 wl1271_acx_beacon_filter_table(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 438 wl1271_acx_conn_monit_params(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) argument 478 wl1271_acx_sg_enable(struct wl1271 *wl, bool enable) argument 507 wl12xx_acx_sg_cfg(struct wl1271 *wl) argument 537 wl1271_acx_cca_threshold(struct wl1271 *wl) argument 563 wl1271_acx_bcn_dtim_options(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 593 wl1271_acx_aid(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 aid) argument 620 wl1271_acx_event_mbox_mask(struct wl1271 *wl, u32 event_mask) argument 649 wl1271_acx_set_preamble(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum acx_preamble_type preamble) argument 677 wl1271_acx_cts_protect(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum acx_ctsprotect_type ctsprotect) argument 705 wl1271_acx_statistics(struct wl1271 *wl, void *stats) argument 722 wl1271_acx_sta_rate_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 792 wl1271_acx_ap_rate_policy(struct wl1271 *wl, struct conf_tx_rate_class *c, u8 idx) argument 825 wl1271_acx_ac_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ac, u8 cw_min, u16 cw_max, u8 aifsn, u16 txop) argument 859 wl1271_acx_tid_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue_id, u8 channel_type, u8 tsid, u8 ps_scheme, u8 ack_policy, u32 apsd_conf0, u32 apsd_conf1) argument 896 wl1271_acx_frag_threshold(struct wl1271 *wl, u32 frag_threshold) argument 929 wl1271_acx_tx_config_options(struct wl1271 *wl) argument 956 wl12xx_acx_mem_cfg(struct wl1271 *wl) argument 997 wl1271_acx_init_mem_config(struct wl1271 *wl) argument 1028 wl1271_acx_init_rx_interrupt(struct wl1271 *wl) argument 1058 wl1271_acx_bet_enable(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) argument 1090 wl1271_acx_arp_ip_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 enable, __be32 address) argument 1123 wl1271_acx_pm_config(struct wl1271 *wl) argument 1152 wl1271_acx_keep_alive_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) argument 1180 wl1271_acx_keep_alive_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 index, u8 tpl_valid) argument 1212 wl1271_acx_rssi_snr_trigger(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable, s16 thold, u8 hyst) argument 1253 wl1271_acx_rssi_snr_avg_weights(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1285 wl1271_acx_set_ht_capabilities(struct wl1271 *wl, struct ieee80211_sta_ht_cap *ht_cap, bool allow_ht_operation, u8 hlid) argument 1334 wl1271_acx_set_ht_information(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 ht_operation_mode) argument 1371 wl12xx_acx_set_ba_initiator_policy(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1406 wl12xx_acx_set_ba_receiver_session(struct wl1271 *wl, u8 tid_index, u16 ssn, bool enable, u8 peer_hlid, u8 win_size) argument 1448 wl12xx_acx_tsf_info(struct wl1271 *wl, struct wl12xx_vif *wlvif, u64 *mactime) argument 1477 wl1271_acx_ps_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) argument 1526 wl1271_acx_ap_max_tx_retry(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1551 wl12xx_acx_config_ps(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1581 wl1271_acx_set_inconnection_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *addr) argument 1608 wl1271_acx_fm_coex(struct wl1271 *wl) argument 1648 wl12xx_acx_set_rate_mgmt_params(struct wl1271 *wl) argument 1690 wl12xx_acx_config_hangover(struct wl1271 *wl) argument 1730 wlcore_acx_average_rssi(struct wl1271 *wl, struct wl12xx_vif *wlvif, s8 *avg_rssi) argument 1761 wl1271_acx_default_rx_filter_enable(struct wl1271 *wl, bool enable, enum rx_filter_action action) argument 1790 wl1271_acx_set_rx_filter(struct wl1271 *wl, u8 index, bool enable, struct wl12xx_rx_filter *filter) argument [all...] |
/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | leds.c | 53 if (!led->wl) 78 struct b43_wl *wl = container_of(leds, struct b43_wl, leds); local 81 mutex_lock(&wl->mutex); 82 dev = wl->current_dev; 86 b43_led_update(dev, &wl->leds.led_tx); 87 b43_led_update(dev, &wl->leds.led_rx); 88 b43_led_update(dev, &wl->leds.led_radio); 89 b43_led_update(dev, &wl->leds.led_assoc); 92 mutex_unlock(&wl->mutex); 100 struct b43_wl *wl local 342 b43_leds_unregister(struct b43_wl *wl) argument [all...] |
H A D | main.c | 371 static int b43_ratelimit(struct b43_wl *wl) argument 373 if (!wl || !wl->current_dev) 375 if (b43_status(wl->current_dev) < B43_STAT_STARTED) 382 void b43info(struct b43_wl *wl, const char *fmt, ...) argument 389 if (!b43_ratelimit(wl)) 398 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); 403 void b43err(struct b43_wl *wl, cons argument 424 b43warn(struct b43_wl *wl, const char *fmt, ...) argument 445 b43dbg(struct b43_wl *wl, const char *fmt, ...) argument 940 struct b43_wl *wl = hw_to_b43_wl(hw); local 1709 struct b43_wl *wl = dev->wl; local 1719 struct b43_wl *wl = dev->wl; local 1729 struct b43_wl *wl = dev->wl; local 1800 struct b43_wl *wl = container_of(work, struct b43_wl, local 1820 b43_update_templates(struct b43_wl *wl) argument 2137 struct b43_wl *wl = dev->wl; local 2165 b43_print_fw_helptext(struct b43_wl *wl, bool error) argument 2550 struct b43_wl *wl = container_of(work, local 3096 struct b43_wl *wl = dev->wl; local 3432 struct b43_wl *wl = dev->wl; local 3537 struct b43_wl *wl = (struct b43_wl *)rng->priv; local 3553 b43_rng_exit(struct b43_wl *wl) argument 3561 b43_rng_init(struct b43_wl *wl) argument 3585 struct b43_wl *wl = container_of(work, struct b43_wl, tx_work); local 3630 struct b43_wl *wl = hw_to_b43_wl(hw); local 3700 struct b43_wl *wl = dev->wl; local 3719 b43_qos_clear(struct b43_wl *wl) argument 3792 struct b43_wl *wl = hw_to_b43_wl(hw); local 3827 struct b43_wl *wl = hw_to_b43_wl(hw); local 3838 struct b43_wl *wl = hw_to_b43_wl(hw); local 3858 struct b43_wl *wl = hw_to_b43_wl(hw); local 3980 struct b43_wl *wl = hw_to_b43_wl(hw); local 4105 struct b43_wl *wl = hw_to_b43_wl(hw); local 4163 struct b43_wl *wl = hw_to_b43_wl(hw); local 4288 struct b43_wl *wl = hw_to_b43_wl(hw); local 4326 struct b43_wl *wl; local 4963 struct b43_wl *wl = hw_to_b43_wl(hw); local 5005 struct b43_wl *wl = hw_to_b43_wl(hw); local 5027 struct b43_wl *wl = hw_to_b43_wl(hw); local 5083 struct b43_wl *wl = hw_to_b43_wl(hw); local 5109 struct b43_wl *wl = hw_to_b43_wl(hw); local 5121 struct b43_wl *wl = hw_to_b43_wl(hw); local 5130 struct b43_wl *wl = hw_to_b43_wl(hw); local 5145 struct b43_wl *wl = hw_to_b43_wl(hw); local 5160 struct b43_wl *wl = hw_to_b43_wl(hw); local 5209 struct b43_wl *wl = dev->wl; local 5374 struct b43_wl *wl = dev->wl; local 5492 b43_one_core_attach(struct b43_bus_dev *dev, struct b43_wl *wl) argument 5554 b43_wireless_exit(struct b43_bus_dev *dev, struct b43_wl *wl) argument 5567 struct b43_wl *wl; local 5626 struct b43_wl *wl; local 5665 struct b43_wl *wl = wldev->wl; local 5703 struct b43_wl *wl; local 5746 struct b43_wl *wl = ssb_get_devtypedata(sdev); local [all...] |
/linux-master/drivers/net/wireless/ti/wl18xx/ |
H A D | event.c | 16 int wl18xx_wait_for_event(struct wl1271 *wl, enum wlcore_wait_event event, argument 34 return wlcore_cmd_wait_for_event_or_timeout(wl, local_event, timeout); 50 static int wlcore_smart_config_sync_event(struct wl1271 *wl, u8 sync_channel, argument 67 skb = cfg80211_vendor_event_alloc(wl->hw->wiphy, NULL, 20, 79 static int wlcore_smart_config_decode_event(struct wl1271 *wl, argument 88 skb = cfg80211_vendor_event_alloc(wl->hw->wiphy, NULL, 102 static void wlcore_event_time_sync(struct wl1271 *wl, argument 116 int wl18xx_process_mailbox_events(struct wl1271 *wl) argument 118 struct wl18xx_event_mailbox *mbox = wl->mbox; 128 if (wl [all...] |
H A D | main.c | 661 static int wl18xx_identify_chip(struct wl1271 *wl) argument 665 switch (wl->chip.id) { 668 wl->chip.id); 669 wl->sr_fw_name = WL18XX_FW_NAME; 671 wl->plt_fw_name = WL18XX_FW_NAME; 672 wl->quirks |= WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN | 679 wlcore_set_min_fw_ver(wl, WL18XX_CHIP_VER, 687 wl->chip.id); 692 wl1271_warning("unsupported chip id: 0x%x", wl->chip.id); 697 wl 710 wl18xx_set_clk(struct wl1271 *wl) argument 818 wl18xx_boot_soft_reset(struct wl1271 *wl) argument 834 wl18xx_pre_boot(struct wl1271 *wl) argument 864 wl18xx_pre_upload(struct wl1271 *wl) argument 945 wl18xx_set_mac_and_phy(struct wl1271 *wl) argument 969 wl18xx_enable_interrupts(struct wl1271 *wl) argument 997 wl18xx_boot(struct wl1271 *wl) argument 1048 wl18xx_trigger_cmd(struct wl1271 *wl, int cmd_box_addr, void *buf, size_t len) argument 1060 wl18xx_ack_event(struct wl1271 *wl) argument 1066 wl18xx_calc_tx_blocks(struct wl1271 *wl, u32 len, u32 spare_blks) argument 1073 wl18xx_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, u32 blks, u32 spare_blks) argument 1080 wl18xx_set_tx_desc_data_len(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, struct sk_buff *skb) argument 1099 wl18xx_get_rx_buf_align(struct wl1271 *wl, u32 rx_desc) argument 1107 wl18xx_get_rx_packet_len(struct wl1271 *wl, void *rx_data, u32 data_len) argument 1119 wl18xx_tx_immediate_completion(struct wl1271 *wl) argument 1124 wl18xx_set_host_cfg_bitmap(struct wl1271 *wl, u32 extra_mem_blk) argument 1152 wl18xx_hw_init(struct wl1271 *wl) argument 1180 wl18xx_convert_fw_status(struct wl1271 *wl, void *raw_fw_status, struct wl_fw_status *fw_status) argument 1217 wl18xx_set_tx_desc_csum(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, struct sk_buff *skb) argument 1247 wl18xx_set_rx_csum(struct wl1271 *wl, struct wl1271_rx_descriptor *desc, struct sk_buff *skb) argument 1255 wl18xx_is_mimo_supported(struct wl1271 *wl) argument 1271 wl18xx_sta_get_ap_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1291 wl18xx_ap_get_mimo_wide_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1342 wl18xx_get_pg_ver(struct wl1271 *wl, s8 *ver) argument 1438 wl18xx_conf_init(struct wl1271 *wl, struct device *dev) argument 1458 wl18xx_plt_init(struct wl1271 *wl) argument 1475 wl18xx_get_mac(struct wl1271 *wl) argument 1513 wl18xx_handle_static_data(struct wl1271 *wl, struct wl1271_static_data *static_data) argument 1527 wl18xx_get_spare_blocks(struct wl1271 *wl, bool is_gem) argument 1538 wl18xx_set_key(struct wl1271 *wl, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key_conf) argument 1591 wl18xx_pre_pkt_send(struct wl1271 *wl, u32 buf_offset, u32 last_len) argument 1610 wl18xx_sta_rc_update(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1636 wl18xx_set_peer_cap(struct wl1271 *wl, struct ieee80211_sta_ht_cap *ht_cap, bool allow_ht_operation, u32 rate_set, u8 hlid) argument 1645 wl18xx_lnk_high_prio(struct wl1271 *wl, u8 hlid, struct wl1271_link *lnk) argument 1672 wl18xx_lnk_low_prio(struct wl1271 *wl, u8 hlid, struct wl1271_link *lnk) argument 1696 wl18xx_convert_hwaddr(struct wl1271 *wl, u32 hwaddr) argument 1867 wl18xx_setup(struct wl1271 *wl) argument 1997 struct wl1271 *wl; local [all...] |
H A D | cmd.h | 72 int wl18xx_cmd_channel_switch(struct wl1271 *wl, 75 int wl18xx_cmd_smart_config_start(struct wl1271 *wl, u32 group_bitmap); 76 int wl18xx_cmd_smart_config_stop(struct wl1271 *wl); 77 int wl18xx_cmd_smart_config_set_group_key(struct wl1271 *wl, u16 group_id, 79 int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start); 80 int wl18xx_cmd_radar_detection_debug(struct wl1271 *wl, u8 channel); 81 int wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
H A D | acx.c | 15 int wl18xx_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap, argument 37 ret = wl1271_cmd_configure(wl, ACX_HOST_IF_CFG_BITMAP, 50 int wl18xx_acx_set_checksum_state(struct wl1271 *wl) argument 65 ret = wl1271_cmd_configure(wl, ACX_CSUM_CONFIG, acx, sizeof(*acx)); 76 int wl18xx_acx_clear_statistics(struct wl1271 *wl) argument 89 ret = wl1271_cmd_configure(wl, ACX_CLEAR_STATISTICS, acx, sizeof(*acx)); 100 int wl18xx_acx_peer_ht_operation_mode(struct wl1271 *wl, u8 hlid, bool wide) argument 117 ret = wl1271_cmd_configure(wl, ACX_PEER_HT_OPERATION_MODE_CFG, acx, 136 int wl18xx_acx_set_peer_cap(struct wl1271 *wl, argument 174 ret = wl1271_cmd_configure(wl, ACX_PEER_CA 189 wl18xx_acx_interrupt_notify_config(struct wl1271 *wl, bool action) argument 217 wl18xx_acx_rx_ba_filter(struct wl1271 *wl, bool action) argument 241 wl18xx_acx_ap_sleep(struct wl1271 *wl) argument 272 wl18xx_acx_dynamic_fw_traces(struct wl1271 *wl) argument 299 wl18xx_acx_time_sync_cfg(struct wl1271 *wl) argument [all...] |
H A D | tx.h | 30 void wl18xx_tx_immediate_complete(struct wl1271 *wl);
|
H A D | scan.c | 27 static int wl18xx_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument 64 cmd->n_probe_reqs = wl->conf.scan.num_probe_reqs; 76 wlcore_set_scan_chan_params(wl, cmd_channels, req->channels, 100 ret = wl12xx_cmd_build_probe_req(wl, wlvif, 117 ret = wl12xx_cmd_build_probe_req(wl, wlvif, 134 ret = wl1271_cmd_send(wl, CMD_SCAN, cmd, sizeof(*cmd), 0); 146 void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 148 wl->scan.failed = false; 149 cancel_delayed_work(&wl->scan_complete_work); 150 ieee80211_queue_delayed_work(wl 155 wl18xx_scan_sched_scan_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument 289 wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument 296 __wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 scan_type) argument 324 wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 328 wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_scan_request *req) argument 334 wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument [all...] |
/linux-master/drivers/net/wireless/microchip/wilc1000/ |
H A D | cfg80211.h | 17 void wilc_wfi_deinit_mon_interface(struct wilc *wl, bool rtnl_locked); 18 struct net_device *wilc_wfi_init_mon_interface(struct wilc *wl, 24 struct wilc_vif *wilc_get_wl_to_vif(struct wilc *wl);
|
H A D | wlan_cfg.c | 138 static void wilc_wlan_parse_response_frame(struct wilc *wl, u8 *info, int size) argument 142 struct wilc_cfg *cfg = &wl->cfg; 198 static void wilc_wlan_parse_info_frame(struct wilc *wl, u8 *info) argument 209 while (wl->cfg.b[i].id != WID_NIL && 210 wl->cfg.b[i].id != wid) 213 if (wl->cfg.b[i].id == wid) 214 wl->cfg.b[i].val = info[3]; 269 int wilc_wlan_cfg_get_val(struct wilc *wl, u16 wid, u8 *buffer, argument 274 struct wilc_cfg *cfg = &wl->cfg; 358 int wilc_wlan_cfg_init(struct wilc *wl) argument 409 wilc_wlan_cfg_deinit(struct wilc *wl) argument [all...] |
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | ucode_loader.h | 46 int brcms_ucode_data_init(struct brcms_info *wl, struct brcms_ucode *ucode); 50 int brcms_ucode_init_buf(struct brcms_info *wl, void **pbuf, unsigned int idx); 51 int brcms_ucode_init_uint(struct brcms_info *wl, size_t *n_bytes, 54 int brcms_check_firmwares(struct brcms_info *wl);
|
/linux-master/drivers/net/wireless/ti/wl1251/ |
H A D | cmd.c | 17 * @wl: wl struct 22 int wl1251_cmd_send(struct wl1251 *wl, u16 id, void *buf, size_t len) argument 35 wl1251_mem_write(wl, wl->cmd_box_addr, buf, len); 37 wl1251_reg_write32(wl, ACX_REG_INTERRUPT_TRIG, INTR_TRIG_CMD); 41 intr = wl1251_reg_read32(wl, ACX_REG_INTERRUPT_NO_CLEAR); 51 intr = wl1251_reg_read32(wl, ACX_REG_INTERRUPT_NO_CLEAR); 54 wl1251_reg_write32(wl, ACX_REG_INTERRUPT_ACK, 64 * @wl 69 wl1251_cmd_test(struct wl1251 *wl, void *buf, size_t buf_len, u8 answer) argument 110 wl1251_cmd_interrogate(struct wl1251 *wl, u16 id, void *buf, size_t len) argument 148 wl1251_cmd_configure(struct wl1251 *wl, u16 id, void *buf, size_t len) argument 169 wl1251_cmd_vbm(struct wl1251 *wl, u8 identity, void *bitmap, u16 bitmap_len, u8 bitmap_control) argument 205 wl1251_cmd_data_path_rx(struct wl1251 *wl, u8 channel, bool enable) argument 239 wl1251_cmd_data_path_tx(struct wl1251 *wl, u8 channel, bool enable) argument 270 wl1251_cmd_join(struct wl1251 *wl, u8 bss_type, u8 channel, u16 beacon_interval, u8 dtim_interval) argument 313 wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode) argument 342 wl1251_cmd_read_memory(struct wl1251 *wl, u32 addr, void *answer, size_t len) argument 380 wl1251_cmd_template_set(struct wl1251 *wl, u16 cmd_id, void *buf, size_t buf_len) argument 413 wl1251_cmd_scan(struct wl1251 *wl, u8 *ssid, size_t ssid_len, struct ieee80211_channel *channels[], unsigned int n_channels, unsigned int n_probes) argument 484 wl1251_cmd_trigger_scan_to(struct wl1251 *wl, u32 timeout) argument [all...] |
H A D | debugfs.c | 26 struct wl1251 *wl = file->private_data; \ 41 wl->debugfs.name = debugfs_create_file(#name, 0400, parent, \ 42 wl, &name## _ops) \ 46 debugfs_remove(wl->debugfs.name); \ 47 wl->debugfs.name = NULL; \ 55 struct wl1251 *wl = file->private_data; \ 59 wl1251_debugfs_update_stats(wl); \ 62 wl->stats.fw_stats->sub.name); \ 73 DEBUGFS_ADD(sub## _ ##name, wl->debugfs.fw_statistics) 78 static void wl1251_debugfs_update_stats(struct wl1251 *wl) argument 200 struct wl1251 *wl = file->private_data; local 220 struct wl1251 *wl = file->private_data; local 239 wl1251_debugfs_delete_files(struct wl1251 *wl) argument 338 wl1251_debugfs_add_files(struct wl1251 *wl) argument 437 wl1251_debugfs_reset(struct wl1251 *wl) argument 445 wl1251_debugfs_init(struct wl1251 *wl) argument 463 wl1251_debugfs_exit(struct wl1251 *wl) argument [all...] |
H A D | acx.c | 12 int wl1251_acx_frame_rates(struct wl1251 *wl, u8 ctrl_rate, u8 ctrl_mod, argument 29 ret = wl1251_cmd_configure(wl, ACX_FW_GEN_FRAME_RATES, 42 int wl1251_acx_station_id(struct wl1251 *wl) argument 54 mac->mac[i] = wl->mac_addr[ETH_ALEN - 1 - i]; 56 ret = wl1251_cmd_configure(wl, DOT11_STATION_ID, mac, sizeof(*mac)); 62 int wl1251_acx_default_key(struct wl1251 *wl, u8 key_id) argument 75 ret = wl1251_cmd_configure(wl, DOT11_DEFAULT_KEY, 82 wl->default_key = key_id; 89 int wl1251_acx_wake_up_conditions(struct wl1251 *wl, u8 wake_up_event, argument 104 ret = wl1251_cmd_configure(wl, ACX_WAKE_UP_CONDITION 116 wl1251_acx_sleep_auth(struct wl1251 *wl, u8 sleep_auth) argument 135 wl1251_acx_fw_version(struct wl1251 *wl, char *buf, size_t len) argument 167 wl1251_acx_tx_power(struct wl1251 *wl, int power) argument 194 wl1251_acx_feature_cfg(struct wl1251 *wl, u32 data_flow_options) argument 221 wl1251_acx_mem_map(struct wl1251 *wl, struct acx_header *mem_map, size_t len) argument 235 wl1251_acx_data_path_params(struct wl1251 *wl, struct acx_data_path_params_resp *resp) argument 282 wl1251_acx_rx_msdu_life_time(struct wl1251 *wl, u32 life_time) argument 306 wl1251_acx_rx_config(struct wl1251 *wl, u32 config, u32 filter) argument 332 wl1251_acx_pd_threshold(struct wl1251 *wl) argument 356 wl1251_acx_slot(struct wl1251 *wl, enum acx_slot_type slot_time) argument 381 wl1251_acx_group_address_tbl(struct wl1251 *wl, bool enable, void *mc_list, u32 mc_list_len) argument 410 wl1251_acx_service_period_timeout(struct wl1251 *wl) argument 437 wl1251_acx_rts_threshold(struct wl1251 *wl, u16 rts_threshold) argument 461 wl1251_acx_beacon_filter_opt(struct wl1251 *wl, bool enable_filter) argument 487 wl1251_acx_beacon_filter_table(struct wl1251 *wl) argument 516 wl1251_acx_conn_monit_params(struct wl1251 *wl) argument 543 wl1251_acx_sg_enable(struct wl1251 *wl) argument 567 wl1251_acx_sg_cfg(struct wl1251 *wl) argument 619 wl1251_acx_cca_threshold(struct wl1251 *wl) argument 642 wl1251_acx_bcn_dtim_options(struct wl1251 *wl) argument 669 wl1251_acx_aid(struct wl1251 *wl, u16 aid) argument 693 wl1251_acx_event_mbox_mask(struct wl1251 *wl, u32 event_mask) argument 721 wl1251_acx_low_rssi(struct wl1251 *wl, s8 threshold, u8 weight, u8 depth, enum wl1251_acx_low_rssi_type type) argument 746 wl1251_acx_set_preamble(struct wl1251 *wl, enum acx_preamble_type preamble) argument 770 wl1251_acx_cts_protect(struct wl1251 *wl, enum acx_ctsprotect_type ctsprotect) argument 795 wl1251_acx_tsf_info(struct wl1251 *wl, u64 *mactime) argument 819 wl1251_acx_statistics(struct wl1251 *wl, struct acx_statistics *stats) argument 835 wl1251_acx_rate_policies(struct wl1251 *wl) argument 870 wl1251_acx_mem_cfg(struct wl1251 *wl) argument 915 wl1251_acx_wr_tbtt_and_dtim(struct wl1251 *wl, u16 tbtt, u8 dtim) argument 941 wl1251_acx_bet_enable(struct wl1251 *wl, enum wl1251_acx_bet_mode mode, u8 max_consecutive) argument 967 wl1251_acx_arp_ip_filter(struct wl1251 *wl, bool enable, __be32 address) argument 993 wl1251_acx_ac_cfg(struct wl1251 *wl, u8 ac, u8 cw_min, u16 cw_max, u8 aifs, u16 txop) argument 1023 wl1251_acx_tid_cfg(struct wl1251 *wl, u8 queue, enum wl1251_acx_channel_type type, u8 tsid, enum wl1251_acx_ps_scheme ps_scheme, enum wl1251_acx_ack_policy ack_policy) argument [all...] |
/linux-master/drivers/net/wireless/broadcom/b43legacy/ |
H A D | rfkill.c | 41 struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); local 42 struct b43legacy_wldev *dev = wl->current_dev; 47 mutex_lock(&wl->mutex); 50 mutex_unlock(&wl->mutex); 61 b43legacyinfo(wl, "Radio hardware status changed to %s\n", 77 mutex_unlock(&wl->mutex);
|
H A D | main.c | 155 static int b43legacy_ratelimit(struct b43legacy_wl *wl) argument 157 if (!wl || !wl->current_dev) 159 if (b43legacy_status(wl->current_dev) < B43legacy_STAT_STARTED) 166 void b43legacyinfo(struct b43legacy_wl *wl, const char *fmt, ...) argument 171 if (!b43legacy_ratelimit(wl)) 180 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); 185 void b43legacyerr(struct b43legacy_wl *wl, cons argument 204 b43legacywarn(struct b43legacy_wl *wl, const char *fmt, ...) argument 224 b43legacydbg(struct b43legacy_wl *wl, const char *fmt, ...) argument 1140 struct b43legacy_wl *wl = dev->wl; local 1154 struct b43legacy_wl *wl = dev->wl; local 1164 struct b43legacy_wl *wl = dev->wl; local 1212 struct b43legacy_wl *wl = container_of(work, struct b43legacy_wl, local 1232 b43legacy_update_templates(struct b43legacy_wl *wl) argument 1479 b43legacy_print_fw_helptext(struct b43legacy_wl *wl) argument 1563 struct b43legacy_wl *wl = container_of(work, local 2003 struct b43legacy_wl *wl = dev->wl; local 2318 struct b43legacy_wl *wl = dev->wl; local 2401 struct b43legacy_wl *wl = (struct b43legacy_wl *)rng->priv; local 2416 b43legacy_rng_exit(struct b43legacy_wl *wl) argument 2424 b43legacy_rng_init(struct b43legacy_wl *wl) argument 2448 struct b43legacy_wl *wl = container_of(work, struct b43legacy_wl, local 2491 struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); local 2518 struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); local 2541 find_wldev_for_phymode(struct b43legacy_wl *wl, unsigned int phymode, struct b43legacy_wldev **dev, bool *gmode) argument 2582 b43legacy_switch_phymode(struct b43legacy_wl *wl, unsigned int new_mode) argument 2668 struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); local 2812 struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); local 2882 struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); local 2916 struct b43legacy_wl *wl = dev->wl; local 3252 struct b43legacy_wl *wl = dev->wl; local 3380 struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); local 3421 struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); local 3446 struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); local 3490 struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); local 3506 struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); local 3519 struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); local 3561 struct b43legacy_wl *wl = dev->wl; local 3629 struct b43legacy_wl *wl = dev->wl; local 3721 struct b43legacy_wl *wl; local 3736 b43legacy_one_core_attach(struct ssb_device *dev, struct b43legacy_wl *wl) argument 3780 b43legacy_wireless_exit(struct ssb_device *dev, struct b43legacy_wl *wl) argument 3793 struct b43legacy_wl *wl; local 3852 struct b43legacy_wl *wl; local 3885 struct b43legacy_wl *wl = ssb_get_devtypedata(dev); local 3925 struct b43legacy_wl *wl = wldev->wl; local 3945 struct b43legacy_wl *wl = wldev->wl; local [all...] |
H A D | sysfs.c | 74 mutex_lock(&wldev->wl->mutex); 91 mutex_unlock(&wldev->wl->mutex); 126 mutex_lock(&wldev->wl->mutex); 127 spin_lock_irqsave(&wldev->wl->irq_lock, flags); 131 b43legacyerr(wldev->wl, "Interference Mitigation not " 133 spin_unlock_irqrestore(&wldev->wl->irq_lock, flags); 134 mutex_unlock(&wldev->wl->mutex); 153 mutex_lock(&wldev->wl->mutex); 160 mutex_unlock(&wldev->wl->mutex); 179 mutex_lock(&wldev->wl [all...] |