Lines Matching defs:wl
46 static int wl12xx_set_authorized(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_set_authorized()
71 struct wl1271 *wl = hw->priv; in wl1271_reg_notify() local
80 static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_set_rx_streaming()
102 int wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_recalc_rx_streaming()
131 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_enable_work() local
170 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_disable_work() local
197 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_timer() local
202 void wl12xx_rearm_tx_watchdog_locked(struct wl1271 *wl) in wl12xx_rearm_tx_watchdog_locked()
218 struct wl1271 *wl = wlvif->wl; in wlcore_rc_update_work() local
251 struct wl1271 *wl; in wl12xx_tx_watchdog_work() local
310 static void wlcore_adjust_conf(struct wl1271 *wl) in wlcore_adjust_conf()
335 static void wl12xx_irq_ps_regulate_link(struct wl1271 *wl, in wl12xx_irq_ps_regulate_link()
364 static void wl12xx_irq_update_links_status(struct wl1271 *wl, in wl12xx_irq_update_links_status()
386 static int wlcore_fw_status(struct wl1271 *wl, struct wl_fw_status *status) in wlcore_fw_status()
493 static void wl1271_flush_deferred_work(struct wl1271 *wl) in wl1271_flush_deferred_work()
508 struct wl1271 *wl = in wl1271_netstack_work() local
518 static int wlcore_irq_locked(struct wl1271 *wl) in wlcore_irq_locked()
653 struct wl1271 *wl = cookie; in wlcore_irq() local
736 static int wl12xx_fetch_firmware(struct wl1271 *wl, bool plt) in wl12xx_fetch_firmware()
799 void wl12xx_queue_recovery_work(struct wl1271 *wl) in wl12xx_queue_recovery_work()
812 size_t wl12xx_copy_fwlog(struct wl1271 *wl, u8 *memblock, size_t maxlen) in wl12xx_copy_fwlog()
826 static void wl12xx_read_fwlog_panic(struct wl1271 *wl) in wl12xx_read_fwlog_panic()
860 static void wlcore_save_freed_pkts(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_save_freed_pkts()
880 static void wlcore_save_freed_pkts_addr(struct wl1271 *wl, in wlcore_save_freed_pkts_addr()
898 static void wlcore_print_recovery(struct wl1271 *wl) in wlcore_print_recovery()
929 struct wl1271 *wl = in wl1271_recovery_work() local
999 static int wlcore_fw_wakeup(struct wl1271 *wl) in wlcore_fw_wakeup()
1004 static int wl1271_setup(struct wl1271 *wl) in wl1271_setup()
1025 static int wl12xx_set_power_on(struct wl1271 *wl) in wl12xx_set_power_on()
1054 static int wl12xx_chip_wakeup(struct wl1271 *wl, bool plt) in wl12xx_chip_wakeup()
1093 int wl1271_plt_start(struct wl1271 *wl, const enum plt_mode plt_mode) in wl1271_plt_start()
1161 int wl1271_plt_stop(struct wl1271 *wl) in wl1271_plt_stop()
1215 struct wl1271 *wl = hw->priv; in wl1271_op_tx() local
1284 int wl1271_tx_dummy_packet(struct wl1271 *wl) in wl1271_tx_dummy_packet()
1318 static struct sk_buff *wl12xx_alloc_dummy_packet(struct wl1271 *wl) in wl12xx_alloc_dummy_packet()
1560 static int wl1271_configure_wowlan(struct wl1271 *wl, in wl1271_configure_wowlan()
1625 static int wl1271_configure_suspend_sta(struct wl1271 *wl, in wl1271_configure_suspend_sta()
1655 static int wl1271_configure_suspend_ap(struct wl1271 *wl, in wl1271_configure_suspend_ap()
1677 static int wl1271_configure_suspend(struct wl1271 *wl, in wl1271_configure_suspend()
1688 static void wl1271_configure_resume(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_configure_resume()
1726 struct wl1271 *wl = hw->priv; in wl1271_op_suspend() local
1806 struct wl1271 *wl = hw->priv; in wl1271_op_resume() local
1916 static void wlcore_op_stop_locked(struct wl1271 *wl) in wlcore_op_stop_locked()
2026 struct wl1271 *wl = hw->priv; in wlcore_op_stop() local
2040 struct wl1271 *wl; in wlcore_channel_switch_work() local
2080 struct wl1271 *wl; in wlcore_connection_loss_work() local
2108 struct wl1271 *wl; in wlcore_pending_auth_complete_work() local
2149 static int wl12xx_allocate_rate_policy(struct wl1271 *wl, u8 *idx) in wl12xx_allocate_rate_policy()
2161 static void wl12xx_free_rate_policy(struct wl1271 *wl, u8 *idx) in wl12xx_free_rate_policy()
2170 static int wlcore_allocate_klv_template(struct wl1271 *wl, u8 *idx) in wlcore_allocate_klv_template()
2182 static void wlcore_free_klv_template(struct wl1271 *wl, u8 *idx) in wlcore_free_klv_template()
2191 static u8 wl12xx_get_role_type(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_get_role_type()
2219 static int wl12xx_init_vif_data(struct wl1271 *wl, struct ieee80211_vif *vif) in wl12xx_init_vif_data()
2315 static int wl12xx_init_fw(struct wl1271 *wl) in wl12xx_init_fw()
2396 static bool wl12xx_need_fw_change(struct wl1271 *wl, in wl12xx_need_fw_change()
2432 static void wl12xx_force_active_psm(struct wl1271 *wl) in wl12xx_force_active_psm()
2466 static int wlcore_allocate_hw_queue_base(struct wl1271 *wl, in wlcore_allocate_hw_queue_base()
2525 struct wl1271 *wl = hw->priv; in wl1271_op_add_interface() local
2646 static void __wl1271_op_remove_interface(struct wl1271 *wl, in __wl1271_op_remove_interface()
2802 struct wl1271 *wl = hw->priv; in wl1271_op_remove_interface() local
2839 struct wl1271 *wl = hw->priv; in wl12xx_op_change_interface() local
2853 static int wlcore_join(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_join()
2917 static int wlcore_set_ssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_set_ssid()
2939 static int wlcore_set_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_set_assoc()
3024 static int wlcore_unset_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_unset_assoc()
3079 static void wl1271_set_band_rate(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_set_band_rate()
3085 static void wl1271_sta_handle_idle(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_sta_handle_idle()
3104 static int wl12xx_config_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_config_vif()
3125 struct wl1271 *wl = hw->priv; in wl1271_op_config() local
3213 struct wl1271 *wl = hw->priv; in wl1271_op_configure_filter() local
3284 static int wl1271_record_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_record_ap_key()
3331 static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_free_ap_keys()
3341 static int wl1271_ap_init_hwenc(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_ap_init_hwenc()
3381 static int wl1271_set_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_set_key()
3464 struct wl1271 *wl = hw->priv; in wlcore_op_set_key() local
3506 int wlcore_set_key(struct wl1271 *wl, enum set_key_cmd cmd, in wlcore_set_key()
3620 struct wl1271 *wl = hw->priv; in wl1271_op_set_default_key_idx() local
3663 void wlcore_regdomain_config(struct wl1271 *wl) in wlcore_regdomain_config()
3698 struct wl1271 *wl = hw->priv; in wl1271_op_hw_scan() local
3748 struct wl1271 *wl = hw->priv; in wl1271_op_cancel_hw_scan() local
3803 struct wl1271 *wl = hw->priv; in wl1271_op_sched_scan_start() local
3839 struct wl1271 *wl = hw->priv; in wl1271_op_sched_scan_stop() local
3868 struct wl1271 *wl = hw->priv; in wl1271_op_set_frag_threshold() local
3899 struct wl1271 *wl = hw->priv; in wl1271_op_set_rts_threshold() local
3961 static int wl1271_ap_set_probe_resp_tmpl(struct wl1271 *wl, u32 rates, in wl1271_ap_set_probe_resp_tmpl()
3989 static int wl1271_ap_set_probe_resp_tmpl_legacy(struct wl1271 *wl, in wl1271_ap_set_probe_resp_tmpl_legacy()
4047 static int wl1271_bss_erp_info_changed(struct wl1271 *wl, in wl1271_bss_erp_info_changed()
4090 static int wlcore_set_beacon_template(struct wl1271 *wl, in wlcore_set_beacon_template()
4176 static int wl1271_bss_beacon_info_changed(struct wl1271 *wl, in wl1271_bss_beacon_info_changed()
4217 static void wl1271_bss_info_changed_ap(struct wl1271 *wl, in wl1271_bss_info_changed_ap()
4315 static int wlcore_set_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_set_bssid()
4366 static int wlcore_clear_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_clear_bssid()
4389 static void wl1271_bss_info_changed_sta(struct wl1271 *wl, in wl1271_bss_info_changed_sta()
4642 struct wl1271 *wl = hw->priv; in wl1271_op_bss_info_changed() local
4718 struct wl1271 *wl = hw->priv; in wlcore_op_change_chanctx() local
4767 struct wl1271 *wl = hw->priv; in wlcore_op_assign_vif_chanctx() local
4819 struct wl1271 *wl = hw->priv; in wlcore_op_unassign_vif_chanctx() local
4857 static int __wlcore_switch_vif_chan(struct wl1271 *wl, in __wlcore_switch_vif_chan()
4900 struct wl1271 *wl = hw->priv; in wlcore_op_switch_vif_chanctx() local
4935 struct wl1271 *wl = hw->priv; in wl1271_op_conf_tx() local
4991 struct wl1271 *wl = hw->priv; in wl1271_op_get_tsf() local
5035 static int wl1271_allocate_sta(struct wl1271 *wl, in wl1271_allocate_sta()
5064 void wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) in wl1271_free_sta()
5090 static int wl12xx_sta_add(struct wl1271 *wl, in wl12xx_sta_add()
5114 static int wl12xx_sta_remove(struct wl1271 *wl, in wl12xx_sta_remove()
5136 static void wlcore_roc_if_possible(struct wl1271 *wl, in wlcore_roc_if_possible()
5155 void wlcore_update_inconn_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_update_inconn_sta()
5195 static int wl12xx_update_sta_state(struct wl1271 *wl, in wl12xx_update_sta_state()
5307 struct wl1271 *wl = hw->priv; in wl12xx_op_sta_state() local
5342 struct wl1271 *wl = hw->priv; in wl1271_op_ampdu_action() local
5470 struct wl1271 *wl = hw->priv; in wl12xx_set_bitrate_mask() local
5515 struct wl1271 *wl = hw->priv; in wl12xx_op_channel_switch() local
5566 static const void *wlcore_get_beacon_ie(struct wl1271 *wl, in wlcore_get_beacon_ie()
5582 static int wlcore_get_csa_count(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_get_csa_count()
5602 struct wl1271 *wl = hw->priv; in wlcore_op_channel_switch_beacon() local
5649 struct wl1271 *wl = hw->priv; in wlcore_op_flush() local
5661 struct wl1271 *wl = hw->priv; in wlcore_op_remain_on_channel() local
5703 static int __wlcore_roc_completed(struct wl1271 *wl) in __wlcore_roc_completed()
5726 static int wlcore_roc_completed(struct wl1271 *wl) in wlcore_roc_completed()
5758 struct wl1271 *wl; in wlcore_roc_complete_work() local
5772 struct wl1271 *wl = hw->priv; in wlcore_op_cancel_remain_on_channel() local
5812 struct wl1271 *wl = hw->priv; in wlcore_op_sta_statistics() local
5849 struct wl1271 *wl = hw->priv; in wlcore_op_get_expected_throughput() local
5858 struct wl1271 *wl = hw->priv; in wl1271_tx_frames_pending() local
6061 u8 wlcore_rate_to_idx(struct wl1271 *wl, u8 rate, enum nl80211_band band) in wlcore_rate_to_idx()
6081 static void wl12xx_derive_mac_addresses(struct wl1271 *wl, u32 oui, u32 nic) in wl12xx_derive_mac_addresses()
6120 static int wl12xx_get_hw_info(struct wl1271 *wl) in wl12xx_get_hw_info()
6142 static int wl1271_register_hw(struct wl1271 *wl) in wl1271_register_hw()
6211 static void wl1271_unregister_hw(struct wl1271 *wl) in wl1271_unregister_hw()
6221 static int wl1271_init_ieee80211(struct wl1271 *wl) in wl1271_init_ieee80211()
6374 struct wl1271 *wl; in wlcore_alloc_hw() local
6520 int wlcore_free_hw(struct wl1271 *wl) in wlcore_free_hw()
6571 struct wl1271 *wl = context; in wlcore_nvs_cb() local
6701 struct wl1271 *wl = dev_get_drvdata(dev); in wlcore_runtime_suspend() local
6734 struct wl1271 *wl = dev_get_drvdata(dev); in wlcore_runtime_resume() local
6785 int wlcore_probe(struct wl1271 *wl, struct platform_device *pdev) in wlcore_probe()
6824 struct wl1271 *wl = platform_get_drvdata(pdev); in wlcore_remove() local