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
168 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_disable_work() local
193 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_timer() local
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() local
245 struct wl1271 *wl; in wl12xx_tx_watchdog_work() local
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()
487 static void wl1271_flush_deferred_work(struct wl1271 *wl) in wl1271_flush_deferred_work()
502 struct wl1271 *wl = in wl1271_netstack_work() local
512 static int wlcore_irq_locked(struct wl1271 *wl) in wlcore_irq_locked()
645 struct wl1271 *wl = cookie; in wlcore_irq() local
728 static int wl12xx_fetch_firmware(struct wl1271 *wl, bool plt) in wl12xx_fetch_firmware()
791 void wl12xx_queue_recovery_work(struct wl1271 *wl) in wl12xx_queue_recovery_work()
804 size_t wl12xx_copy_fwlog(struct wl1271 *wl, u8 *memblock, size_t maxlen) in wl12xx_copy_fwlog()
818 static void wl12xx_read_fwlog_panic(struct wl1271 *wl) in wl12xx_read_fwlog_panic()
850 static void wlcore_save_freed_pkts(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_save_freed_pkts()
870 static void wlcore_save_freed_pkts_addr(struct wl1271 *wl, in wlcore_save_freed_pkts_addr()
888 static void wlcore_print_recovery(struct wl1271 *wl) in wlcore_print_recovery()
919 struct wl1271 *wl = in wl1271_recovery_work() local
987 static int wlcore_fw_wakeup(struct wl1271 *wl) in wlcore_fw_wakeup()
992 static int wl1271_setup(struct wl1271 *wl) in wl1271_setup()
1013 static int wl12xx_set_power_on(struct wl1271 *wl) in wl12xx_set_power_on()
1042 static int wl12xx_chip_wakeup(struct wl1271 *wl, bool plt) in wl12xx_chip_wakeup()
1081 int wl1271_plt_start(struct wl1271 *wl, const enum plt_mode plt_mode) in wl1271_plt_start()
1149 int wl1271_plt_stop(struct wl1271 *wl) in wl1271_plt_stop()
1203 struct wl1271 *wl = hw->priv; in wl1271_op_tx() local
1272 int wl1271_tx_dummy_packet(struct wl1271 *wl) in wl1271_tx_dummy_packet()
1306 static struct sk_buff *wl12xx_alloc_dummy_packet(struct wl1271 *wl) in wl12xx_alloc_dummy_packet()
1548 static int wl1271_configure_wowlan(struct wl1271 *wl, in wl1271_configure_wowlan()
1613 static int wl1271_configure_suspend_sta(struct wl1271 *wl, in wl1271_configure_suspend_sta()
1643 static int wl1271_configure_suspend_ap(struct wl1271 *wl, in wl1271_configure_suspend_ap()
1665 static int wl1271_configure_suspend(struct wl1271 *wl, in wl1271_configure_suspend()
1676 static void wl1271_configure_resume(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_configure_resume()
1714 struct wl1271 *wl = hw->priv; in wl1271_op_suspend() local
1793 struct wl1271 *wl = hw->priv; in wl1271_op_resume() local
1901 static void wlcore_op_stop_locked(struct wl1271 *wl) in wlcore_op_stop_locked()
2011 struct wl1271 *wl = hw->priv; in wlcore_op_stop() local
2025 struct wl1271 *wl; in wlcore_channel_switch_work() local
2063 struct wl1271 *wl; in wlcore_connection_loss_work() local
2091 struct wl1271 *wl; in wlcore_pending_auth_complete_work() local
2130 static int wl12xx_allocate_rate_policy(struct wl1271 *wl, u8 *idx) in wl12xx_allocate_rate_policy()
2142 static void wl12xx_free_rate_policy(struct wl1271 *wl, u8 *idx) in wl12xx_free_rate_policy()
2151 static int wlcore_allocate_klv_template(struct wl1271 *wl, u8 *idx) in wlcore_allocate_klv_template()
2163 static void wlcore_free_klv_template(struct wl1271 *wl, u8 *idx) in wlcore_free_klv_template()
2172 static u8 wl12xx_get_role_type(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_get_role_type()
2200 static int wl12xx_init_vif_data(struct wl1271 *wl, struct ieee80211_vif *vif) in wl12xx_init_vif_data()
2296 static int wl12xx_init_fw(struct wl1271 *wl) in wl12xx_init_fw()
2377 static bool wl12xx_need_fw_change(struct wl1271 *wl, in wl12xx_need_fw_change()
2413 static void wl12xx_force_active_psm(struct wl1271 *wl) in wl12xx_force_active_psm()
2447 static int wlcore_allocate_hw_queue_base(struct wl1271 *wl, in wlcore_allocate_hw_queue_base()
2506 struct wl1271 *wl = hw->priv; in wl1271_op_add_interface() local
2625 static void __wl1271_op_remove_interface(struct wl1271 *wl, in __wl1271_op_remove_interface()
2779 struct wl1271 *wl = hw->priv; in wl1271_op_remove_interface() local
2816 struct wl1271 *wl = hw->priv; in wl12xx_op_change_interface() local
2830 static int wlcore_join(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_join()
2881 static int wlcore_set_ssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_set_ssid()
2903 static int wlcore_set_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_set_assoc()
2990 static int wlcore_unset_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_unset_assoc()
3045 static void wl1271_set_band_rate(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_set_band_rate()
3051 static void wl1271_sta_handle_idle(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_sta_handle_idle()
3070 static int wl12xx_config_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_config_vif()
3091 struct wl1271 *wl = hw->priv; in wl1271_op_config() local
3177 struct wl1271 *wl = hw->priv; in wl1271_op_configure_filter() local
3246 static int wl1271_record_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_record_ap_key()
3293 static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_free_ap_keys()
3303 static int wl1271_ap_init_hwenc(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_ap_init_hwenc()
3343 static int wl1271_set_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_set_key()
3426 struct wl1271 *wl = hw->priv; in wlcore_op_set_key() local
3466 int wlcore_set_key(struct wl1271 *wl, enum set_key_cmd cmd, in wlcore_set_key()
3580 struct wl1271 *wl = hw->priv; in wl1271_op_set_default_key_idx() local
3621 void wlcore_regdomain_config(struct wl1271 *wl) in wlcore_regdomain_config()
3654 struct wl1271 *wl = hw->priv; in wl1271_op_hw_scan() local
3702 struct wl1271 *wl = hw->priv; in wl1271_op_cancel_hw_scan() local
3755 struct wl1271 *wl = hw->priv; in wl1271_op_sched_scan_start() local
3789 struct wl1271 *wl = hw->priv; in wl1271_op_sched_scan_stop() local
3816 struct wl1271 *wl = hw->priv; in wl1271_op_set_frag_threshold() local
3845 struct wl1271 *wl = hw->priv; in wl1271_op_set_rts_threshold() local
3905 static int wl1271_ap_set_probe_resp_tmpl(struct wl1271 *wl, u32 rates, in wl1271_ap_set_probe_resp_tmpl()
3933 static int wl1271_ap_set_probe_resp_tmpl_legacy(struct wl1271 *wl, in wl1271_ap_set_probe_resp_tmpl_legacy()
3990 static int wl1271_bss_erp_info_changed(struct wl1271 *wl, in wl1271_bss_erp_info_changed()
4033 static int wlcore_set_beacon_template(struct wl1271 *wl, in wlcore_set_beacon_template()
4119 static int wl1271_bss_beacon_info_changed(struct wl1271 *wl, in wl1271_bss_beacon_info_changed()
4160 static void wl1271_bss_info_changed_ap(struct wl1271 *wl, in wl1271_bss_info_changed_ap()
4258 static int wlcore_set_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_set_bssid()
4309 static int wlcore_clear_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_clear_bssid()
4332 static void wl1271_bss_info_changed_sta(struct wl1271 *wl, in wl1271_bss_info_changed_sta()
4585 struct wl1271 *wl = hw->priv; in wl1271_op_bss_info_changed() local
4659 struct wl1271 *wl = hw->priv; in wlcore_op_change_chanctx() local
4707 struct wl1271 *wl = hw->priv; in wlcore_op_assign_vif_chanctx() local
4758 struct wl1271 *wl = hw->priv; in wlcore_op_unassign_vif_chanctx() local
4794 static int __wlcore_switch_vif_chan(struct wl1271 *wl, in __wlcore_switch_vif_chan()
4837 struct wl1271 *wl = hw->priv; in wlcore_op_switch_vif_chanctx() local
4871 struct wl1271 *wl = hw->priv; in wl1271_op_conf_tx() local
4925 struct wl1271 *wl = hw->priv; in wl1271_op_get_tsf() local
4967 static int wl1271_allocate_sta(struct wl1271 *wl, in wl1271_allocate_sta()
4996 void wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) in wl1271_free_sta()
5022 static int wl12xx_sta_add(struct wl1271 *wl, in wl12xx_sta_add()
5046 static int wl12xx_sta_remove(struct wl1271 *wl, in wl12xx_sta_remove()
5068 static void wlcore_roc_if_possible(struct wl1271 *wl, in wlcore_roc_if_possible()
5087 void wlcore_update_inconn_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_update_inconn_sta()
5127 static int wl12xx_update_sta_state(struct wl1271 *wl, in wl12xx_update_sta_state()
5240 struct wl1271 *wl = hw->priv; in wl12xx_op_sta_state() local
5273 struct wl1271 *wl = hw->priv; in wl1271_op_ampdu_action() local
5399 struct wl1271 *wl = hw->priv; in wl12xx_set_bitrate_mask() local
5442 struct wl1271 *wl = hw->priv; in wl12xx_op_channel_switch() local
5491 static const void *wlcore_get_beacon_ie(struct wl1271 *wl, in wlcore_get_beacon_ie()
5507 static int wlcore_get_csa_count(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wlcore_get_csa_count()
5527 struct wl1271 *wl = hw->priv; in wlcore_op_channel_switch_beacon() local
5572 struct wl1271 *wl = hw->priv; in wlcore_op_flush() local
5584 struct wl1271 *wl = hw->priv; in wlcore_op_remain_on_channel() local
5624 static int __wlcore_roc_completed(struct wl1271 *wl) in __wlcore_roc_completed()
5647 static int wlcore_roc_completed(struct wl1271 *wl) in wlcore_roc_completed()
5677 struct wl1271 *wl; in wlcore_roc_complete_work() local
5691 struct wl1271 *wl = hw->priv; in wlcore_op_cancel_remain_on_channel() local
5732 struct wl1271 *wl = hw->priv; in wlcore_op_sta_statistics() local
5767 struct wl1271 *wl = hw->priv; in wlcore_op_get_expected_throughput() local
5776 struct wl1271 *wl = hw->priv; in wl1271_tx_frames_pending() local
5980 u8 wlcore_rate_to_idx(struct wl1271 *wl, u8 rate, enum nl80211_band band) in wlcore_rate_to_idx()
6000 static void wl12xx_derive_mac_addresses(struct wl1271 *wl, u32 oui, u32 nic) in wl12xx_derive_mac_addresses()
6039 static int wl12xx_get_hw_info(struct wl1271 *wl) in wl12xx_get_hw_info()
6061 static int wl1271_register_hw(struct wl1271 *wl) in wl1271_register_hw()
6130 static void wl1271_unregister_hw(struct wl1271 *wl) in wl1271_unregister_hw()
6140 static int wl1271_init_ieee80211(struct wl1271 *wl) in wl1271_init_ieee80211()
6293 struct wl1271 *wl; in wlcore_alloc_hw() local
6439 int wlcore_free_hw(struct wl1271 *wl) in wlcore_free_hw()
6490 struct wl1271 *wl = context; in wlcore_nvs_cb() local
6620 struct wl1271 *wl = dev_get_drvdata(dev); in wlcore_runtime_suspend() local
6653 struct wl1271 *wl = dev_get_drvdata(dev); in wlcore_runtime_resume() local
6704 int wlcore_probe(struct wl1271 *wl, struct platform_device *pdev) in wlcore_probe()
6743 struct wl1271 *wl = platform_get_drvdata(pdev); in wlcore_remove() local