Home
last modified time | relevance | path

Searched refs:wl1271 (Results 1 – 25 of 82) sorted by relevance

1234

/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dwlcore.h52 int (*setup)(struct wl1271 *wl);
53 int (*identify_chip)(struct wl1271 *wl);
54 int (*identify_fw)(struct wl1271 *wl);
55 int (*boot)(struct wl1271 *wl);
56 int (*plt_init)(struct wl1271 *wl);
57 int (*trigger_cmd)(struct wl1271 *wl, int cmd_box_addr,
59 int (*ack_event)(struct wl1271 *wl);
60 int (*wait_for_event)(struct wl1271 *wl, enum wlcore_wait_event event,
62 int (*process_mailbox_events)(struct wl1271 *wl);
63 u32 (*calc_tx_blocks)(struct wl1271 *wl, u32 len, u32 spare_blks);
[all …]
Dtx.h233 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 nl80211_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 …]
Dhw_ops.h29 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 …]
Devent.h75 struct wl1271;
77 int wl1271_event_unmask(struct wl1271 *wl);
78 int wl1271_event_handle(struct wl1271 *wl, u8 mbox);
80 void wlcore_event_soft_gemini_sense(struct wl1271 *wl, u8 enable);
81 void wlcore_event_sched_scan_completed(struct wl1271 *wl,
83 void wlcore_event_ba_rx_constraint(struct wl1271 *wl,
86 void wlcore_event_channel_switch(struct wl1271 *wl,
89 void wlcore_event_beacon_loss(struct wl1271 *wl, unsigned long roles_bitmap);
90 void wlcore_event_dummy_packet(struct wl1271 *wl);
91 void wlcore_event_max_tx_failure(struct wl1271 *wl, unsigned long sta_bitmap);
[all …]
Dio.h46 struct wl1271;
48 void wlcore_disable_interrupts(struct wl1271 *wl);
49 void wlcore_disable_interrupts_nosync(struct wl1271 *wl);
50 void wlcore_enable_interrupts(struct wl1271 *wl);
51 void wlcore_synchronize_interrupts(struct wl1271 *wl);
53 void wl1271_io_reset(struct wl1271 *wl);
54 void wl1271_io_init(struct wl1271 *wl);
55 int wlcore_translate_addr(struct wl1271 *wl, int addr);
58 static inline int __must_check wlcore_raw_write(struct wl1271 *wl, int addr, in wlcore_raw_write()
76 static inline int __must_check wlcore_raw_read(struct wl1271 *wl, int addr, in wlcore_raw_read()
[all …]
Dinit.h29 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);
Dcmd.h32 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 …]
Dacx.h1043 int wl1271_acx_wake_up_conditions(struct wl1271 *wl,
1046 int wl1271_acx_sleep_auth(struct wl1271 *wl, u8 sleep_auth);
1047 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1049 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif);
1050 int wl1271_acx_mem_map(struct wl1271 *wl,
1052 int wl1271_acx_rx_msdu_life_time(struct wl1271 *wl);
1053 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1055 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1057 int wl1271_acx_service_period_timeout(struct wl1271 *wl,
1059 int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif,
[all …]
Dscan.h29 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,
Devent.c39 int wlcore_event_fw_logger(struct wl1271 *wl) in wlcore_event_fw_logger()
114 void wlcore_event_rssi_trigger(struct wl1271 *wl, s8 *metric_arr) in wlcore_event_rssi_trigger()
139 static void wl1271_stop_ba_event(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_stop_ba_event()
165 void wlcore_event_soft_gemini_sense(struct wl1271 *wl, u8 enable) in wlcore_event_soft_gemini_sense()
180 void wlcore_event_sched_scan_completed(struct wl1271 *wl, in wlcore_event_sched_scan_completed()
193 void wlcore_event_ba_rx_constraint(struct wl1271 *wl, in wlcore_event_ba_rx_constraint()
215 void wlcore_event_channel_switch(struct wl1271 *wl, in wlcore_event_channel_switch()
247 void wlcore_event_dummy_packet(struct wl1271 *wl) in wlcore_event_dummy_packet()
259 static void wlcore_disconnect_sta(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_disconnect_sta()
293 void wlcore_event_max_tx_failure(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_event_max_tx_failure()
[all …]
Dio.c35 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()
202 void wl1271_io_reset(struct wl1271 *wl) in wl1271_io_reset()
208 void wl1271_io_init(struct wl1271 *wl) in wl1271_io_init()
Dinit.c37 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 …]
Dacx.c36 int wl1271_acx_wake_up_conditions(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_wake_up_conditions()
67 int wl1271_acx_sleep_auth(struct wl1271 *wl, u8 sleep_auth) in wl1271_acx_sleep_auth()
96 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_tx_power()
127 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_acx_feature_cfg()
157 int wl1271_acx_mem_map(struct wl1271 *wl, struct acx_header *mem_map, in wl1271_acx_mem_map()
172 int wl1271_acx_rx_msdu_life_time(struct wl1271 *wl) in wl1271_acx_rx_msdu_life_time()
198 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_slot()
227 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_group_address_tbl()
259 int wl1271_acx_service_period_timeout(struct wl1271 *wl, in wl1271_acx_service_period_timeout()
290 int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_rts_threshold()
[all …]
Dtx.c44 static int wl1271_set_default_wep_key(struct wl1271 *wl, in wl1271_set_default_wep_key()
63 static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb) in wl1271_alloc_tx_id()
77 void wl1271_free_tx_id(struct wl1271 *wl, int id) in wl1271_free_tx_id()
89 static void wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, in wl1271_tx_ap_update_inconnection_sta()
120 static void wl1271_tx_regulate_link(struct wl1271 *wl, in wl1271_tx_regulate_link()
148 bool wl12xx_is_dummy_packet(struct wl1271 *wl, struct sk_buff *skb) in wl12xx_is_dummy_packet()
154 static u8 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_tx_get_hlid_ap()
176 u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_tx_get_hlid()
193 unsigned int wlcore_calc_packet_alignment(struct wl1271 *wl, in wlcore_calc_packet_alignment()
204 static int wl1271_tx_allocate(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_tx_allocate()
[all …]
Ddebugfs.h32 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; \
Ddebugfs.c60 void wl1271_debugfs_update_stats(struct wl1271 *wl) in wl1271_debugfs_update_stats()
97 struct wl1271 *wl = file->private_data; in tx_queue_len_read()
114 static void chip_op_handler(struct wl1271 *wl, unsigned long value, in chip_op_handler()
118 int (*chip_op) (struct wl1271 *wl); in chip_op_handler()
140 static inline void no_write_handler(struct wl1271 *wl, in no_write_handler()
153 struct wl1271 *wl = file->private_data; \
163 struct wl1271 *wl = file->private_data; \
204 struct wl1271 *wl = file->private_data; in gpio_power_read()
219 struct wl1271 *wl = file->private_data; in gpio_power_write()
251 struct wl1271 *wl = file->private_data; in start_recovery_write()
[all …]
Dcmd.c54 static int __wlcore_cmd_send(struct wl1271 *wl, u16 id, void *buf, in __wlcore_cmd_send()
135 static int wlcore_cmd_send_failsafe(struct wl1271 *wl, u16 id, void *buf, in wlcore_cmd_send_failsafe()
163 int wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len, in wl1271_cmd_send()
178 int wlcore_cmd_wait_for_event_or_timeout(struct wl1271 *wl, in wlcore_cmd_wait_for_event_or_timeout()
240 int wl12xx_cmd_role_enable(struct wl1271 *wl, u8 *addr, u8 role_type, in wl12xx_cmd_role_enable()
283 int wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id) in wl12xx_cmd_role_disable()
316 static int wlcore_get_new_session_id(struct wl1271 *wl, u8 hlid) in wlcore_get_new_session_id()
326 int wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_allocate_link()
364 void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_free_link()
434 static int wl12xx_cmd_role_start_dev(struct wl1271 *wl, in wl12xx_cmd_role_start_dev()
[all …]
Dmain.c54 static void __wl1271_op_remove_interface(struct wl1271 *wl,
57 static void wlcore_op_stop_locked(struct wl1271 *wl);
58 static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif);
60 static int wl12xx_set_authorized(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_set_authorized()
85 struct wl1271 *wl = hw->priv; in wl1271_reg_notify()
94 static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_set_rx_streaming()
116 int wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_recalc_rx_streaming()
145 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_enable_work()
184 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_disable_work()
211 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_timer()
[all …]
/Linux-v4.19/drivers/net/wireless/ti/wl18xx/
Dcmd.h86 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);
Dacx.c29 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()
313 int wl18xx_acx_time_sync_cfg(struct wl1271 *wl) in wl18xx_acx_time_sync_cfg()
Dscan.h119 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);
Dmain.c675 static int wl18xx_identify_chip(struct wl1271 *wl) in wl18xx_identify_chip()
724 static int wl18xx_set_clk(struct wl1271 *wl) in wl18xx_set_clk()
832 static int wl18xx_boot_soft_reset(struct wl1271 *wl) in wl18xx_boot_soft_reset()
848 static int wl18xx_pre_boot(struct wl1271 *wl) in wl18xx_pre_boot()
878 static int wl18xx_pre_upload(struct wl1271 *wl) in wl18xx_pre_upload()
959 static int wl18xx_set_mac_and_phy(struct wl1271 *wl) in wl18xx_set_mac_and_phy()
983 static int wl18xx_enable_interrupts(struct wl1271 *wl) in wl18xx_enable_interrupts()
1011 static int wl18xx_boot(struct wl1271 *wl) in wl18xx_boot()
1062 static int wl18xx_trigger_cmd(struct wl1271 *wl, int cmd_box_addr, in wl18xx_trigger_cmd()
1074 static int wl18xx_ack_event(struct wl1271 *wl) in wl18xx_ack_event()
[all …]
Dacx.h403 int wl18xx_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap,
406 int wl18xx_acx_set_checksum_state(struct wl1271 *wl);
407 int wl18xx_acx_clear_statistics(struct wl1271 *wl);
408 int wl18xx_acx_peer_ht_operation_mode(struct wl1271 *wl, u8 hlid, bool wide);
409 int wl18xx_acx_set_peer_cap(struct wl1271 *wl,
413 int wl18xx_acx_interrupt_notify_config(struct wl1271 *wl, bool action);
414 int wl18xx_acx_rx_ba_filter(struct wl1271 *wl, bool action);
415 int wl18xx_acx_ap_sleep(struct wl1271 *wl);
416 int wl18xx_acx_dynamic_fw_traces(struct wl1271 *wl);
417 int wl18xx_acx_time_sync_cfg(struct wl1271 *wl);
/Linux-v4.19/drivers/net/wireless/ti/wl12xx/
Dcmd.h123 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,
Dmain.c611 static int wl127x_prepare_read(struct wl1271 *wl, u32 rx_desc, u32 len) in wl127x_prepare_read()
640 static int wl12xx_identify_chip(struct wl1271 *wl) in wl12xx_identify_chip()
735 static int __must_check wl12xx_top_reg_write(struct wl1271 *wl, int addr, in wl12xx_top_reg_write()
760 static int __must_check wl12xx_top_reg_read(struct wl1271 *wl, int addr, in wl12xx_top_reg_read()
802 static int wl128x_switch_tcxo_to_fref(struct wl1271 *wl) in wl128x_switch_tcxo_to_fref()
831 static bool wl128x_is_tcxo_valid(struct wl1271 *wl) in wl128x_is_tcxo_valid()
846 static bool wl128x_is_fref_valid(struct wl1271 *wl) in wl128x_is_fref_valid()
861 static int wl128x_manually_configure_mcs_pll(struct wl1271 *wl) in wl128x_manually_configure_mcs_pll()
880 static int wl128x_configure_mcs_pll(struct wl1271 *wl, int clk) in wl128x_configure_mcs_pll()
928 static int wl128x_boot_clk(struct wl1271 *wl, int *selected_clock) in wl128x_boot_clk()
[all …]

1234