/drivers/net/wireless/ti/wlcore/ |
D | wlcore.h | 49 int (*setup)(struct wl1271 *wl); 50 int (*identify_chip)(struct wl1271 *wl); 51 int (*identify_fw)(struct wl1271 *wl); 52 int (*boot)(struct wl1271 *wl); 53 int (*plt_init)(struct wl1271 *wl); 54 int (*trigger_cmd)(struct wl1271 *wl, int cmd_box_addr, 56 int (*ack_event)(struct wl1271 *wl); 57 int (*wait_for_event)(struct wl1271 *wl, enum wlcore_wait_event event, 59 int (*process_mailbox_events)(struct wl1271 *wl); 60 u32 (*calc_tx_blocks)(struct wl1271 *wl, u32 len, u32 spare_blks); [all …]
|
D | hw_ops.h | 29 wlcore_hw_calc_tx_blocks(struct wl1271 *wl, u32 len, u32 spare_blks) in wlcore_hw_calc_tx_blocks() 38 wlcore_hw_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, in wlcore_hw_set_tx_desc_blocks() 48 wlcore_hw_set_tx_desc_data_len(struct wl1271 *wl, in wlcore_hw_set_tx_desc_data_len() 59 wlcore_hw_get_rx_buf_align(struct wl1271 *wl, u32 rx_desc) in wlcore_hw_get_rx_buf_align() 69 wlcore_hw_prepare_read(struct wl1271 *wl, u32 rx_desc, u32 len) in wlcore_hw_prepare_read() 78 wlcore_hw_get_rx_packet_len(struct wl1271 *wl, void *rx_data, u32 data_len) in wlcore_hw_get_rx_packet_len() 86 static inline int wlcore_hw_tx_delayed_compl(struct wl1271 *wl) in wlcore_hw_tx_delayed_compl() 94 static inline void wlcore_hw_tx_immediate_compl(struct wl1271 *wl) in wlcore_hw_tx_immediate_compl() 101 wlcore_hw_init_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_hw_init_vif() 110 wlcore_hw_convert_fw_status(struct wl1271 *wl, void *raw_fw_status, in wlcore_hw_convert_fw_status() [all …]
|
D | tx.h | 233 static inline int wl1271_tx_total_queue_count(struct wl1271 *wl) in wl1271_tx_total_queue_count() 244 int wlcore_tx_work_locked(struct wl1271 *wl); 245 int wlcore_tx_complete(struct wl1271 *wl); 246 void wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif); 247 void wl12xx_tx_reset(struct wl1271 *wl); 248 void wl1271_tx_flush(struct wl1271 *wl); 249 u8 wlcore_rate_to_idx(struct wl1271 *wl, u8 rate, enum ieee80211_band band); 250 u32 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set, 252 u32 wl1271_tx_min_rate_get(struct wl1271 *wl, u32 rate_set); 253 u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, [all …]
|
D | io.h | 45 struct wl1271; 47 void wlcore_disable_interrupts(struct wl1271 *wl); 48 void wlcore_disable_interrupts_nosync(struct wl1271 *wl); 49 void wlcore_enable_interrupts(struct wl1271 *wl); 50 void wlcore_synchronize_interrupts(struct wl1271 *wl); 52 void wl1271_io_reset(struct wl1271 *wl); 53 void wl1271_io_init(struct wl1271 *wl); 54 int wlcore_translate_addr(struct wl1271 *wl, int addr); 57 static inline int __must_check wlcore_raw_write(struct wl1271 *wl, int addr, in wlcore_raw_write() 75 static inline int __must_check wlcore_raw_read(struct wl1271 *wl, int addr, in wlcore_raw_read() [all …]
|
D | cmd.h | 32 int wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len, 34 int wl12xx_cmd_role_enable(struct wl1271 *wl, u8 *addr, u8 role_type, 36 int wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id); 37 int wl12xx_cmd_role_start_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif); 38 int wl12xx_cmd_role_stop_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif); 39 int wl12xx_cmd_role_start_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif); 40 int wl12xx_cmd_role_stop_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif); 41 int wl12xx_cmd_role_start_ibss(struct wl1271 *wl, struct wl12xx_vif *wlvif); 42 int wl12xx_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif, 44 int wl12xx_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif); [all …]
|
D | event.h | 67 struct wl1271; 69 int wl1271_event_unmask(struct wl1271 *wl); 70 int wl1271_event_handle(struct wl1271 *wl, u8 mbox); 72 void wlcore_event_soft_gemini_sense(struct wl1271 *wl, u8 enable); 73 void wlcore_event_sched_scan_completed(struct wl1271 *wl, 75 void wlcore_event_ba_rx_constraint(struct wl1271 *wl, 78 void wlcore_event_channel_switch(struct wl1271 *wl, 81 void wlcore_event_beacon_loss(struct wl1271 *wl, unsigned long roles_bitmap); 82 void wlcore_event_dummy_packet(struct wl1271 *wl); 83 void wlcore_event_max_tx_failure(struct wl1271 *wl, unsigned long sta_bitmap); [all …]
|
D | acx.h | 1042 int wl1271_acx_wake_up_conditions(struct wl1271 *wl, 1045 int wl1271_acx_sleep_auth(struct wl1271 *wl, u8 sleep_auth); 1046 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif, 1048 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif); 1049 int wl1271_acx_mem_map(struct wl1271 *wl, 1051 int wl1271_acx_rx_msdu_life_time(struct wl1271 *wl); 1052 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, 1054 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif, 1056 int wl1271_acx_service_period_timeout(struct wl1271 *wl, 1058 int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif, [all …]
|
D | init.h | 29 int wl1271_hw_init_power_auth(struct wl1271 *wl); 30 int wl1271_init_templates_config(struct wl1271 *wl); 31 int wl1271_init_pta(struct wl1271 *wl); 32 int wl1271_init_energy_detection(struct wl1271 *wl); 33 int wl1271_chip_specific_init(struct wl1271 *wl); 34 int wl1271_hw_init(struct wl1271 *wl); 35 int wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif); 36 int wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif); 37 int wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif); 38 int wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
D | event.c | 32 void wlcore_event_rssi_trigger(struct wl1271 *wl, s8 *metric_arr) in wlcore_event_rssi_trigger() 56 static void wl1271_stop_ba_event(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_stop_ba_event() 82 void wlcore_event_soft_gemini_sense(struct wl1271 *wl, u8 enable) in wlcore_event_soft_gemini_sense() 97 void wlcore_event_sched_scan_completed(struct wl1271 *wl, in wlcore_event_sched_scan_completed() 110 void wlcore_event_ba_rx_constraint(struct wl1271 *wl, in wlcore_event_ba_rx_constraint() 132 void wlcore_event_channel_switch(struct wl1271 *wl, in wlcore_event_channel_switch() 164 void wlcore_event_dummy_packet(struct wl1271 *wl) in wlcore_event_dummy_packet() 176 static void wlcore_disconnect_sta(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_disconnect_sta() 210 void wlcore_event_max_tx_failure(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_event_max_tx_failure() 217 void wlcore_event_inactive_sta(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_event_inactive_sta() [all …]
|
D | scan.h | 29 int wlcore_scan(struct wl1271 *wl, struct ieee80211_vif *vif, 32 int wl1271_scan_build_probe_req(struct wl1271 *wl, 35 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif); 37 int wl1271_scan_sched_scan_config(struct wl1271 *wl, 41 int wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif); 42 void wlcore_scan_sched_scan_results(struct wl1271 *wl); 166 wlcore_set_scan_chan_params(struct wl1271 *wl, 174 wlcore_scan_sched_scan_ssid_list(struct wl1271 *wl,
|
D | acx.c | 37 int wl1271_acx_wake_up_conditions(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_wake_up_conditions() 68 int wl1271_acx_sleep_auth(struct wl1271 *wl, u8 sleep_auth) in wl1271_acx_sleep_auth() 97 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_tx_power() 128 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_acx_feature_cfg() 158 int wl1271_acx_mem_map(struct wl1271 *wl, struct acx_header *mem_map, in wl1271_acx_mem_map() 173 int wl1271_acx_rx_msdu_life_time(struct wl1271 *wl) in wl1271_acx_rx_msdu_life_time() 199 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_slot() 228 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_group_address_tbl() 260 int wl1271_acx_service_period_timeout(struct wl1271 *wl, in wl1271_acx_service_period_timeout() 291 int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_rts_threshold() [all …]
|
D | init.c | 37 int wl1271_init_templates_config(struct wl1271 *wl) in wl1271_init_templates_config() 158 static int wl1271_ap_init_deauth_template(struct wl1271 *wl, in wl1271_ap_init_deauth_template() 184 static int wl1271_ap_init_null_template(struct wl1271 *wl, in wl1271_ap_init_null_template() 217 static int wl1271_ap_init_qos_null_template(struct wl1271 *wl, in wl1271_ap_init_qos_null_template() 250 static int wl12xx_init_rx_config(struct wl1271 *wl) in wl12xx_init_rx_config() 261 static int wl12xx_init_phy_vif_config(struct wl1271 *wl, in wl12xx_init_phy_vif_config() 281 static int wl1271_init_sta_beacon_filter(struct wl1271 *wl, in wl1271_init_sta_beacon_filter() 298 int wl1271_init_pta(struct wl1271 *wl) in wl1271_init_pta() 313 int wl1271_init_energy_detection(struct wl1271 *wl) in wl1271_init_energy_detection() 324 static int wl1271_init_beacon_broadcast(struct wl1271 *wl, in wl1271_init_beacon_broadcast() [all …]
|
D | tx.c | 43 static int wl1271_set_default_wep_key(struct wl1271 *wl, in wl1271_set_default_wep_key() 62 static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb) in wl1271_alloc_tx_id() 76 void wl1271_free_tx_id(struct wl1271 *wl, int id) in wl1271_free_tx_id() 88 static void wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, in wl1271_tx_ap_update_inconnection_sta() 119 static void wl1271_tx_regulate_link(struct wl1271 *wl, in wl1271_tx_regulate_link() 147 bool wl12xx_is_dummy_packet(struct wl1271 *wl, struct sk_buff *skb) in wl12xx_is_dummy_packet() 153 static u8 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_tx_get_hlid_ap() 175 u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_tx_get_hlid() 192 unsigned int wlcore_calc_packet_alignment(struct wl1271 *wl, in wlcore_calc_packet_alignment() 203 static int wl1271_tx_allocate(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_tx_allocate() [all …]
|
D | io.c | 35 bool wl1271_set_block_size(struct wl1271 *wl) in wl1271_set_block_size() 45 void wlcore_disable_interrupts(struct wl1271 *wl) in wlcore_disable_interrupts() 51 void wlcore_disable_interrupts_nosync(struct wl1271 *wl) in wlcore_disable_interrupts_nosync() 57 void wlcore_enable_interrupts(struct wl1271 *wl) in wlcore_enable_interrupts() 63 void wlcore_synchronize_interrupts(struct wl1271 *wl) in wlcore_synchronize_interrupts() 69 int wlcore_translate_addr(struct wl1271 *wl, int addr) in wlcore_translate_addr() 137 int wlcore_set_partition(struct wl1271 *wl, in wlcore_set_partition() 190 void wl1271_io_reset(struct wl1271 *wl) in wl1271_io_reset() 196 void wl1271_io_init(struct wl1271 *wl) in wl1271_io_init()
|
D | debugfs.c | 59 void wl1271_debugfs_update_stats(struct wl1271 *wl) in wl1271_debugfs_update_stats() 93 struct wl1271 *wl = file->private_data; in tx_queue_len_read() 110 static void chip_op_handler(struct wl1271 *wl, unsigned long value, in chip_op_handler() 114 int (*chip_op) (struct wl1271 *wl); in chip_op_handler() 132 static inline void no_write_handler(struct wl1271 *wl, in no_write_handler() 145 struct wl1271 *wl = file->private_data; \ 155 struct wl1271 *wl = file->private_data; \ 196 struct wl1271 *wl = file->private_data; in gpio_power_read() 211 struct wl1271 *wl = file->private_data; in gpio_power_write() 243 struct wl1271 *wl = file->private_data; in start_recovery_write() [all …]
|
D | ps.h | 30 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, 32 void wl1271_ps_elp_sleep(struct wl1271 *wl); 33 int wl1271_ps_elp_wakeup(struct wl1271 *wl); 35 void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 37 void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
|
D | main.c | 52 static void __wl1271_op_remove_interface(struct wl1271 *wl, 55 static void wlcore_op_stop_locked(struct wl1271 *wl); 56 static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif); 58 static int wl12xx_set_authorized(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_set_authorized() 83 struct wl1271 *wl = hw->priv; in wl1271_reg_notify() 92 static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_set_rx_streaming() 114 int wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_recalc_rx_streaming() 143 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_enable_work() 179 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_disable_work() 203 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_timer() [all …]
|
D | debugfs.h | 32 int wl1271_debugfs_init(struct wl1271 *wl); 33 void wl1271_debugfs_exit(struct wl1271 *wl); 34 void wl1271_debugfs_reset(struct wl1271 *wl); 35 void wl1271_debugfs_update_stats(struct wl1271 *wl); 43 struct wl1271 *wl = file->private_data; \ 76 struct wl1271 *wl = file->private_data; \ 96 struct wl1271 *wl = file->private_data; \
|
D | cmd.c | 53 static int __wlcore_cmd_send(struct wl1271 *wl, u16 id, void *buf, in __wlcore_cmd_send() 134 static int wlcore_cmd_send_failsafe(struct wl1271 *wl, u16 id, void *buf, in wlcore_cmd_send_failsafe() 162 int wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len, in wl1271_cmd_send() 177 int wlcore_cmd_wait_for_event_or_timeout(struct wl1271 *wl, in wlcore_cmd_wait_for_event_or_timeout() 230 int wl12xx_cmd_role_enable(struct wl1271 *wl, u8 *addr, u8 role_type, in wl12xx_cmd_role_enable() 273 int wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id) in wl12xx_cmd_role_disable() 306 static int wlcore_get_new_session_id(struct wl1271 *wl, u8 hlid) in wlcore_get_new_session_id() 316 int wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_allocate_link() 354 void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_free_link() 424 static int wl12xx_cmd_role_start_dev(struct wl1271 *wl, in wl12xx_cmd_role_start_dev() [all …]
|
/drivers/net/wireless/ti/wl18xx/ |
D | cmd.h | 86 int wl18xx_cmd_channel_switch(struct wl1271 *wl, 89 int wl18xx_cmd_smart_config_start(struct wl1271 *wl, u32 group_bitmap); 90 int wl18xx_cmd_smart_config_stop(struct wl1271 *wl); 91 int wl18xx_cmd_smart_config_set_group_key(struct wl1271 *wl, u16 group_id, 93 int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start); 94 int wl18xx_cmd_radar_detection_debug(struct wl1271 *wl, u8 channel); 95 int wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
D | main.c | 663 static int wl18xx_identify_chip(struct wl1271 *wl) in wl18xx_identify_chip() 712 static int wl18xx_set_clk(struct wl1271 *wl) in wl18xx_set_clk() 818 static int wl18xx_boot_soft_reset(struct wl1271 *wl) in wl18xx_boot_soft_reset() 834 static int wl18xx_pre_boot(struct wl1271 *wl) in wl18xx_pre_boot() 864 static int wl18xx_pre_upload(struct wl1271 *wl) in wl18xx_pre_upload() 945 static int wl18xx_set_mac_and_phy(struct wl1271 *wl) in wl18xx_set_mac_and_phy() 969 static int wl18xx_enable_interrupts(struct wl1271 *wl) in wl18xx_enable_interrupts() 997 static int wl18xx_boot(struct wl1271 *wl) in wl18xx_boot() 1047 static int wl18xx_trigger_cmd(struct wl1271 *wl, int cmd_box_addr, in wl18xx_trigger_cmd() 1059 static int wl18xx_ack_event(struct wl1271 *wl) in wl18xx_ack_event() [all …]
|
D | acx.c | 29 int wl18xx_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap, in wl18xx_acx_host_if_cfg_bitmap() 64 int wl18xx_acx_set_checksum_state(struct wl1271 *wl) in wl18xx_acx_set_checksum_state() 90 int wl18xx_acx_clear_statistics(struct wl1271 *wl) in wl18xx_acx_clear_statistics() 114 int wl18xx_acx_peer_ht_operation_mode(struct wl1271 *wl, u8 hlid, bool wide) in wl18xx_acx_peer_ht_operation_mode() 150 int wl18xx_acx_set_peer_cap(struct wl1271 *wl, in wl18xx_acx_set_peer_cap() 203 int wl18xx_acx_interrupt_notify_config(struct wl1271 *wl, in wl18xx_acx_interrupt_notify_config() 231 int wl18xx_acx_rx_ba_filter(struct wl1271 *wl, bool action) in wl18xx_acx_rx_ba_filter() 255 int wl18xx_acx_ap_sleep(struct wl1271 *wl) in wl18xx_acx_ap_sleep() 286 int wl18xx_acx_dynamic_fw_traces(struct wl1271 *wl) in wl18xx_acx_dynamic_fw_traces()
|
D | scan.h | 119 int wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 121 int wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif); 122 void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif); 123 int wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 126 void wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 609 static int wl127x_prepare_read(struct wl1271 *wl, u32 rx_desc, u32 len) in wl127x_prepare_read() 638 static int wl12xx_identify_chip(struct wl1271 *wl) in wl12xx_identify_chip() 730 static int __must_check wl12xx_top_reg_write(struct wl1271 *wl, int addr, in wl12xx_top_reg_write() 755 static int __must_check wl12xx_top_reg_read(struct wl1271 *wl, int addr, in wl12xx_top_reg_read() 797 static int wl128x_switch_tcxo_to_fref(struct wl1271 *wl) in wl128x_switch_tcxo_to_fref() 826 static bool wl128x_is_tcxo_valid(struct wl1271 *wl) in wl128x_is_tcxo_valid() 841 static bool wl128x_is_fref_valid(struct wl1271 *wl) in wl128x_is_fref_valid() 856 static int wl128x_manually_configure_mcs_pll(struct wl1271 *wl) in wl128x_manually_configure_mcs_pll() 875 static int wl128x_configure_mcs_pll(struct wl1271 *wl, int clk) in wl128x_configure_mcs_pll() 923 static int wl128x_boot_clk(struct wl1271 *wl, int *selected_clock) in wl128x_boot_clk() [all …]
|
D | cmd.h | 123 int wl1271_cmd_general_parms(struct wl1271 *wl); 124 int wl128x_cmd_general_parms(struct wl1271 *wl); 125 int wl1271_cmd_radio_parms(struct wl1271 *wl); 126 int wl128x_cmd_radio_parms(struct wl1271 *wl); 127 int wl1271_cmd_ext_radio_parms(struct wl1271 *wl); 128 int wl12xx_cmd_channel_switch(struct wl1271 *wl,
|