Lines Matching refs:wl1271

40 static void __wl1271_op_remove_interface(struct wl1271 *wl,
43 static void wlcore_op_stop_locked(struct wl1271 *wl);
44 static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif);
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()
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()
168 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_disable_work()
193 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_timer()
198 void wl12xx_rearm_tx_watchdog_locked(struct wl1271 *wl) in wl12xx_rearm_tx_watchdog_locked()
214 struct wl1271 *wl = wlvif->wl; in wlcore_rc_update_work()
245 struct wl1271 *wl; in wl12xx_tx_watchdog_work()
248 wl = container_of(dwork, struct wl1271, tx_watchdog_work); in wl12xx_tx_watchdog_work()
304 static void wlcore_adjust_conf(struct wl1271 *wl) in wlcore_adjust_conf()
329 static void wl12xx_irq_ps_regulate_link(struct wl1271 *wl, in wl12xx_irq_ps_regulate_link()
358 static void wl12xx_irq_update_links_status(struct wl1271 *wl, in wl12xx_irq_update_links_status()
380 static int wlcore_fw_status(struct wl1271 *wl, struct wl_fw_status *status) in wlcore_fw_status()
566 static void wl1271_flush_deferred_work(struct wl1271 *wl) in wl1271_flush_deferred_work()
581 struct wl1271 *wl = in wl1271_netstack_work()
582 container_of(work, struct wl1271, netstack_work); in wl1271_netstack_work()
591 static int wlcore_irq_locked(struct wl1271 *wl) in wlcore_irq_locked()
724 struct wl1271 *wl = cookie; in wlcore_irq()
807 static int wl12xx_fetch_firmware(struct wl1271 *wl, bool plt) in wl12xx_fetch_firmware()
870 void wl12xx_queue_recovery_work(struct wl1271 *wl) in wl12xx_queue_recovery_work()
883 size_t wl12xx_copy_fwlog(struct wl1271 *wl, u8 *memblock, size_t maxlen) in wl12xx_copy_fwlog()
897 static void wl12xx_read_fwlog_panic(struct wl1271 *wl) in wl12xx_read_fwlog_panic()
929 static void wlcore_save_freed_pkts(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_save_freed_pkts()
949 static void wlcore_save_freed_pkts_addr(struct wl1271 *wl, in wlcore_save_freed_pkts_addr()
967 static void wlcore_print_recovery(struct wl1271 *wl) in wlcore_print_recovery()
998 struct wl1271 *wl = in wl1271_recovery_work()
999 container_of(work, struct wl1271, recovery_work); in wl1271_recovery_work()
1066 static int wlcore_fw_wakeup(struct wl1271 *wl) in wlcore_fw_wakeup()
1071 static int wl1271_setup(struct wl1271 *wl) in wl1271_setup()
1092 static int wl12xx_set_power_on(struct wl1271 *wl) in wl12xx_set_power_on()
1121 static int wl12xx_chip_wakeup(struct wl1271 *wl, bool plt) in wl12xx_chip_wakeup()
1160 int wl1271_plt_start(struct wl1271 *wl, const enum plt_mode plt_mode) in wl1271_plt_start()
1228 int wl1271_plt_stop(struct wl1271 *wl) in wl1271_plt_stop()
1282 struct wl1271 *wl = hw->priv; in wl1271_op_tx()
1351 int wl1271_tx_dummy_packet(struct wl1271 *wl) in wl1271_tx_dummy_packet()
1385 static struct sk_buff *wl12xx_alloc_dummy_packet(struct wl1271 *wl) in wl12xx_alloc_dummy_packet()
1627 static int wl1271_configure_wowlan(struct wl1271 *wl, in wl1271_configure_wowlan()
1692 static int wl1271_configure_suspend_sta(struct wl1271 *wl, in wl1271_configure_suspend_sta()
1722 static int wl1271_configure_suspend_ap(struct wl1271 *wl, in wl1271_configure_suspend_ap()
1744 static int wl1271_configure_suspend(struct wl1271 *wl, in wl1271_configure_suspend()
1755 static void wl1271_configure_resume(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_configure_resume()
1793 struct wl1271 *wl = hw->priv; in wl1271_op_suspend()
1872 struct wl1271 *wl = hw->priv; in wl1271_op_resume()
1980 static void wlcore_op_stop_locked(struct wl1271 *wl) in wlcore_op_stop_locked()
2090 struct wl1271 *wl = hw->priv; in wlcore_op_stop()
2104 struct wl1271 *wl; in wlcore_channel_switch_work()
2142 struct wl1271 *wl; in wlcore_connection_loss_work()
2170 struct wl1271 *wl; in wlcore_pending_auth_complete_work()
2209 static int wl12xx_allocate_rate_policy(struct wl1271 *wl, u8 *idx) in wl12xx_allocate_rate_policy()
2221 static void wl12xx_free_rate_policy(struct wl1271 *wl, u8 *idx) in wl12xx_free_rate_policy()
2230 static int wlcore_allocate_klv_template(struct wl1271 *wl, u8 *idx) in wlcore_allocate_klv_template()
2242 static void wlcore_free_klv_template(struct wl1271 *wl, u8 *idx) in wlcore_free_klv_template()
2251 static u8 wl12xx_get_role_type(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_get_role_type()
2279 static int wl12xx_init_vif_data(struct wl1271 *wl, struct ieee80211_vif *vif) in wl12xx_init_vif_data()
2375 static int wl12xx_init_fw(struct wl1271 *wl) in wl12xx_init_fw()
2456 static bool wl12xx_need_fw_change(struct wl1271 *wl, in wl12xx_need_fw_change()
2492 static void wl12xx_force_active_psm(struct wl1271 *wl) in wl12xx_force_active_psm()
2526 static int wlcore_allocate_hw_queue_base(struct wl1271 *wl, in wlcore_allocate_hw_queue_base()
2585 struct wl1271 *wl = hw->priv; in wl1271_op_add_interface()
2704 static void __wl1271_op_remove_interface(struct wl1271 *wl, in __wl1271_op_remove_interface()
2858 struct wl1271 *wl = hw->priv; in wl1271_op_remove_interface()
2895 struct wl1271 *wl = hw->priv; in wl12xx_op_change_interface()
2909 static int wlcore_join(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_join()
2960 static int wlcore_set_ssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_set_ssid()
2982 static int wlcore_set_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_set_assoc()
3069 static int wlcore_unset_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_unset_assoc()
3124 static void wl1271_set_band_rate(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_set_band_rate()
3130 static void wl1271_sta_handle_idle(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_sta_handle_idle()
3149 static int wl12xx_config_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_config_vif()
3170 struct wl1271 *wl = hw->priv; in wl1271_op_config()
3256 struct wl1271 *wl = hw->priv; in wl1271_op_configure_filter()
3325 static int wl1271_record_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_record_ap_key()
3372 static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_free_ap_keys()
3382 static int wl1271_ap_init_hwenc(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_ap_init_hwenc()
3422 static int wl1271_set_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_set_key()
3505 struct wl1271 *wl = hw->priv; in wlcore_op_set_key()
3545 int wlcore_set_key(struct wl1271 *wl, enum set_key_cmd cmd, in wlcore_set_key()
3663 struct wl1271 *wl = hw->priv; in wl1271_op_set_default_key_idx()
3704 void wlcore_regdomain_config(struct wl1271 *wl) in wlcore_regdomain_config()
3737 struct wl1271 *wl = hw->priv; in wl1271_op_hw_scan()
3785 struct wl1271 *wl = hw->priv; in wl1271_op_cancel_hw_scan()
3838 struct wl1271 *wl = hw->priv; in wl1271_op_sched_scan_start()
3872 struct wl1271 *wl = hw->priv; in wl1271_op_sched_scan_stop()
3899 struct wl1271 *wl = hw->priv; in wl1271_op_set_frag_threshold()
3928 struct wl1271 *wl = hw->priv; in wl1271_op_set_rts_threshold()
3988 static int wl1271_ap_set_probe_resp_tmpl(struct wl1271 *wl, u32 rates, in wl1271_ap_set_probe_resp_tmpl()
4016 static int wl1271_ap_set_probe_resp_tmpl_legacy(struct wl1271 *wl, in wl1271_ap_set_probe_resp_tmpl_legacy()
4073 static int wl1271_bss_erp_info_changed(struct wl1271 *wl, in wl1271_bss_erp_info_changed()
4116 static int wlcore_set_beacon_template(struct wl1271 *wl, in wlcore_set_beacon_template()
4202 static int wl1271_bss_beacon_info_changed(struct wl1271 *wl, in wl1271_bss_beacon_info_changed()
4243 static void wl1271_bss_info_changed_ap(struct wl1271 *wl, in wl1271_bss_info_changed_ap()
4341 static int wlcore_set_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_set_bssid()
4392 static int wlcore_clear_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_clear_bssid()
4415 static void wl1271_bss_info_changed_sta(struct wl1271 *wl, in wl1271_bss_info_changed_sta()
4668 struct wl1271 *wl = hw->priv; in wl1271_op_bss_info_changed()
4742 struct wl1271 *wl = hw->priv; in wlcore_op_change_chanctx()
4790 struct wl1271 *wl = hw->priv; in wlcore_op_assign_vif_chanctx()
4841 struct wl1271 *wl = hw->priv; in wlcore_op_unassign_vif_chanctx()
4877 static int __wlcore_switch_vif_chan(struct wl1271 *wl, in __wlcore_switch_vif_chan()
4920 struct wl1271 *wl = hw->priv; in wlcore_op_switch_vif_chanctx()
4954 struct wl1271 *wl = hw->priv; in wl1271_op_conf_tx()
5008 struct wl1271 *wl = hw->priv; in wl1271_op_get_tsf()
5050 static int wl1271_allocate_sta(struct wl1271 *wl, in wl1271_allocate_sta()
5079 void wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) in wl1271_free_sta()
5105 static int wl12xx_sta_add(struct wl1271 *wl, in wl12xx_sta_add()
5129 static int wl12xx_sta_remove(struct wl1271 *wl, in wl12xx_sta_remove()
5151 static void wlcore_roc_if_possible(struct wl1271 *wl, in wlcore_roc_if_possible()
5170 void wlcore_update_inconn_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_update_inconn_sta()
5210 static int wl12xx_update_sta_state(struct wl1271 *wl, in wl12xx_update_sta_state()
5322 struct wl1271 *wl = hw->priv; in wl12xx_op_sta_state()
5355 struct wl1271 *wl = hw->priv; in wl1271_op_ampdu_action()
5481 struct wl1271 *wl = hw->priv; in wl12xx_set_bitrate_mask()
5524 struct wl1271 *wl = hw->priv; in wl12xx_op_channel_switch()
5573 static const void *wlcore_get_beacon_ie(struct wl1271 *wl, in wlcore_get_beacon_ie()
5589 static int wlcore_get_csa_count(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_get_csa_count()
5609 struct wl1271 *wl = hw->priv; in wlcore_op_channel_switch_beacon()
5654 struct wl1271 *wl = hw->priv; in wlcore_op_flush()
5666 struct wl1271 *wl = hw->priv; in wlcore_op_remain_on_channel()
5706 static int __wlcore_roc_completed(struct wl1271 *wl) in __wlcore_roc_completed()
5729 static int wlcore_roc_completed(struct wl1271 *wl) in wlcore_roc_completed()
5759 struct wl1271 *wl; in wlcore_roc_complete_work()
5763 wl = container_of(dwork, struct wl1271, roc_complete_work); in wlcore_roc_complete_work()
5773 struct wl1271 *wl = hw->priv; in wlcore_op_cancel_remain_on_channel()
5814 struct wl1271 *wl = hw->priv; in wlcore_op_sta_statistics()
5849 struct wl1271 *wl = hw->priv; in wlcore_op_get_expected_throughput()
5858 struct wl1271 *wl = hw->priv; in wl1271_tx_frames_pending()
6062 u8 wlcore_rate_to_idx(struct wl1271 *wl, u8 rate, enum nl80211_band band) in wlcore_rate_to_idx()
6082 static void wl12xx_derive_mac_addresses(struct wl1271 *wl, u32 oui, u32 nic) in wl12xx_derive_mac_addresses()
6121 static int wl12xx_get_hw_info(struct wl1271 *wl) in wl12xx_get_hw_info()
6143 static int wl1271_register_hw(struct wl1271 *wl) in wl1271_register_hw()
6212 static void wl1271_unregister_hw(struct wl1271 *wl) in wl1271_unregister_hw()
6222 static int wl1271_init_ieee80211(struct wl1271 *wl) in wl1271_init_ieee80211()
6375 struct wl1271 *wl; in wlcore_alloc_hw()
6521 int wlcore_free_hw(struct wl1271 *wl) in wlcore_free_hw()
6572 struct wl1271 *wl = context; in wlcore_nvs_cb()
6702 struct wl1271 *wl = dev_get_drvdata(dev); in wlcore_runtime_suspend()
6735 struct wl1271 *wl = dev_get_drvdata(dev); in wlcore_runtime_resume()
6786 int wlcore_probe(struct wl1271 *wl, struct platform_device *pdev) in wlcore_probe()
6825 struct wl1271 *wl = platform_get_drvdata(pdev); in wlcore_remove()