Home
last modified time | relevance | path

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

1234

/linux-5.19.10/drivers/net/wireless/ti/wlcore/
Dwlcore.h38 int (*setup)(struct wl1271 *wl);
39 int (*identify_chip)(struct wl1271 *wl);
40 int (*identify_fw)(struct wl1271 *wl);
41 int (*boot)(struct wl1271 *wl);
42 int (*plt_init)(struct wl1271 *wl);
43 int (*trigger_cmd)(struct wl1271 *wl, int cmd_box_addr,
45 int (*ack_event)(struct wl1271 *wl);
46 int (*wait_for_event)(struct wl1271 *wl, enum wlcore_wait_event event,
48 int (*process_mailbox_events)(struct wl1271 *wl);
49 u32 (*calc_tx_blocks)(struct wl1271 *wl, u32 len, u32 spare_blks);
[all …]
Dtx.h219 static inline int wl1271_tx_total_queue_count(struct wl1271 *wl) in wl1271_tx_total_queue_count()
230 int wlcore_tx_work_locked(struct wl1271 *wl);
231 int wlcore_tx_complete(struct wl1271 *wl);
232 void wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif);
233 void wl12xx_tx_reset(struct wl1271 *wl);
234 void wl1271_tx_flush(struct wl1271 *wl);
235 u8 wlcore_rate_to_idx(struct wl1271 *wl, u8 rate, enum nl80211_band band);
236 u32 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set,
238 u32 wl1271_tx_min_rate_get(struct wl1271 *wl, u32 rate_set);
239 u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif,
[all …]
Dhw_ops.h15 wlcore_hw_calc_tx_blocks(struct wl1271 *wl, u32 len, u32 spare_blks) in wlcore_hw_calc_tx_blocks()
24 wlcore_hw_set_tx_desc_blocks(struct wl1271 *wl, struct wl1271_tx_hw_descr *desc, in wlcore_hw_set_tx_desc_blocks()
34 wlcore_hw_set_tx_desc_data_len(struct wl1271 *wl, in wlcore_hw_set_tx_desc_data_len()
45 wlcore_hw_get_rx_buf_align(struct wl1271 *wl, u32 rx_desc) in wlcore_hw_get_rx_buf_align()
55 wlcore_hw_prepare_read(struct wl1271 *wl, u32 rx_desc, u32 len) in wlcore_hw_prepare_read()
64 wlcore_hw_get_rx_packet_len(struct wl1271 *wl, void *rx_data, u32 data_len) in wlcore_hw_get_rx_packet_len()
72 static inline int wlcore_hw_tx_delayed_compl(struct wl1271 *wl) in wlcore_hw_tx_delayed_compl()
80 static inline void wlcore_hw_tx_immediate_compl(struct wl1271 *wl) in wlcore_hw_tx_immediate_compl()
87 wlcore_hw_init_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_hw_init_vif()
96 wlcore_hw_convert_fw_status(struct wl1271 *wl, void *raw_fw_status, in wlcore_hw_convert_fw_status()
[all …]
Devent.h61 struct wl1271;
63 int wl1271_event_unmask(struct wl1271 *wl);
64 int wl1271_event_handle(struct wl1271 *wl, u8 mbox);
66 void wlcore_event_soft_gemini_sense(struct wl1271 *wl, u8 enable);
67 void wlcore_event_sched_scan_completed(struct wl1271 *wl,
69 void wlcore_event_ba_rx_constraint(struct wl1271 *wl,
72 void wlcore_event_channel_switch(struct wl1271 *wl,
75 void wlcore_event_beacon_loss(struct wl1271 *wl, unsigned long roles_bitmap);
76 void wlcore_event_dummy_packet(struct wl1271 *wl);
77 void wlcore_event_max_tx_failure(struct wl1271 *wl, unsigned long sta_bitmap);
[all …]
Dio.h32 struct wl1271;
34 void wlcore_disable_interrupts(struct wl1271 *wl);
35 void wlcore_disable_interrupts_nosync(struct wl1271 *wl);
36 void wlcore_enable_interrupts(struct wl1271 *wl);
37 void wlcore_synchronize_interrupts(struct wl1271 *wl);
39 void wl1271_io_reset(struct wl1271 *wl);
40 void wl1271_io_init(struct wl1271 *wl);
41 int wlcore_translate_addr(struct wl1271 *wl, int addr);
44 static inline int __must_check wlcore_raw_write(struct wl1271 *wl, int addr, in wlcore_raw_write()
62 static inline int __must_check wlcore_raw_read(struct wl1271 *wl, int addr, in wlcore_raw_read()
[all …]
Dcmd.h18 int wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len,
20 int wl12xx_cmd_role_enable(struct wl1271 *wl, u8 *addr, u8 role_type,
22 int wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id);
23 int wl12xx_cmd_role_start_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif);
24 int wl12xx_cmd_role_stop_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif);
25 int wl12xx_cmd_role_start_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif);
26 int wl12xx_cmd_role_stop_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif);
27 int wl12xx_cmd_role_start_ibss(struct wl1271 *wl, struct wl12xx_vif *wlvif);
28 int wl12xx_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif,
30 int wl12xx_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif);
[all …]
Dinit.h15 int wl1271_hw_init_power_auth(struct wl1271 *wl);
16 int wl1271_init_templates_config(struct wl1271 *wl);
17 int wl1271_init_pta(struct wl1271 *wl);
18 int wl1271_init_energy_detection(struct wl1271 *wl);
19 int wl1271_chip_specific_init(struct wl1271 *wl);
20 int wl1271_hw_init(struct wl1271 *wl);
21 int wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif);
22 int wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif);
23 int wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif);
24 int wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif);
Dacx.h1029 int wl1271_acx_wake_up_conditions(struct wl1271 *wl,
1032 int wl1271_acx_sleep_auth(struct wl1271 *wl, u8 sleep_auth);
1033 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1035 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif);
1036 int wl1271_acx_mem_map(struct wl1271 *wl,
1038 int wl1271_acx_rx_msdu_life_time(struct wl1271 *wl);
1039 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1041 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1043 int wl1271_acx_service_period_timeout(struct wl1271 *wl,
1045 int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif,
[all …]
Dscan.h15 int wlcore_scan(struct wl1271 *wl, struct ieee80211_vif *vif,
18 int wl1271_scan_build_probe_req(struct wl1271 *wl,
21 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif);
23 int wl1271_scan_sched_scan_config(struct wl1271 *wl,
27 int wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif);
28 void wlcore_scan_sched_scan_results(struct wl1271 *wl);
152 wlcore_set_scan_chan_params(struct wl1271 *wl,
160 wlcore_scan_sched_scan_ssid_list(struct wl1271 *wl,
Devent.c25 int wlcore_event_fw_logger(struct wl1271 *wl) in wlcore_event_fw_logger()
109 void wlcore_event_rssi_trigger(struct wl1271 *wl, s8 *metric_arr) in wlcore_event_rssi_trigger()
134 static void wl1271_stop_ba_event(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_stop_ba_event()
160 void wlcore_event_soft_gemini_sense(struct wl1271 *wl, u8 enable) in wlcore_event_soft_gemini_sense()
175 void wlcore_event_sched_scan_completed(struct wl1271 *wl, in wlcore_event_sched_scan_completed()
188 void wlcore_event_ba_rx_constraint(struct wl1271 *wl, in wlcore_event_ba_rx_constraint()
210 void wlcore_event_channel_switch(struct wl1271 *wl, in wlcore_event_channel_switch()
242 void wlcore_event_dummy_packet(struct wl1271 *wl) in wlcore_event_dummy_packet()
254 static void wlcore_disconnect_sta(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_disconnect_sta()
288 void wlcore_event_max_tx_failure(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_event_max_tx_failure()
[all …]
Dio.c21 bool wl1271_set_block_size(struct wl1271 *wl) in wl1271_set_block_size()
31 void wlcore_disable_interrupts(struct wl1271 *wl) in wlcore_disable_interrupts()
37 void wlcore_disable_interrupts_nosync(struct wl1271 *wl) in wlcore_disable_interrupts_nosync()
43 void wlcore_enable_interrupts(struct wl1271 *wl) in wlcore_enable_interrupts()
49 void wlcore_synchronize_interrupts(struct wl1271 *wl) in wlcore_synchronize_interrupts()
55 int wlcore_translate_addr(struct wl1271 *wl, int addr) in wlcore_translate_addr()
123 int wlcore_set_partition(struct wl1271 *wl, in wlcore_set_partition()
188 void wl1271_io_reset(struct wl1271 *wl) in wl1271_io_reset()
194 void wl1271_io_init(struct wl1271 *wl) in wl1271_io_init()
Dinit.c23 int wl1271_init_templates_config(struct wl1271 *wl) in wl1271_init_templates_config()
144 static int wl1271_ap_init_deauth_template(struct wl1271 *wl, in wl1271_ap_init_deauth_template()
170 static int wl1271_ap_init_null_template(struct wl1271 *wl, in wl1271_ap_init_null_template()
203 static int wl1271_ap_init_qos_null_template(struct wl1271 *wl, in wl1271_ap_init_qos_null_template()
236 static int wl12xx_init_rx_config(struct wl1271 *wl) in wl12xx_init_rx_config()
247 static int wl12xx_init_phy_vif_config(struct wl1271 *wl, in wl12xx_init_phy_vif_config()
267 static int wl1271_init_sta_beacon_filter(struct wl1271 *wl, in wl1271_init_sta_beacon_filter()
284 int wl1271_init_pta(struct wl1271 *wl) in wl1271_init_pta()
299 int wl1271_init_energy_detection(struct wl1271 *wl) in wl1271_init_energy_detection()
310 static int wl1271_init_beacon_broadcast(struct wl1271 *wl, in wl1271_init_beacon_broadcast()
[all …]
Dacx.c22 int wl1271_acx_wake_up_conditions(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_wake_up_conditions()
53 int wl1271_acx_sleep_auth(struct wl1271 *wl, u8 sleep_auth) in wl1271_acx_sleep_auth()
82 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_tx_power()
113 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_acx_feature_cfg()
143 int wl1271_acx_mem_map(struct wl1271 *wl, struct acx_header *mem_map, in wl1271_acx_mem_map()
158 int wl1271_acx_rx_msdu_life_time(struct wl1271 *wl) in wl1271_acx_rx_msdu_life_time()
184 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_slot()
213 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_group_address_tbl()
245 int wl1271_acx_service_period_timeout(struct wl1271 *wl, in wl1271_acx_service_period_timeout()
276 int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_rts_threshold()
[all …]
Ddebugfs.c46 void wl1271_debugfs_update_stats(struct wl1271 *wl) in wl1271_debugfs_update_stats()
81 struct wl1271 *wl = file->private_data; in tx_queue_len_read()
98 static void chip_op_handler(struct wl1271 *wl, unsigned long value, in chip_op_handler()
102 int (*chip_op) (struct wl1271 *wl); in chip_op_handler()
127 struct wl1271 *wl = file->private_data; \
137 struct wl1271 *wl = file->private_data; \
178 struct wl1271 *wl = file->private_data; in gpio_power_read()
193 struct wl1271 *wl = file->private_data; in gpio_power_write()
225 struct wl1271 *wl = file->private_data; in start_recovery_write()
243 struct wl1271 *wl = file->private_data; in dynamic_ps_timeout_read()
[all …]
Dtx.c30 static int wl1271_set_default_wep_key(struct wl1271 *wl, in wl1271_set_default_wep_key()
49 static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb) in wl1271_alloc_tx_id()
63 void wl1271_free_tx_id(struct wl1271 *wl, int id) in wl1271_free_tx_id()
75 static void wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, in wl1271_tx_ap_update_inconnection_sta()
106 static void wl1271_tx_regulate_link(struct wl1271 *wl, in wl1271_tx_regulate_link()
134 bool wl12xx_is_dummy_packet(struct wl1271 *wl, struct sk_buff *skb) in wl12xx_is_dummy_packet()
140 static u8 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_tx_get_hlid_ap()
162 u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_tx_get_hlid()
179 unsigned int wlcore_calc_packet_alignment(struct wl1271 *wl, in wlcore_calc_packet_alignment()
190 static int wl1271_tx_allocate(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_tx_allocate()
[all …]
Ddebugfs.h18 int wl1271_debugfs_init(struct wl1271 *wl);
19 void wl1271_debugfs_exit(struct wl1271 *wl);
20 void wl1271_debugfs_reset(struct wl1271 *wl);
21 void wl1271_debugfs_update_stats(struct wl1271 *wl);
29 struct wl1271 *wl = file->private_data; \
58 struct wl1271 *wl = file->private_data; \
78 struct wl1271 *wl = file->private_data; \
Dmain.c40 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()
[all …]
Dcmd.c40 static int __wlcore_cmd_send(struct wl1271 *wl, u16 id, void *buf, in __wlcore_cmd_send()
121 static int wlcore_cmd_send_failsafe(struct wl1271 *wl, u16 id, void *buf, in wlcore_cmd_send_failsafe()
149 int wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len, in wl1271_cmd_send()
164 int wlcore_cmd_wait_for_event_or_timeout(struct wl1271 *wl, in wlcore_cmd_wait_for_event_or_timeout()
224 int wl12xx_cmd_role_enable(struct wl1271 *wl, u8 *addr, u8 role_type, in wl12xx_cmd_role_enable()
267 int wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id) in wl12xx_cmd_role_disable()
300 static int wlcore_get_new_session_id(struct wl1271 *wl, u8 hlid) in wlcore_get_new_session_id()
310 int wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_allocate_link()
348 void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_free_link()
418 static int wl12xx_cmd_role_start_dev(struct wl1271 *wl, in wl12xx_cmd_role_start_dev()
[all …]
/linux-5.19.10/drivers/net/wireless/ti/wl18xx/
Dcmd.h72 int wl18xx_cmd_channel_switch(struct wl1271 *wl,
75 int wl18xx_cmd_smart_config_start(struct wl1271 *wl, u32 group_bitmap);
76 int wl18xx_cmd_smart_config_stop(struct wl1271 *wl);
77 int wl18xx_cmd_smart_config_set_group_key(struct wl1271 *wl, u16 group_id,
79 int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start);
80 int wl18xx_cmd_radar_detection_debug(struct wl1271 *wl, u8 channel);
81 int wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif);
Dacx.c15 int wl18xx_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap, in wl18xx_acx_host_if_cfg_bitmap()
50 int wl18xx_acx_set_checksum_state(struct wl1271 *wl) in wl18xx_acx_set_checksum_state()
76 int wl18xx_acx_clear_statistics(struct wl1271 *wl) in wl18xx_acx_clear_statistics()
100 int wl18xx_acx_peer_ht_operation_mode(struct wl1271 *wl, u8 hlid, bool wide) in wl18xx_acx_peer_ht_operation_mode()
136 int wl18xx_acx_set_peer_cap(struct wl1271 *wl, in wl18xx_acx_set_peer_cap()
189 int wl18xx_acx_interrupt_notify_config(struct wl1271 *wl, in wl18xx_acx_interrupt_notify_config()
217 int wl18xx_acx_rx_ba_filter(struct wl1271 *wl, bool action) in wl18xx_acx_rx_ba_filter()
241 int wl18xx_acx_ap_sleep(struct wl1271 *wl) in wl18xx_acx_ap_sleep()
272 int wl18xx_acx_dynamic_fw_traces(struct wl1271 *wl) in wl18xx_acx_dynamic_fw_traces()
299 int wl18xx_acx_time_sync_cfg(struct wl1271 *wl) in wl18xx_acx_time_sync_cfg()
Dscan.h105 int wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
107 int wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif);
108 void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif);
109 int wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
112 void wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif);
Dmain.c661 static int wl18xx_identify_chip(struct wl1271 *wl) in wl18xx_identify_chip()
710 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()
1048 static int wl18xx_trigger_cmd(struct wl1271 *wl, int cmd_box_addr, in wl18xx_trigger_cmd()
1060 static int wl18xx_ack_event(struct wl1271 *wl) in wl18xx_ack_event()
[all …]
Dacx.h389 int wl18xx_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap,
392 int wl18xx_acx_set_checksum_state(struct wl1271 *wl);
393 int wl18xx_acx_clear_statistics(struct wl1271 *wl);
394 int wl18xx_acx_peer_ht_operation_mode(struct wl1271 *wl, u8 hlid, bool wide);
395 int wl18xx_acx_set_peer_cap(struct wl1271 *wl,
399 int wl18xx_acx_interrupt_notify_config(struct wl1271 *wl, bool action);
400 int wl18xx_acx_rx_ba_filter(struct wl1271 *wl, bool action);
401 int wl18xx_acx_ap_sleep(struct wl1271 *wl);
402 int wl18xx_acx_dynamic_fw_traces(struct wl1271 *wl);
403 int wl18xx_acx_time_sync_cfg(struct wl1271 *wl);
/linux-5.19.10/drivers/net/wireless/ti/wl12xx/
Dmain.c597 static int wl127x_prepare_read(struct wl1271 *wl, u32 rx_desc, u32 len) in wl127x_prepare_read()
626 static int wl12xx_identify_chip(struct wl1271 *wl) in wl12xx_identify_chip()
718 static int __must_check wl12xx_top_reg_write(struct wl1271 *wl, int addr, in wl12xx_top_reg_write()
743 static int __must_check wl12xx_top_reg_read(struct wl1271 *wl, int addr, in wl12xx_top_reg_read()
785 static int wl128x_switch_tcxo_to_fref(struct wl1271 *wl) in wl128x_switch_tcxo_to_fref()
814 static bool wl128x_is_tcxo_valid(struct wl1271 *wl) in wl128x_is_tcxo_valid()
829 static bool wl128x_is_fref_valid(struct wl1271 *wl) in wl128x_is_fref_valid()
844 static int wl128x_manually_configure_mcs_pll(struct wl1271 *wl) in wl128x_manually_configure_mcs_pll()
863 static int wl128x_configure_mcs_pll(struct wl1271 *wl, int clk) in wl128x_configure_mcs_pll()
911 static int wl128x_boot_clk(struct wl1271 *wl, int *selected_clock) in wl128x_boot_clk()
[all …]
Dcmd.h109 int wl1271_cmd_general_parms(struct wl1271 *wl);
110 int wl128x_cmd_general_parms(struct wl1271 *wl);
111 int wl1271_cmd_radio_parms(struct wl1271 *wl);
112 int wl128x_cmd_radio_parms(struct wl1271 *wl);
113 int wl1271_cmd_ext_radio_parms(struct wl1271 *wl);
114 int wl12xx_cmd_channel_switch(struct wl1271 *wl,

1234