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

12

/linux-master/drivers/net/wireless/ti/wlcore/
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 Devent.c111 struct wl12xx_vif *wlvif; local
119 wl12xx_for_each_wlvif_sta(wl, wlvif) {
120 if (metric <= wlvif->rssi_thold)
125 vif = wl12xx_wlvif_to_vif(wlvif);
126 if (event != wlvif->last_rssi_event)
129 wlvif->last_rssi_event = event;
134 static void wl1271_stop_ba_event(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
136 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
138 if (wlvif->bss_type != BSS_TYPE_AP_BSS) {
139 u8 hlid = wlvif
162 struct wl12xx_vif *wlvif; local
192 struct wl12xx_vif *wlvif; local
214 struct wl12xx_vif *wlvif; local
257 struct wl12xx_vif *wlvif; local
316 struct wl12xx_vif *wlvif; local
[all...]
H A Dps.c15 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument
27 ret = wl1271_acx_wake_up_conditions(wl, wlvif,
35 ret = wl1271_cmd_ps_mode(wl, wlvif, mode, timeout);
39 set_bit(WLVIF_FLAG_IN_PS, &wlvif->flags);
45 if ((wlvif->band == NL80211_BAND_2GHZ) &&
46 (wlvif->basic_rate < CONF_HW_BIT_RATE_9MBPS)) {
47 ret = wl1271_acx_bet_enable(wl, wlvif, true);
56 if ((wlvif->band == NL80211_BAND_2GHZ) &&
57 (wlvif->basic_rate < CONF_HW_BIT_RATE_9MBPS)) {
58 ret = wl1271_acx_bet_enable(wl, wlvif, fals
113 wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, bool clean_queues) argument
149 wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument
[all...]
H A Dcmd.c310 int wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) argument
322 __set_bit(link, wlvif->links_map);
333 wl->links[link].wlvif = wlvif;
336 * Take saved value for total freed packets from wlvif, in case this is
339 if (wlvif->bss_type != BSS_TYPE_AP_BSS)
340 wl->links[link].total_freed_pkts = wlvif->total_freed_pkts;
348 void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) argument
358 __clear_bit(*hlid, wlvif->links_map);
371 wl->links[*hlid].wlvif
418 wl12xx_cmd_role_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum nl80211_band band, int channel) argument
469 wl12xx_cmd_role_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
505 wl12xx_cmd_role_start_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
581 wl12xx_cmd_role_stop_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
616 wl12xx_cmd_role_start_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
726 wl12xx_cmd_role_stop_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
757 wl12xx_cmd_role_start_ibss(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
980 wl1271_cmd_ps_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ps_mode, u16 auto_ps_timeout) argument
1054 wl12xx_cmd_build_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
1088 wl12xx_cmd_build_klv_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
1113 wl1271_cmd_build_ps_poll(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 aid) argument
1133 wl12xx_cmd_build_probe_req(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id, u8 band, const u8 *ssid, size_t ssid_len, const u8 *ie0, size_t ie0_len, const u8 *ie1, size_t ie1_len, bool sched_scan) argument
1181 wl1271_cmd_build_ap_probe_req(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) argument
1213 wl1271_cmd_build_arp_rsp(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
1306 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
1359 wl1271_cmd_set_sta_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, const u8 *addr, u32 tx_seq_32, u16 tx_seq_16) argument
1428 wl1271_cmd_set_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, u16 tx_seq_16, bool is_pairwise) argument
1492 wl12xx_cmd_set_peer_state(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument
1526 wl12xx_cmd_add_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta, u8 hlid) argument
1592 wl12xx_cmd_remove_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument
1857 wl12xx_cmd_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id, enum nl80211_band band, u8 channel) argument
1931 wl12xx_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id, enum nl80211_band band, u8 channel) argument
1972 wl12xx_cmd_stop_channel_switch(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
2001 wl12xx_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum nl80211_band band, int channel) argument
2040 wl12xx_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
2073 wlcore_cmd_generic_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 feature, u8 enable, u8 value) argument
[all...]
H A Dinit.c145 struct wl12xx_vif *wlvif)
160 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set);
161 ret = wl1271_cmd_template_set(wl, wlvif->role_id,
173 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
193 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set);
194 ret = wl1271_cmd_template_set(wl, wlvif->role_id,
206 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
226 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set);
227 ret = wl1271_cmd_template_set(wl, wlvif->role_id,
248 struct wl12xx_vif *wlvif)
144 wl1271_ap_init_deauth_template(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
247 wl12xx_init_phy_vif_config(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
267 wl1271_init_sta_beacon_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
310 wl1271_init_beacon_broadcast(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
337 wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
361 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
373 wl1271_ap_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
391 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
423 wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
482 wl1271_set_ba_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
502 wl12xx_init_sta_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
534 wl12xx_init_ap_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
557 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
[all...]
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);
H A Dtx.c31 struct wl12xx_vif *wlvif, u8 id)
34 bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS);
38 wlvif->ap.bcast_hlid);
40 ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid);
76 struct wl12xx_vif *wlvif,
91 wl1271_acx_set_inconnection_sta(wl, wlvif, hdr->addr1);
98 wlcore_update_inconn_sta(wl, wlvif, NULL, true);
99 wlvif->pending_auth_reply_time = jiffies;
100 cancel_delayed_work(&wlvif->pending_auth_complete_work);
102 &wlvif
30 wl1271_set_default_wep_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 id) argument
75 wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) argument
106 wl1271_tx_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument
140 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) argument
162 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) argument
190 wl1271_tx_allocate(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 extra, u32 buf_offset, u8 hlid, bool is_gem) argument
250 wl1271_tx_fill_hdr(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 extra, struct ieee80211_tx_info *control, u8 hlid) argument
360 wl1271_prepare_tx_frame(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 buf_offset, u8 hlid) argument
468 struct wl12xx_vif *wlvif; local
547 wlcore_vif_dequeue_high_prio(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ac, u8 *hlid, u8 *low_prio_hlid) argument
585 struct wl12xx_vif *wlvif = wl->last_wlvif; local
672 wl1271_skb_queue_head(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u8 hlid) argument
704 struct wl12xx_vif *wlvif; local
750 struct wl12xx_vif *wlvif; local
901 struct wl12xx_vif *wlvif; local
1054 wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
1196 wlcore_stop_queue_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument
1211 wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument
1221 wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument
1283 wlcore_is_queue_stopped_by_reason(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument
1298 wlcore_is_queue_stopped_by_reason_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument
1308 wlcore_is_queue_stopped_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue) argument
[all...]
H A Dmain.c44 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) argument
50 if (WARN_ON(wlvif->bss_type != BSS_TYPE_STA_BSS))
53 if (!test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags))
56 if (test_and_set_bit(WLVIF_FLAG_STA_STATE_SENT, &wlvif->flags))
59 ret = wl12xx_cmd_set_peer_state(wl, wlvif, wlvif->sta.hlid);
80 static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument
86 ret = wl1271_acx_ps_rx_streaming(wl, wlvif, enable);
91 set_bit(WLVIF_FLAG_RX_STREAMING_STARTED, &wlvif
102 wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
129 struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif, local
166 struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif, local
192 struct wl12xx_vif *wlvif = from_timer(wlvif, t, rx_streaming_timer); local
212 struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif, local
329 wl12xx_irq_ps_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, u8 tx_pkts) argument
358 wl12xx_irq_update_links_status(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct wl_fw_status *status) argument
382 struct wl12xx_vif *wlvif; local
850 wlcore_save_freed_pkts(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, struct ieee80211_sta *sta) argument
870 wlcore_save_freed_pkts_addr(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, const u8 *addr) argument
921 struct wl12xx_vif *wlvif; local
1206 struct wl12xx_vif *wlvif = NULL; local
1613 wl1271_configure_suspend_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) argument
1643 wl1271_configure_suspend_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) argument
1665 wl1271_configure_suspend(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) argument
1676 wl1271_configure_resume(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
1715 struct wl12xx_vif *wlvif; local
1794 struct wl12xx_vif *wlvif; local
2027 struct wl12xx_vif *wlvif; local
2065 struct wl12xx_vif *wlvif; local
2092 struct wl12xx_vif *wlvif; local
2172 wl12xx_get_role_type(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
2202 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
2365 wl12xx_dev_role_started(struct wl12xx_vif *wlvif) argument
2415 struct wl12xx_vif *wlvif; local
2447 wlcore_allocate_hw_queue_base(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
2507 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
2629 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
2780 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
2830 wlcore_join(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
2858 wl1271_ssid_set(struct wl12xx_vif *wlvif, struct sk_buff *skb, int offset) argument
2881 wlcore_set_ssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
2903 wlcore_set_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_bss_conf *bss_conf, u32 sta_rate_set) argument
2990 wlcore_unset_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
3045 wl1271_set_band_rate(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
3051 wl1271_sta_handle_idle(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool idle) argument
3070 wl12xx_config_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_conf *conf, u32 changed) argument
3092 struct wl12xx_vif *wlvif; local
3178 struct wl12xx_vif *wlvif; local
3246 wl1271_record_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 id, u8 key_type, u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, u16 tx_seq_16, bool is_pairwise) argument
3293 wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
3303 wl1271_ap_init_hwenc(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
3343 wl1271_set_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, u32 tx_seq_32, u16 tx_seq_16, struct ieee80211_sta *sta, bool is_pairwise) argument
3471 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
3581 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
3703 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
3756 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
3790 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
3846 struct wl12xx_vif *wlvif; local
3908 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
3939 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
3995 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
4037 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
4124 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
4165 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
4258 wlcore_set_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_vif *vif, u32 sta_rate_set) argument
4309 wlcore_clear_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
4337 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
4586 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
4660 struct wl12xx_vif *wlvif; local
4708 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
4759 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
4794 __wlcore_switch_vif_chan(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_chanctx_conf *new_ctx) argument
4851 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vifs[i].vif); local
4872 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
4926 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
4967 wl1271_allocate_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) argument
4996 wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument
5022 wl12xx_sta_add(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) argument
5046 wl12xx_sta_remove(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) argument
5068 wlcore_roc_if_possible(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
5087 wlcore_update_inconn_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct wl1271_station *wl_sta, bool in_conn) argument
5127 wl12xx_update_sta_state(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state) argument
5241 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
5274 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
5398 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
5443 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
5491 wlcore_get_beacon_ie(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 eid) argument
5507 wlcore_get_csa_count(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *csa_count) argument
5528 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
5583 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
5626 struct wl12xx_vif *wlvif; local
5713 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
5733 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
6621 struct wl12xx_vif *wlvif; local
[all...]
H A Dwlcore_i.h274 /* The wlvif this link belongs to. Might be null for global links */
275 struct wl12xx_vif *wlvif; member in struct:wl1271_link
500 struct ieee80211_vif *wl12xx_wlvif_to_vif(struct wl12xx_vif *wlvif) argument
502 return container_of((void *)wlvif, struct ieee80211_vif, drv_priv);
505 static inline bool wlcore_is_p2p_mgmt(struct wl12xx_vif *wlvif) argument
507 return wl12xx_wlvif_to_vif(wlvif)->type == NL80211_IFTYPE_P2P_DEVICE;
510 #define wl12xx_for_each_wlvif(wl, wlvif) \
511 list_for_each_entry(wlvif, &wl->wlvif_list, list)
513 #define wl12xx_for_each_wlvif_continue(wl, wlvif) \
514 list_for_each_entry_continue(wlvif,
[all...]
H A Dhw_ops.h87 wlcore_hw_init_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
90 return wl->ops->init_vif(wl, wlvif);
105 wlcore_hw_sta_get_ap_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
110 return wl->ops->sta_get_ap_rate_mask(wl, wlvif);
143 struct wl12xx_vif *wlvif)
146 return wl->ops->ap_get_mimo_wide_rate_mask(wl, wlvif);
200 wlcore_hw_sta_rc_update(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
203 wl->ops->sta_rc_update(wl, wlvif);
302 wlcore_hw_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start) argument
307 return wl->ops->set_cac(wl, wlvif, star
142 wlcore_hw_ap_get_mimo_wide_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
311 wlcore_hw_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
[all...]
H A Dtx.h201 int wlcore_tx_get_mac80211_queue(struct wl12xx_vif *wlvif, int queue) argument
203 int mac_queue = wlvif->hw_queue_base;
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 Dcmd.h23 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);
38 int wl1271_cmd_ps_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif,
45 int wl12xx_cmd_build_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif);
46 int wl1271_cmd_build_ps_poll(struct wl1271 *wl, struct wl12xx_vif *wlvif,
[all...]
H A Dacx.c22 int wl1271_acx_wake_up_conditions(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument
37 wake_up->role_id = wlvif->role_id;
82 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument
99 acx->role_id = wlvif->role_id;
113 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
127 feature->role_id = wlvif->role_id;
184 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument
198 slot->role_id = wlvif->role_id;
213 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument
228 acx->role_id = wlvif
245 wl1271_acx_service_period_timeout(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
276 wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif, u32 rts_threshold) argument
340 wl1271_acx_beacon_filter_opt(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable_filter) argument
380 wl1271_acx_beacon_filter_table(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
438 wl1271_acx_conn_monit_params(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) argument
563 wl1271_acx_bcn_dtim_options(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
593 wl1271_acx_aid(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 aid) argument
649 wl1271_acx_set_preamble(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum acx_preamble_type preamble) argument
677 wl1271_acx_cts_protect(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum acx_ctsprotect_type ctsprotect) argument
722 wl1271_acx_sta_rate_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
825 wl1271_acx_ac_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ac, u8 cw_min, u16 cw_max, u8 aifsn, u16 txop) argument
859 wl1271_acx_tid_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue_id, u8 channel_type, u8 tsid, u8 ps_scheme, u8 ack_policy, u32 apsd_conf0, u32 apsd_conf1) argument
1058 wl1271_acx_bet_enable(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) argument
1090 wl1271_acx_arp_ip_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 enable, __be32 address) argument
1152 wl1271_acx_keep_alive_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) argument
1180 wl1271_acx_keep_alive_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 index, u8 tpl_valid) argument
1212 wl1271_acx_rssi_snr_trigger(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable, s16 thold, u8 hyst) argument
1253 wl1271_acx_rssi_snr_avg_weights(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
1334 wl1271_acx_set_ht_information(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 ht_operation_mode) argument
1371 wl12xx_acx_set_ba_initiator_policy(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
1448 wl12xx_acx_tsf_info(struct wl1271 *wl, struct wl12xx_vif *wlvif, u64 *mactime) argument
1477 wl1271_acx_ps_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) argument
1526 wl1271_acx_ap_max_tx_retry(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
1551 wl12xx_acx_config_ps(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
1581 wl1271_acx_set_inconnection_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *addr) argument
1730 wlcore_acx_average_rssi(struct wl1271 *wl, struct wl12xx_vif *wlvif, s8 *avg_rssi) argument
[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 Dscan.c24 struct wl12xx_vif *wlvif; local
43 wlvif = wl->scan_wlvif;
60 if (test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags)) {
62 wl1271_cmd_build_ap_probe_req(wl, wlvif, wlvif->probereq);
85 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local
94 switch (wlvif->bss_type) {
96 if (test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags))
101 if (wlvif->wl->active_sta_count > 0)
334 struct wl12xx_vif *wlvif local
369 wlcore_scan_sched_scan_ssid_list(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req) argument
[all...]
H A Dacx.h1030 struct wl12xx_vif *wlvif,
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);
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,
1044 struct wl12xx_vif *wlvif);
1045 int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1048 int wl1271_acx_beacon_filter_opt(struct wl1271 *wl, struct wl12xx_vif *wlvif,
1051 struct wl12xx_vif *wlvif);
1052 int wl1271_acx_conn_monit_params(struct wl1271 *wl, struct wl12xx_vif *wlvif,
[all...]
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 Ddebugfs.c255 struct wl12xx_vif *wlvif; local
285 wl12xx_for_each_wlvif_sta(wl, wlvif) {
286 if (test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags))
287 wl1271_ps_set_mode(wl, wlvif, STATION_AUTO_PS_MODE);
320 struct wl12xx_vif *wlvif; local
355 wl12xx_for_each_wlvif_sta(wl, wlvif) {
356 if (test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags))
357 wl1271_ps_set_mode(wl, wlvif, ps_mode);
424 struct wl12xx_vif *wlvif; local
448 wl12xx_for_each_wlvif_sta(wl, wlvif) {
520 struct wl12xx_vif *wlvif; local
805 struct wl12xx_vif *wlvif; local
861 struct wl12xx_vif *wlvif; local
917 struct wl12xx_vif *wlvif; local
[all...]
/linux-master/drivers/net/wireless/ti/wl18xx/
H A Dscan.c27 static int wl18xx_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument
41 if (wlcore_is_p2p_mgmt(wlvif))
42 cmd->role_id = wlvif->dev_role_id;
44 cmd->role_id = wlvif->role_id;
100 ret = wl12xx_cmd_build_probe_req(wl, wlvif,
117 ret = wl12xx_cmd_build_probe_req(wl, wlvif,
146 void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
156 struct wl12xx_vif *wlvif,
168 filter_type = wlcore_scan_sched_scan_ssid_list(wl, wlvif, req);
178 cmd->role_id = wlvif
155 wl18xx_scan_sched_scan_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument
289 wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument
296 __wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 scan_type) argument
324 wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
328 wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_scan_request *req) argument
334 wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
[all...]
H A Dcmd.c15 struct wl12xx_vif *wlvif,
31 cmd->role_id = wlvif->role_id;
51 if (wlvif->bss_type == BSS_TYPE_STA_BSS)
52 supported_rates |= wlcore_hw_sta_get_ap_rate_mask(wl, wlvif);
55 wlcore_hw_ap_get_mimo_wide_rate_mask(wl, wlvif);
56 if (wlvif->p2p)
59 cmd->channel_type = wlvif->channel_type;
162 int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start) argument
168 wlvif->channel, start ? "start" : "stop");
174 cmd->role_id = wlvif
14 wl18xx_cmd_channel_switch(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_channel_switch *ch_switch) argument
219 wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
[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; local
215 wlvif = wl->links[link_id].wlvif;
216 vif = wl12xx_wlvif_to_vif(wlvif);
221 if (wlvif->bss_type != BSS_TYPE_AP_BSS)
/linux-master/drivers/net/wireless/ti/wl12xx/
H A Dscan.c80 static int wl1271_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument
84 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
108 if (wlcore_is_p2p_mgmt(wlvif))
109 cmd->params.role_id = wlvif->dev_role_id;
111 cmd->params.role_id = wlvif->role_id;
145 ret = wl12xx_cmd_build_probe_req(wl, wlvif,
177 int wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
204 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
216 mask = wlvif->bitrate_masks[band];
223 ret = wl1271_scan_send(wl, wlvif, ban
307 wl1271_scan_sched_scan_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument
414 wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
447 wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument
460 wl12xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
488 wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_scan_request *req) argument
495 wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
[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);

Completed in 216 milliseconds

12