• Home
  • Raw
  • Download

Lines Matching refs:wl

39 int wlcore_event_fw_logger(struct wl1271 *wl)  in wlcore_event_fw_logger()  argument
61 ret = wlcore_read(wl, addr, buffer, WL18XX_LOGGER_SDIO_BUFF_MAX, in wlcore_event_fw_logger()
85 wl12xx_copy_fwlog(wl, &buffer[start_loc], len); in wlcore_event_fw_logger()
91 wl12xx_copy_fwlog(wl, in wlcore_event_fw_logger()
105 ret = wlcore_write32(wl, addr + WL18XX_LOGGER_READ_POINT_OFFSET, in wlcore_event_fw_logger()
114 void wlcore_event_rssi_trigger(struct wl1271 *wl, s8 *metric_arr) in wlcore_event_rssi_trigger() argument
124 wl12xx_for_each_wlvif_sta(wl, wlvif) { in wlcore_event_rssi_trigger()
138 static void wl1271_stop_ba_event(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_stop_ba_event() argument
144 if (!wl->links[hlid].ba_bitmap) in wl1271_stop_ba_event()
146 ieee80211_stop_rx_ba_session(vif, wl->links[hlid].ba_bitmap, in wl1271_stop_ba_event()
152 wl->num_links) { in wl1271_stop_ba_event()
153 lnk = &wl->links[hlid]; in wl1271_stop_ba_event()
164 void wlcore_event_soft_gemini_sense(struct wl1271 *wl, u8 enable) in wlcore_event_soft_gemini_sense() argument
169 set_bit(WL1271_FLAG_SOFT_GEMINI, &wl->flags); in wlcore_event_soft_gemini_sense()
171 clear_bit(WL1271_FLAG_SOFT_GEMINI, &wl->flags); in wlcore_event_soft_gemini_sense()
172 wl12xx_for_each_wlvif_sta(wl, wlvif) { in wlcore_event_soft_gemini_sense()
173 wl1271_recalc_rx_streaming(wl, wlvif); in wlcore_event_soft_gemini_sense()
179 void wlcore_event_sched_scan_completed(struct wl1271 *wl, in wlcore_event_sched_scan_completed() argument
185 if (wl->sched_vif) { in wlcore_event_sched_scan_completed()
186 ieee80211_sched_scan_stopped(wl->hw); in wlcore_event_sched_scan_completed()
187 wl->sched_vif = NULL; in wlcore_event_sched_scan_completed()
192 void wlcore_event_ba_rx_constraint(struct wl1271 *wl, in wlcore_event_ba_rx_constraint() argument
201 wl12xx_for_each_wlvif(wl, wlvif) { in wlcore_event_ba_rx_constraint()
209 wl1271_stop_ba_event(wl, wlvif); in wlcore_event_ba_rx_constraint()
214 void wlcore_event_channel_switch(struct wl1271 *wl, in wlcore_event_channel_switch() argument
224 wl12xx_for_each_wlvif(wl, wlvif) { in wlcore_event_channel_switch()
246 void wlcore_event_dummy_packet(struct wl1271 *wl) in wlcore_event_dummy_packet() argument
248 if (wl->plt) { in wlcore_event_dummy_packet()
254 wl1271_tx_dummy_packet(wl); in wlcore_event_dummy_packet()
258 static void wlcore_disconnect_sta(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_disconnect_sta() argument
260 u32 num_packets = wl->conf.tx.max_tx_retries; in wlcore_disconnect_sta()
267 for_each_set_bit(h, &sta_bitmap, wl->num_links) { in wlcore_disconnect_sta()
270 wl12xx_for_each_wlvif_ap(wl, wlvif) { in wlcore_disconnect_sta()
280 addr = wl->links[h].addr; in wlcore_disconnect_sta()
292 void wlcore_event_max_tx_failure(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_event_max_tx_failure() argument
295 wlcore_disconnect_sta(wl, sta_bitmap); in wlcore_event_max_tx_failure()
299 void wlcore_event_inactive_sta(struct wl1271 *wl, unsigned long sta_bitmap) in wlcore_event_inactive_sta() argument
302 wlcore_disconnect_sta(wl, sta_bitmap); in wlcore_event_inactive_sta()
306 void wlcore_event_roc_complete(struct wl1271 *wl) in wlcore_event_roc_complete() argument
309 if (wl->roc_vif) in wlcore_event_roc_complete()
310 ieee80211_ready_on_channel(wl->hw); in wlcore_event_roc_complete()
314 void wlcore_event_beacon_loss(struct wl1271 *wl, unsigned long roles_bitmap) in wlcore_event_beacon_loss() argument
322 int delay = wl->conf.conn.synch_fail_thold * in wlcore_event_beacon_loss()
323 wl->conf.conn.bss_lose_timeout; in wlcore_event_beacon_loss()
327 wl12xx_for_each_wlvif_sta(wl, wlvif) { in wlcore_event_beacon_loss()
345 ieee80211_queue_delayed_work(wl->hw, in wlcore_event_beacon_loss()
354 int wl1271_event_unmask(struct wl1271 *wl) in wl1271_event_unmask() argument
358 wl1271_debug(DEBUG_EVENT, "unmasking event_mask 0x%x", wl->event_mask); in wl1271_event_unmask()
359 ret = wl1271_acx_event_mbox_mask(wl, ~(wl->event_mask)); in wl1271_event_unmask()
366 int wl1271_event_handle(struct wl1271 *wl, u8 mbox_num) in wl1271_event_handle() argument
376 ret = wlcore_read(wl, wl->mbox_ptr[mbox_num], wl->mbox, in wl1271_event_handle()
377 wl->mbox_size, false); in wl1271_event_handle()
382 ret = wl->ops->process_mailbox_events(wl); in wl1271_event_handle()
390 ret = wl->ops->ack_event(wl); in wl1271_event_handle()