Home
last modified time | relevance | path

Searched refs:wlvif (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dmain.c59 ret = wl12xx_cmd_set_peer_state(wl, wlvif, wlvif->sta.hlid); in wl12xx_set_authorized()
2925 ret = wl1271_cmd_build_ps_poll(wl, wlvif, wlvif->aid); in wlcore_set_assoc()
2938 wl1271_ssid_set(wlvif, wlvif->probereq, ieoffset); in wlcore_set_assoc()
2955 ret = wl1271_acx_aid(wl, wlvif, wlvif->aid); in wlcore_set_assoc()
3047 wlvif->basic_rate_set = wlvif->bitrate_masks[wlvif->band]; in wl1271_set_band_rate()
3048 wlvif->rate_set = wlvif->basic_rate_set; in wl1271_set_band_rate()
4803 wlvif->role_id, wlvif->channel, channel, in __wlcore_switch_vif_chan()
5078 wl12xx_roc(wl, wlvif, wlvif->role_id, wlvif->band, wlvif->channel); in wlcore_roc_if_possible()
5227 wl12xx_roc(wl, wlvif, wlvif->role_id, in wl12xx_update_sta_state()
5228 wlvif->band, wlvif->channel); in wl12xx_update_sta_state()
[all …]
H A Dcmd.c333 wl->links[link].wlvif = wlvif; in wl12xx_allocate_link()
460 wl12xx_free_link(wl, wlvif, &wlvif->dev_hlid); in wl12xx_cmd_role_start_dev()
496 wl12xx_free_link(wl, wlvif, &wlvif->dev_hlid); in wl12xx_cmd_role_stop_dev()
528 memcpy(cmd->sta.ssid, wlvif->ssid, wlvif->ssid_len); in wl12xx_cmd_role_start_sta()
558 wlvif->basic_rate_set, wlvif->rate_set); in wl12xx_cmd_role_start_sta()
566 wlvif->sta.role_chan_type = wlvif->channel_type; in wl12xx_cmd_role_start_sta()
571 wl12xx_free_link(wl, wlvif, &wlvif->sta.hlid); in wl12xx_cmd_role_start_sta()
607 wl12xx_free_link(wl, wlvif, &wlvif->sta.hlid); in wl12xx_cmd_role_stop_sta()
714 wl12xx_free_link(wl, wlvif, &wlvif->ap.bcast_hlid); in wl12xx_cmd_role_start_ap()
796 wlvif->basic_rate_set, wlvif->rate_set); in wl12xx_cmd_role_start_ibss()
[all …]
H A Dinit.c145 struct wl12xx_vif *wlvif) in wl1271_ap_init_deauth_template() argument
248 struct wl12xx_vif *wlvif) in wl12xx_init_phy_vif_config() argument
268 struct wl12xx_vif *wlvif) in wl1271_init_sta_beacon_filter() argument
311 struct wl12xx_vif *wlvif) in wl1271_init_beacon_broadcast() argument
430 wlvif->basic_rate_set); in wl1271_init_ap_rates()
432 if (wlvif->basic_rate_set == 0) in wl1271_init_ap_rates()
474 wlvif->ap.ucast_rate_idx[i]); in wl1271_init_ap_rates()
485 wlvif->ba_allowed = true; in wl1271_set_ba_policies()
491 wlvif->ba_support = false; in wl1271_set_ba_policies()
495 wlvif->ba_support = true; in wl1271_set_ba_policies()
[all …]
H A Devent.c111 struct wl12xx_vif *wlvif; in wlcore_event_rssi_trigger() local
139 u8 hlid = wlvif->sta.hlid; in wl1271_stop_ba_event()
162 struct wl12xx_vif *wlvif; in wlcore_event_soft_gemini_sense() local
192 struct wl12xx_vif *wlvif; in wlcore_event_ba_rx_constraint() local
202 wlvif->ba_allowed = !!test_bit(wlvif->role_id, in wlcore_event_ba_rx_constraint()
204 if (!wlvif->ba_allowed) in wlcore_event_ba_rx_constraint()
214 struct wl12xx_vif *wlvif; in wlcore_event_channel_switch() local
226 &wlvif->flags)) in wlcore_event_channel_switch()
257 struct wl12xx_vif *wlvif; in wlcore_disconnect_sta() local
316 struct wl12xx_vif *wlvif; in wlcore_event_beacon_loss() local
[all …]
H A Dtx.c280 if (is_dummy || !wlvif || wlvif->bss_type != BSS_TYPE_AP_BSS) in wl1271_tx_fill_hdr()
299 } else if (wlvif) { in wl1271_tx_fill_hdr()
397 if (WARN_ON(is_wep && wlvif && wlvif->default_key != idx)) { in wl1271_prepare_tx_frame()
414 if (!is_dummy && wlvif && wlvif->bss_type == BSS_TYPE_AP_BSS) { in wl1271_prepare_tx_frame()
518 if (lnk->wlvif) { in wlcore_lnk_dequeue()
595 if (wlvif) { in wl1271_skb_dequeue()
650 if (lnk->wlvif) in wl1271_skb_dequeue()
690 if (wlvif) in wl1271_skb_queue_head()
767 wlvif = NULL; in wlcore_tx_work_locked()
1045 if (lnk->wlvif) in wl1271_tx_reset_link_queues()
[all …]
H A Dps.c27 ret = wl1271_acx_wake_up_conditions(wl, wlvif, in wl1271_ps_set_mode()
39 set_bit(WLVIF_FLAG_IN_PS, &wlvif->flags); in wl1271_ps_set_mode()
45 if ((wlvif->band == NL80211_BAND_2GHZ) && in wl1271_ps_set_mode()
47 ret = wl1271_acx_bet_enable(wl, wlvif, true); in wl1271_ps_set_mode()
56 if ((wlvif->band == NL80211_BAND_2GHZ) && in wl1271_ps_set_mode()
58 ret = wl1271_acx_bet_enable(wl, wlvif, false); in wl1271_ps_set_mode()
63 ret = wl1271_cmd_ps_mode(wl, wlvif, mode, 0); in wl1271_ps_set_mode()
67 clear_bit(WLVIF_FLAG_IN_PS, &wlvif->flags); in wl1271_ps_set_mode()
105 if (lnk->wlvif) in wl1271_ps_filter_frames()
106 lnk->wlvif->tx_queue_count[i] -= filtered[i]; in wl1271_ps_filter_frames()
[all …]
H A Dwlcore_i.h275 struct wl12xx_vif *wlvif; member
510 #define wl12xx_for_each_wlvif(wl, wlvif) \ argument
511 list_for_each_entry(wlvif, &wl->wlvif_list, list)
513 #define wl12xx_for_each_wlvif_continue(wl, wlvif) \ argument
514 list_for_each_entry_continue(wlvif, &wl->wlvif_list, list)
517 wl12xx_for_each_wlvif(wl, wlvif) \
518 if (wlvif->bss_type == _bss_type)
520 #define wl12xx_for_each_wlvif_sta(wl, wlvif) \ argument
521 wl12xx_for_each_wlvif_bss_type(wl, wlvif, BSS_TYPE_STA_BSS)
523 #define wl12xx_for_each_wlvif_ap(wl, wlvif) \ argument
[all …]
H A Dacx.c37 wake_up->role_id = wlvif->role_id; in wl1271_acx_wake_up_conditions()
99 acx->role_id = wlvif->role_id; in wl1271_acx_tx_power()
198 slot->role_id = wlvif->role_id; in wl1271_acx_slot()
228 acx->role_id = wlvif->role_id; in wl1271_acx_group_address_tbl()
297 rts->role_id = wlvif->role_id; in wl1271_acx_rts_threshold()
460 acx->role_id = wlvif->role_id; in wl1271_acx_conn_monit_params()
576 bb->role_id = wlvif->role_id; in wl1271_acx_bcn_dtim_options()
663 acx->role_id = wlvif->role_id; in wl1271_acx_set_preamble()
691 acx->role_id = wlvif->role_id; in wl1271_acx_cts_protect()
738 wlvif->basic_rate, wlvif->rate_set); in wl1271_acx_sta_rate_policies()
[all …]
H A Dcmd.h24 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);
28 int wl12xx_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif,
30 int wl12xx_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif);
38 int wl1271_cmd_ps_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif,
54 struct wl12xx_vif *wlvif,
59 struct wl12xx_vif *wlvif);
74 int wl12xx_cmd_add_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif,
87 struct wl12xx_vif *wlvif,
[all …]
H A Dtx.h201 int wlcore_tx_get_mac80211_queue(struct wl12xx_vif *wlvif, int queue) in wlcore_tx_get_mac80211_queue() argument
203 int mac_queue = wlvif->hw_queue_base; in wlcore_tx_get_mac80211_queue()
232 void wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif);
239 u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif,
248 void wlcore_stop_queue_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif,
250 void wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue,
252 void wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue,
259 struct wl12xx_vif *wlvif, u8 queue,
263 struct wl12xx_vif *wlvif,
266 bool wlcore_is_queue_stopped_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif,
[all …]
H A Dacx.h1030 struct wl12xx_vif *wlvif,
1033 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1039 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1044 struct wl12xx_vif *wlvif);
1051 struct wl12xx_vif *wlvif);
1068 int wl1271_acx_ac_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1070 int wl1271_acx_tid_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1092 struct wl12xx_vif *wlvif);
1097 struct wl12xx_vif *wlvif,
1100 struct wl12xx_vif *wlvif);
[all …]
H A Dhw_ops.h87 wlcore_hw_init_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_hw_init_vif() argument
90 return wl->ops->init_vif(wl, wlvif); in wlcore_hw_init_vif()
105 wlcore_hw_sta_get_ap_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_hw_sta_get_ap_rate_mask() argument
110 return wl->ops->sta_get_ap_rate_mask(wl, wlvif); in wlcore_hw_sta_get_ap_rate_mask()
143 struct wl12xx_vif *wlvif) in wlcore_hw_ap_get_mimo_wide_rate_mask() argument
146 return wl->ops->ap_get_mimo_wide_rate_mask(wl, wlvif); in wlcore_hw_ap_get_mimo_wide_rate_mask()
200 wlcore_hw_sta_rc_update(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_hw_sta_rc_update() argument
203 wl->ops->sta_rc_update(wl, wlvif); in wlcore_hw_sta_rc_update()
307 return wl->ops->set_cac(wl, wlvif, start); in wlcore_hw_set_cac()
311 wlcore_hw_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wlcore_hw_dfs_master_restart() argument
[all …]
H A Dscan.c24 struct wl12xx_vif *wlvif; in wl1271_scan_complete_work() local
43 wlvif = wl->scan_wlvif; in wl1271_scan_complete_work()
62 wl1271_cmd_build_ap_probe_req(wl, wlvif, wlvif->probereq); in wl1271_scan_complete_work()
85 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); in wlcore_started_vifs_iter() local
94 switch (wlvif->bss_type) { in wlcore_started_vifs_iter()
101 if (wlvif->wl->active_sta_count > 0) in wlcore_started_vifs_iter()
334 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); in wlcore_scan() local
354 wl->scan_wlvif = wlvif; in wlcore_scan()
363 wl->ops->scan_start(wl, wlvif, req); in wlcore_scan()
370 struct wl12xx_vif *wlvif, in wlcore_scan_sched_scan_ssid_list() argument
[all …]
H A Ddebugfs.c255 struct wl12xx_vif *wlvif; in dynamic_ps_timeout_write() local
320 struct wl12xx_vif *wlvif; in forced_ps_write() local
424 struct wl12xx_vif *wlvif; in driver_state_read() local
456 wl12xx_for_each_wlvif_ap(wl, wlvif) in driver_state_read()
520 struct wl12xx_vif *wlvif; in vifs_state_read() local
534 #x " = " fmt "\n", wlvif->x)) in vifs_state_read()
546 memcpy(tmp_buf, wlvif->x, \ in vifs_state_read()
552 wl12xx_for_each_wlvif(wl, wlvif) { in vifs_state_read()
805 struct wl12xx_vif *wlvif; in rx_streaming_interval_write() local
861 struct wl12xx_vif *wlvif; in rx_streaming_always_write() local
[all …]
H A Dps.h16 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif,
18 void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
20 void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
H A Dwlcore.h64 int (*init_vif)(struct wl1271 *wl, struct wl12xx_vif *wlvif);
68 struct wl12xx_vif *wlvif);
78 struct wl12xx_vif *wlvif);
82 int (*scan_start)(struct wl1271 *wl, struct wl12xx_vif *wlvif,
84 int (*scan_stop)(struct wl1271 *wl, struct wl12xx_vif *wlvif);
85 int (*sched_scan_start)(struct wl1271 *wl, struct wl12xx_vif *wlvif,
88 void (*sched_scan_stop)(struct wl1271 *wl, struct wl12xx_vif *wlvif);
95 struct wl12xx_vif *wlvif,
98 void (*sta_rc_update)(struct wl1271 *wl, struct wl12xx_vif *wlvif);
115 int (*set_cac)(struct wl1271 *wl, struct wl12xx_vif *wlvif,
[all …]
H A Dscan.h21 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif);
24 struct wl12xx_vif *wlvif,
27 int wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif);
161 struct wl12xx_vif *wlvif,
H A Dinit.h22 int wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif);
24 int wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif);
/openbmc/linux/drivers/net/wireless/ti/wl12xx/
H A Dscan.c108 if (wlcore_is_p2p_mgmt(wlvif)) in wl1271_scan_send()
226 wl1271_scan_stm(wl, wlvif); in wl1271_scan_stm()
246 wl1271_scan_stm(wl, wlvif); in wl1271_scan_stm()
257 wl1271_scan_stm(wl, wlvif); in wl1271_scan_stm()
268 wl1271_scan_stm(wl, wlvif); in wl1271_scan_stm()
308 struct wl12xx_vif *wlvif, in wl1271_scan_sched_scan_config() argument
324 cfg->role_id = wlvif->role_id; in wl1271_scan_sched_scan_config()
369 wlvif->role_id, band, in wl1271_scan_sched_scan_config()
386 wlvif->role_id, band, in wl1271_scan_sched_scan_config()
491 wl1271_scan_stm(wl, wlvif); in wl12xx_scan_start()
[all …]
H A Dscan.h118 int wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
120 int wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif);
121 void wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif);
122 int wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
125 void wl12xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif);
/openbmc/linux/drivers/net/wireless/ti/wl18xx/
H A Dcmd.c15 struct wl12xx_vif *wlvif, in wl18xx_cmd_channel_switch() argument
31 cmd->role_id = wlvif->role_id; in wl18xx_cmd_channel_switch()
51 if (wlvif->bss_type == BSS_TYPE_STA_BSS) in wl18xx_cmd_channel_switch()
55 wlcore_hw_ap_get_mimo_wide_rate_mask(wl, wlvif); in wl18xx_cmd_channel_switch()
56 if (wlvif->p2p) in wl18xx_cmd_channel_switch()
59 cmd->channel_type = wlvif->channel_type; in wl18xx_cmd_channel_switch()
174 cmd->role_id = wlvif->role_id; in wl18xx_cmd_set_cac()
175 cmd->channel = wlvif->channel; in wl18xx_cmd_set_cac()
176 if (wlvif->band == NL80211_BAND_5GHZ) in wl18xx_cmd_set_cac()
225 wlvif->role_id); in wl18xx_cmd_dfs_master_restart()
[all …]
H A Dscan.c41 if (wlcore_is_p2p_mgmt(wlvif)) in wl18xx_scan_send()
42 cmd->role_id = wlvif->dev_role_id; in wl18xx_scan_send()
44 cmd->role_id = wlvif->role_id; in wl18xx_scan_send()
100 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl18xx_scan_send()
117 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl18xx_scan_send()
156 struct wl12xx_vif *wlvif, in wl18xx_scan_sched_scan_config() argument
178 cmd->role_id = wlvif->role_id; in wl18xx_scan_sched_scan_config()
243 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl18xx_scan_sched_scan_config()
260 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl18xx_scan_sched_scan_config()
310 stop->role_id = wlvif->role_id; in __wl18xx_scan_stop()
[all …]
H A 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);
H A Dcmd.h73 struct wl12xx_vif *wlvif,
79 int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start);
81 int wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif);
H A Devent.c208 struct wl12xx_vif *wlvif; in wl18xx_process_mailbox_events() local
215 wlvif = wl->links[link_id].wlvif; in wl18xx_process_mailbox_events()
216 vif = wl12xx_wlvif_to_vif(wlvif); in wl18xx_process_mailbox_events()
221 if (wlvif->bss_type != BSS_TYPE_AP_BSS) in wl18xx_process_mailbox_events()

12