Home
last modified time | relevance | path

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

12

/linux-3.4.99/drivers/net/wireless/wl12xx/
Dio.h48 struct wl1271;
50 void wl1271_disable_interrupts(struct wl1271 *wl);
51 void wl1271_enable_interrupts(struct wl1271 *wl);
53 void wl1271_io_reset(struct wl1271 *wl);
54 void wl1271_io_init(struct wl1271 *wl);
57 static inline void wl1271_raw_write(struct wl1271 *wl, int addr, void *buf, in wl1271_raw_write()
63 static inline void wl1271_raw_read(struct wl1271 *wl, int addr, void *buf, in wl1271_raw_read()
69 static inline u32 wl1271_raw_read32(struct wl1271 *wl, int addr) in wl1271_raw_read32()
77 static inline void wl1271_raw_write32(struct wl1271 *wl, int addr, u32 val) in wl1271_raw_write32()
85 static inline int wl1271_translate_addr(struct wl1271 *wl, int addr) in wl1271_translate_addr()
[all …]
Dcmd.h32 int wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len,
34 int wl1271_cmd_general_parms(struct wl1271 *wl);
35 int wl128x_cmd_general_parms(struct wl1271 *wl);
36 int wl1271_cmd_radio_parms(struct wl1271 *wl);
37 int wl128x_cmd_radio_parms(struct wl1271 *wl);
38 int wl1271_cmd_ext_radio_parms(struct wl1271 *wl);
39 int wl12xx_cmd_role_enable(struct wl1271 *wl, u8 *addr, u8 role_type,
41 int wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id);
42 int wl12xx_cmd_role_start_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif);
43 int wl12xx_cmd_role_stop_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif);
[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);
Dtx.h199 static inline int wl1271_tx_total_queue_count(struct wl1271 *wl) in wl1271_tx_total_queue_count()
210 void wl1271_tx_work_locked(struct wl1271 *wl);
211 void wl1271_tx_complete(struct wl1271 *wl);
212 void wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif);
213 void wl12xx_tx_reset(struct wl1271 *wl, bool reset_tx_queues);
214 void wl1271_tx_flush(struct wl1271 *wl);
216 u32 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set,
218 u32 wl1271_tx_min_rate_get(struct wl1271 *wl, u32 rate_set);
219 u8 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif,
221 u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif,
[all …]
Dacx.h1228 int wl1271_acx_wake_up_conditions(struct wl1271 *wl,
1231 int wl1271_acx_sleep_auth(struct wl1271 *wl, u8 sleep_auth);
1232 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1234 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif);
1235 int wl1271_acx_mem_map(struct wl1271 *wl,
1237 int wl1271_acx_rx_msdu_life_time(struct wl1271 *wl);
1238 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1240 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1242 int wl1271_acx_service_period_timeout(struct wl1271 *wl,
1244 int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif,
[all …]
Dps.h30 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);
Dinit.c37 int wl1271_init_templates_config(struct wl1271 *wl) in wl1271_init_templates_config()
140 static int wl1271_ap_init_deauth_template(struct wl1271 *wl, in wl1271_ap_init_deauth_template()
166 static int wl1271_ap_init_null_template(struct wl1271 *wl, in wl1271_ap_init_null_template()
199 static int wl1271_ap_init_qos_null_template(struct wl1271 *wl, in wl1271_ap_init_qos_null_template()
232 static int wl12xx_init_rx_config(struct wl1271 *wl) in wl12xx_init_rx_config()
243 static int wl12xx_init_phy_vif_config(struct wl1271 *wl, in wl12xx_init_phy_vif_config()
263 static int wl1271_init_sta_beacon_filter(struct wl1271 *wl, in wl1271_init_sta_beacon_filter()
280 int wl1271_init_pta(struct wl1271 *wl) in wl1271_init_pta()
295 int wl1271_init_energy_detection(struct wl1271 *wl) in wl1271_init_energy_detection()
306 static int wl1271_init_beacon_broadcast(struct wl1271 *wl, in wl1271_init_beacon_broadcast()
[all …]
Dacx.c37 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()
90 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_tx_power()
121 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_acx_feature_cfg()
151 int wl1271_acx_mem_map(struct wl1271 *wl, struct acx_header *mem_map, in wl1271_acx_mem_map()
165 int wl1271_acx_rx_msdu_life_time(struct wl1271 *wl) in wl1271_acx_rx_msdu_life_time()
191 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_slot()
220 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_group_address_tbl()
252 int wl1271_acx_service_period_timeout(struct wl1271 *wl, in wl1271_acx_service_period_timeout()
283 int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_rts_threshold()
[all …]
Dio.c107 bool wl1271_set_block_size(struct wl1271 *wl) in wl1271_set_block_size()
117 void wl1271_disable_interrupts(struct wl1271 *wl) in wl1271_disable_interrupts()
122 void wl1271_enable_interrupts(struct wl1271 *wl) in wl1271_enable_interrupts()
161 int wl1271_set_partition(struct wl1271 *wl, in wl1271_set_partition()
189 void wl1271_io_reset(struct wl1271 *wl) in wl1271_io_reset()
195 void wl1271_io_init(struct wl1271 *wl) in wl1271_io_init()
201 void wl1271_top_reg_write(struct wl1271 *wl, int addr, u16 val) in wl1271_top_reg_write()
214 u16 wl1271_top_reg_read(struct wl1271 *wl, int addr) in wl1271_top_reg_read()
Dscan.h29 int wl1271_scan(struct wl1271 *wl, struct ieee80211_vif *vif,
32 int wl1271_scan_stop(struct wl1271 *wl);
33 int wl1271_scan_build_probe_req(struct wl1271 *wl,
36 void wl1271_scan_stm(struct wl1271 *wl, struct ieee80211_vif *vif);
38 int wl1271_scan_sched_scan_config(struct wl1271 *wl,
42 int wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif);
43 void wl1271_scan_sched_scan_stop(struct wl1271 *wl);
44 void wl1271_scan_sched_scan_results(struct wl1271 *wl);
Dboot.c36 static void wl1271_boot_set_ecpu_ctrl(struct wl1271 *wl, u32 flag) in wl1271_boot_set_ecpu_ctrl()
48 static unsigned int wl12xx_get_fw_ver_quirks(struct wl1271 *wl) in wl12xx_get_fw_ver_quirks()
65 static void wl1271_parse_fw_ver(struct wl1271 *wl) in wl1271_parse_fw_ver()
84 static void wl1271_boot_fw_version(struct wl1271 *wl) in wl1271_boot_fw_version()
100 static int wl1271_boot_upload_firmware_chunk(struct wl1271 *wl, void *buf, in wl1271_boot_upload_firmware_chunk()
167 static int wl1271_boot_upload_firmware(struct wl1271 *wl) in wl1271_boot_upload_firmware()
200 static int wl1271_boot_upload_nvs(struct wl1271 *wl) in wl1271_boot_upload_nvs()
345 static void wl1271_boot_enable_interrupts(struct wl1271 *wl) in wl1271_boot_enable_interrupts()
353 static int wl1271_boot_soft_reset(struct wl1271 *wl) in wl1271_boot_soft_reset()
388 static int wl1271_boot_run_firmware(struct wl1271 *wl) in wl1271_boot_run_firmware()
[all …]
Dtx.c36 static int wl1271_set_default_wep_key(struct wl1271 *wl, in wl1271_set_default_wep_key()
55 static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb) in wl1271_alloc_tx_id()
69 static void wl1271_free_tx_id(struct wl1271 *wl, int id) in wl1271_free_tx_id()
80 static void wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, in wl1271_tx_ap_update_inconnection_sta()
96 static void wl1271_tx_regulate_link(struct wl1271 *wl, in wl1271_tx_regulate_link()
120 bool wl12xx_is_dummy_packet(struct wl1271 *wl, struct sk_buff *skb) in wl12xx_is_dummy_packet()
125 u8 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_tx_get_hlid_ap()
150 u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_tx_get_hlid()
170 static unsigned int wl12xx_calc_packet_alignment(struct wl1271 *wl, in wl12xx_calc_packet_alignment()
179 static int wl1271_tx_allocate(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_tx_allocate()
[all …]
Dcmd.c51 int wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len, in wl1271_cmd_send()
113 int wl1271_cmd_general_parms(struct wl1271 *wl) in wl1271_cmd_general_parms()
166 int wl128x_cmd_general_parms(struct wl1271 *wl) in wl128x_cmd_general_parms()
220 int wl1271_cmd_radio_parms(struct wl1271 *wl) in wl1271_cmd_radio_parms()
262 int wl128x_cmd_radio_parms(struct wl1271 *wl) in wl128x_cmd_radio_parms()
306 int wl1271_cmd_ext_radio_parms(struct wl1271 *wl) in wl1271_cmd_ext_radio_parms()
343 static int wl1271_cmd_wait_for_event_or_timeout(struct wl1271 *wl, u32 mask) in wl1271_cmd_wait_for_event_or_timeout()
371 static int wl1271_cmd_wait_for_event(struct wl1271 *wl, u32 mask) in wl1271_cmd_wait_for_event()
384 int wl12xx_cmd_role_enable(struct wl1271 *wl, u8 *addr, u8 role_type, in wl12xx_cmd_role_enable()
427 int wl12xx_cmd_role_disable(struct wl1271 *wl, u8 *role_id) in wl12xx_cmd_role_disable()
[all …]
Ddebugfs.h29 int wl1271_debugfs_init(struct wl1271 *wl);
30 void wl1271_debugfs_exit(struct wl1271 *wl);
31 void wl1271_debugfs_reset(struct wl1271 *wl);
Ddebugfs.c59 struct wl1271 *wl = file->private_data; \
89 struct wl1271 *wl = file->private_data; \
106 static void wl1271_debugfs_update_stats(struct wl1271 *wl) in wl1271_debugfs_update_stats()
227 struct wl1271 *wl = file->private_data; in tx_queue_len_read()
247 struct wl1271 *wl = file->private_data; in gpio_power_read()
262 struct wl1271 *wl = file->private_data; in gpio_power_write()
294 struct wl1271 *wl = file->private_data; in start_recovery_write()
312 struct wl1271 *wl = file->private_data; in dynamic_ps_timeout_read()
323 struct wl1271 *wl = file->private_data; in dynamic_ps_timeout_write()
376 struct wl1271 *wl = file->private_data; in forced_ps_read()
[all …]
Dps.c35 struct wl1271 *wl; in wl1271_elp_work()
39 wl = container_of(dwork, struct wl1271, elp_work); in wl1271_elp_work()
73 void wl1271_ps_elp_sleep(struct wl1271 *wl) in wl1271_ps_elp_sleep()
94 int wl1271_ps_elp_wakeup(struct wl1271 *wl) in wl1271_ps_elp_wakeup()
160 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_ps_set_mode()
217 static void wl1271_ps_filter_frames(struct wl1271 *wl, u8 hlid) in wl1271_ps_filter_frames()
249 void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_ps_link_start()
281 void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) in wl12xx_ps_link_end()
Dmain.c390 static void __wl1271_op_remove_interface(struct wl1271 *wl,
394 static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif);
396 static int wl12xx_set_authorized(struct wl1271 *wl, in wl12xx_set_authorized()
442 static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_set_rx_streaming()
464 int wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_recalc_rx_streaming()
493 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_enable_work()
529 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_disable_work()
553 struct wl1271 *wl = wlvif->wl; in wl1271_rx_streaming_timer()
558 void wl12xx_rearm_tx_watchdog_locked(struct wl1271 *wl) in wl12xx_rearm_tx_watchdog_locked()
572 struct wl1271 *wl; in wl12xx_tx_watchdog_work()
[all …]
Devent.c33 static void wl1271_event_rssi_trigger(struct wl1271 *wl, in wl1271_event_rssi_trigger()
53 static void wl1271_stop_ba_event(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_stop_ba_event()
78 static void wl12xx_event_soft_gemini_sense(struct wl1271 *wl, in wl12xx_event_soft_gemini_sense()
101 static int wl1271_event_process(struct wl1271 *wl, struct event_mailbox *mbox) in wl1271_event_process()
270 int wl1271_event_unmask(struct wl1271 *wl) in wl1271_event_unmask()
281 void wl1271_event_mbox_config(struct wl1271 *wl) in wl1271_event_mbox_config()
290 int wl1271_event_handle(struct wl1271 *wl, u8 mbox_num) in wl1271_event_handle()
Dtestmode.c73 static int wl1271_tm_cmd_test(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_test()
138 static int wl1271_tm_cmd_interrogate(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_interrogate()
201 static int wl1271_tm_cmd_configure(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_configure()
233 static int wl1271_tm_cmd_set_plt_mode(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_set_plt_mode()
260 static int wl1271_tm_cmd_recover(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_recover()
269 static int wl12xx_tm_cmd_get_mac(struct wl1271 *wl, struct nlattr *tb[]) in wl12xx_tm_cmd_get_mac()
317 struct wl1271 *wl = hw->priv; in wl1271_tm_cmd()
Dwl12xx.h128 struct wl1271;
295 struct wl1271 { struct
508 struct wl1271 *wl; argument
655 int wl1271_plt_start(struct wl1271 *wl);
656 int wl1271_plt_stop(struct wl1271 *wl);
657 int wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif);
658 void wl12xx_queue_recovery_work(struct wl1271 *wl);
659 size_t wl12xx_copy_fwlog(struct wl1271 *wl, u8 *memblock, size_t maxlen);
Dscan.c37 struct wl1271 *wl; in wl1271_scan_complete_work()
43 wl = container_of(dwork, struct wl1271, scan_complete_work); in wl1271_scan_complete_work()
93 static int wl1271_get_scan_channels(struct wl1271 *wl, in wl1271_get_scan_channels()
160 static int wl1271_scan_send(struct wl1271 *wl, struct ieee80211_vif *vif, in wl1271_scan_send()
257 void wl1271_scan_stm(struct wl1271 *wl, struct ieee80211_vif *vif) in wl1271_scan_stm()
346 int wl1271_scan(struct wl1271 *wl, struct ieee80211_vif *vif, in wl1271_scan()
382 int wl1271_scan_stop(struct wl1271 *wl) in wl1271_scan_stop()
410 wl1271_scan_get_sched_scan_channels(struct wl1271 *wl, in wl1271_scan_get_sched_scan_channels()
470 wl1271_scan_sched_scan_channels(struct wl1271 *wl, in wl1271_scan_sched_scan_channels()
519 wl12xx_scan_sched_scan_ssid_list(struct wl1271 *wl, in wl12xx_scan_sched_scan_ssid_list()
[all …]
Devent.h135 int wl1271_event_unmask(struct wl1271 *wl);
136 void wl1271_event_mbox_config(struct wl1271 *wl);
137 int wl1271_event_handle(struct wl1271 *wl, u8 mbox);
Dboot.h29 int wl1271_boot(struct wl1271 *wl);
30 int wl1271_load_firmware(struct wl1271 *wl);
Drx.c57 static void wl1271_rx_status(struct wl1271 *wl, in wl1271_rx_status()
100 static int wl1271_rx_handle_data(struct wl1271 *wl, u8 *data, u32 length, in wl1271_rx_handle_data()
188 void wl12xx_rx(struct wl1271 *wl, struct wl12xx_fw_status *status) in wl12xx_rx()
DKconfig6 wl1271, wl1273, wl1281 and wl1283.
15 This module adds support for wireless adapters based on TI wl1271 and

12