Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
H A Dinit.c145 struct wl12xx_vif *wlvif) in wl1271_ap_init_deauth_template()
160 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); in wl1271_ap_init_deauth_template()
161 ret = wl1271_cmd_template_set(wl, wlvif->role_id, in wl1271_ap_init_deauth_template()
173 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); in wl1271_ap_init_null_template() local
193 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); in wl1271_ap_init_null_template()
194 ret = wl1271_cmd_template_set(wl, wlvif->role_id, in wl1271_ap_init_null_template()
206 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); in wl1271_ap_init_qos_null_template() local
226 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); in wl1271_ap_init_qos_null_template()
227 ret = wl1271_cmd_template_set(wl, wlvif->role_id, in wl1271_ap_init_qos_null_template()
248 struct wl12xx_vif *wlvif) in wl12xx_init_phy_vif_config()
144 wl1271_ap_init_deauth_template(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_ap_init_deauth_template() argument
247 wl12xx_init_phy_vif_config(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_init_phy_vif_config() argument
267 wl1271_init_sta_beacon_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_init_sta_beacon_filter() argument
310 wl1271_init_beacon_broadcast(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_init_beacon_broadcast() argument
337 wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_sta_hw_init() argument
361 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_sta_hw_init_post_mem() local
373 wl1271_ap_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_ap_hw_init() argument
391 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_ap_init_templates() local
423 wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_init_ap_rates() argument
482 wl1271_set_ba_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_set_ba_policies() argument
502 wl12xx_init_sta_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_init_sta_role() argument
534 wl12xx_init_ap_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_init_ap_role() argument
557 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_init_vif_specific() local
[all...]
H A Dcmd.c312 int wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_allocate_link() argument
324 __set_bit(link, wlvif->links_map); in wl12xx_allocate_link()
335 wl->links[link].wlvif = wlvif; in wl12xx_allocate_link()
338 * Take saved value for total freed packets from wlvif, in case this is in wl12xx_allocate_link()
341 if (wlvif->bss_type != BSS_TYPE_AP_BSS) in wl12xx_allocate_link()
342 wl->links[link].total_freed_pkts = wlvif->total_freed_pkts; in wl12xx_allocate_link()
350 void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_free_link() argument
360 __clear_bit(*hlid, wlvif->links_map); in wl12xx_free_link()
373 wl->links[*hlid].wlvif in wl12xx_free_link()
420 wl12xx_cmd_role_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum nl80211_band band, int channel) wl12xx_cmd_role_start_dev() argument
471 wl12xx_cmd_role_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_role_stop_dev() argument
507 wl12xx_cmd_role_start_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_role_start_sta() argument
583 wl12xx_cmd_role_stop_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_role_stop_sta() argument
618 wl12xx_cmd_role_start_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_role_start_ap() argument
728 wl12xx_cmd_role_stop_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_role_stop_ap() argument
759 wl12xx_cmd_role_start_ibss(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_role_start_ibss() argument
982 wl1271_cmd_ps_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ps_mode, u16 auto_ps_timeout) wl1271_cmd_ps_mode() argument
1056 wl12xx_cmd_build_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_build_null_data() argument
1090 wl12xx_cmd_build_klv_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_build_klv_null_data() argument
1115 wl1271_cmd_build_ps_poll(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 aid) wl1271_cmd_build_ps_poll() argument
1135 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) wl12xx_cmd_build_probe_req() argument
1183 wl1271_cmd_build_ap_probe_req(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) wl1271_cmd_build_ap_probe_req() argument
1215 wl1271_cmd_build_arp_rsp(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_cmd_build_arp_rsp() argument
1308 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_build_qos_null_data() local
1361 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) wl1271_cmd_set_sta_key() argument
1430 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) wl1271_cmd_set_ap_key() argument
1494 wl12xx_cmd_set_peer_state(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl12xx_cmd_set_peer_state() argument
1528 wl12xx_cmd_add_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta, u8 hlid) wl12xx_cmd_add_peer() argument
1594 wl12xx_cmd_remove_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl12xx_cmd_remove_peer() argument
1859 wl12xx_cmd_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id, enum nl80211_band band, u8 channel) wl12xx_cmd_roc() argument
1933 wl12xx_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id, enum nl80211_band band, u8 channel) wl12xx_roc() argument
1974 wl12xx_cmd_stop_channel_switch(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_stop_channel_switch() argument
2003 wl12xx_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum nl80211_band band, int channel) wl12xx_start_dev() argument
2042 wl12xx_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_stop_dev() argument
2075 wlcore_cmd_generic_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 feature, u8 enable, u8 value) wlcore_cmd_generic_cfg() argument
[all...]
H A Devent.c102 struct wl12xx_vif *wlvif; in wlcore_event_rssi_trigger() local
110 wl12xx_for_each_wlvif_sta(wl, wlvif) { in wlcore_event_rssi_trigger()
111 if (metric <= wlvif->rssi_thold) in wlcore_event_rssi_trigger()
116 vif = wl12xx_wlvif_to_vif(wlvif); in wlcore_event_rssi_trigger()
117 if (event != wlvif->last_rssi_event) in wlcore_event_rssi_trigger()
120 wlvif->last_rssi_event = event; in wlcore_event_rssi_trigger()
125 static void wl1271_stop_ba_event(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_stop_ba_event() argument
127 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl1271_stop_ba_event()
129 if (wlvif->bss_type != BSS_TYPE_AP_BSS) { in wl1271_stop_ba_event()
130 u8 hlid = wlvif in wl1271_stop_ba_event()
153 struct wl12xx_vif *wlvif; wlcore_event_soft_gemini_sense() local
183 struct wl12xx_vif *wlvif; wlcore_event_ba_rx_constraint() local
205 struct wl12xx_vif *wlvif; wlcore_event_channel_switch() local
248 struct wl12xx_vif *wlvif; wlcore_disconnect_sta() local
307 struct wl12xx_vif *wlvif; wlcore_event_beacon_loss() local
[all...]
H A Dtx.c31 struct wl12xx_vif *wlvif, u8 id) in wl1271_set_default_wep_key()
34 bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS); in wl1271_set_default_wep_key()
38 wlvif->ap.bcast_hlid); in wl1271_set_default_wep_key()
40 ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid); in wl1271_set_default_wep_key()
76 struct wl12xx_vif *wlvif, in wl1271_tx_ap_update_inconnection_sta()
91 wl1271_acx_set_inconnection_sta(wl, wlvif, hdr->addr1); in wl1271_tx_ap_update_inconnection_sta()
98 wlcore_update_inconn_sta(wl, wlvif, NULL, true); in wl1271_tx_ap_update_inconnection_sta()
99 wlvif->pending_auth_reply_time = jiffies; in wl1271_tx_ap_update_inconnection_sta()
100 cancel_delayed_work(&wlvif->pending_auth_complete_work); in wl1271_tx_ap_update_inconnection_sta()
102 &wlvif in wl1271_tx_ap_update_inconnection_sta()
30 wl1271_set_default_wep_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 id) wl1271_set_default_wep_key() argument
75 wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) wl1271_tx_ap_update_inconnection_sta() argument
106 wl1271_tx_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl1271_tx_regulate_link() argument
140 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) wl12xx_tx_get_hlid_ap() argument
162 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) wl12xx_tx_get_hlid() 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) wl1271_tx_allocate() 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) wl1271_tx_fill_hdr() argument
360 wl1271_prepare_tx_frame(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 buf_offset, u8 hlid) wl1271_prepare_tx_frame() argument
468 struct wl12xx_vif *wlvif; wl1271_handle_tx_low_watermark() local
547 wlcore_vif_dequeue_high_prio(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ac, u8 *hlid, u8 *low_prio_hlid) wlcore_vif_dequeue_high_prio() argument
585 struct wl12xx_vif *wlvif = wl->last_wlvif; wl1271_skb_dequeue() local
672 wl1271_skb_queue_head(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u8 hlid) wl1271_skb_queue_head() argument
704 struct wl12xx_vif *wlvif; wl12xx_rearm_rx_streaming() local
750 struct wl12xx_vif *wlvif; wlcore_tx_work_locked() local
903 struct wl12xx_vif *wlvif; wl1271_tx_complete_packet() local
1056 wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_tx_reset_wlvif() argument
1198 wlcore_stop_queue_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_stop_queue_locked() argument
1213 wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_stop_queue() argument
1223 wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_wake_queue() argument
1285 wlcore_is_queue_stopped_by_reason(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_is_queue_stopped_by_reason() argument
1300 wlcore_is_queue_stopped_by_reason_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_is_queue_stopped_by_reason_locked() argument
1310 wlcore_is_queue_stopped_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue) wlcore_is_queue_stopped_locked() 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) in wl12xx_set_authorized() argument
50 if (WARN_ON(wlvif->bss_type != BSS_TYPE_STA_BSS)) in wl12xx_set_authorized()
53 if (!test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags)) in wl12xx_set_authorized()
56 if (test_and_set_bit(WLVIF_FLAG_STA_STATE_SENT, &wlvif->flags)) in wl12xx_set_authorized()
59 ret = wl12xx_cmd_set_peer_state(wl, wlvif, wlvif->sta.hlid); in wl12xx_set_authorized()
80 static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_set_rx_streaming() argument
86 ret = wl1271_acx_ps_rx_streaming(wl, wlvif, enable); in wl1271_set_rx_streaming()
91 set_bit(WLVIF_FLAG_RX_STREAMING_STARTED, &wlvif in wl1271_set_rx_streaming()
102 wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_recalc_rx_streaming() argument
129 struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif, wl1271_rx_streaming_enable_work() local
168 struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif, wl1271_rx_streaming_disable_work() local
196 struct wl12xx_vif *wlvif = from_timer(wlvif, t, rx_streaming_timer); wl1271_rx_streaming_timer() local
216 struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif, wlcore_rc_update_work() local
335 wl12xx_irq_ps_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, u8 tx_pkts) wl12xx_irq_ps_regulate_link() argument
364 wl12xx_irq_update_links_status(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct wl_fw_status *status) wl12xx_irq_update_links_status() argument
388 struct wl12xx_vif *wlvif; wlcore_fw_status() local
860 wlcore_save_freed_pkts(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, struct ieee80211_sta *sta) wlcore_save_freed_pkts() argument
880 wlcore_save_freed_pkts_addr(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, const u8 *addr) wlcore_save_freed_pkts_addr() argument
931 struct wl12xx_vif *wlvif; wl1271_recovery_work() local
1218 struct wl12xx_vif *wlvif = NULL; wl1271_op_tx() local
1625 wl1271_configure_suspend_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) wl1271_configure_suspend_sta() argument
1655 wl1271_configure_suspend_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) wl1271_configure_suspend_ap() argument
1677 wl1271_configure_suspend(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) wl1271_configure_suspend() argument
1688 wl1271_configure_resume(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_configure_resume() argument
1727 struct wl12xx_vif *wlvif; wl1271_op_suspend() local
1807 struct wl12xx_vif *wlvif; wl1271_op_resume() local
2042 struct wl12xx_vif *wlvif; wlcore_channel_switch_work() local
2082 struct wl12xx_vif *wlvif; wlcore_connection_loss_work() local
2109 struct wl12xx_vif *wlvif; wlcore_pending_auth_complete_work() local
2191 wl12xx_get_role_type(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_get_role_type() argument
2221 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl12xx_init_vif_data() local
2384 wl12xx_dev_role_started(struct wl12xx_vif *wlvif) wl12xx_dev_role_started() argument
2434 struct wl12xx_vif *wlvif; wl12xx_force_active_psm() local
2466 wlcore_allocate_hw_queue_base(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_allocate_hw_queue_base() argument
2526 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_add_interface() local
2650 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); __wl1271_op_remove_interface() local
2803 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_remove_interface() local
2853 wlcore_join(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_join() argument
2881 wl1271_ssid_set(struct wl12xx_vif *wlvif, struct sk_buff *skb, int offset) wl1271_ssid_set() argument
2904 wlcore_set_ssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_set_ssid() argument
2926 wlcore_set_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_bss_conf *bss_conf, u32 sta_rate_set) wlcore_set_assoc() argument
3011 wlcore_unset_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_unset_assoc() argument
3066 wl1271_set_band_rate(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_set_band_rate() argument
3072 wl1271_sta_handle_idle(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool idle) wl1271_sta_handle_idle() argument
3091 wl12xx_config_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_conf *conf, u32 changed) wl12xx_config_vif() argument
3113 struct wl12xx_vif *wlvif; wl1271_op_config() local
3201 struct wl12xx_vif *wlvif; wl1271_op_configure_filter() local
3271 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) wl1271_record_ap_key() argument
3318 wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_free_ap_keys() argument
3328 wl1271_ap_init_hwenc(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_ap_init_hwenc() argument
3368 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) wl1271_set_key() argument
3498 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_set_key() local
3608 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_set_default_key_idx() local
3736 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_cancel_hw_scan() local
3791 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_sched_scan_start() local
3827 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_sched_scan_stop() local
3887 struct wl12xx_vif *wlvif; wl1271_op_set_rts_threshold() local
3951 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_ap_set_probe_resp_tmpl() local
3982 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_ap_set_probe_resp_tmpl_legacy() local
4039 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_bss_erp_info_changed() local
4081 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_set_beacon_template() local
4168 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_bss_beacon_info_changed() local
4209 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_bss_info_changed_ap() local
4302 wlcore_set_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_bss_conf *bss_conf, u32 sta_rate_set) wlcore_set_bssid() argument
4353 wlcore_clear_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_clear_bssid() argument
4381 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_bss_info_changed_sta() local
4630 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_bss_info_changed() local
4706 struct wl12xx_vif *wlvif; wlcore_op_change_chanctx() local
4755 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_op_assign_vif_chanctx() local
4807 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_op_unassign_vif_chanctx() local
4844 __wlcore_switch_vif_chan(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_chanctx_conf *new_ctx) __wlcore_switch_vif_chan() argument
4903 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vifs[i].vif); wlcore_op_switch_vif_chanctx() local
4923 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_conf_tx() local
4979 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_get_tsf() local
5022 wl1271_allocate_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) wl1271_allocate_sta() argument
5051 wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl1271_free_sta() argument
5077 wl12xx_sta_add(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) wl12xx_sta_add() argument
5101 wl12xx_sta_remove(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) wl12xx_sta_remove() argument
5123 wlcore_roc_if_possible(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_roc_if_possible() argument
5142 wlcore_update_inconn_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct wl1271_station *wl_sta, bool in_conn) wlcore_update_inconn_sta() argument
5182 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) wl12xx_update_sta_state() argument
5295 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl12xx_op_sta_state() local
5330 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_ampdu_action() local
5456 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl12xx_set_bitrate_mask() local
5503 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl12xx_op_channel_switch() local
5553 wlcore_get_beacon_ie(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 eid) wlcore_get_beacon_ie() argument
5569 wlcore_get_csa_count(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *csa_count) wlcore_get_csa_count() argument
5590 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_op_channel_switch_beacon() local
5647 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_op_remain_on_channel() local
5692 struct wl12xx_vif *wlvif; __wlcore_roc_completed() local
5781 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_op_sta_rc_update() local
5800 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_op_sta_statistics() local
6689 struct wl12xx_vif *wlvif; wlcore_runtime_suspend() local
[all...]
H A Dps.c15 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_ps_set_mode() argument
27 ret = wl1271_acx_wake_up_conditions(wl, wlvif, in wl1271_ps_set_mode()
35 ret = wl1271_cmd_ps_mode(wl, wlvif, mode, timeout); 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()
46 (wlvif->basic_rate < CONF_HW_BIT_RATE_9MBPS)) { 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()
57 (wlvif->basic_rate < CONF_HW_BIT_RATE_9MBPS)) { in wl1271_ps_set_mode()
58 ret = wl1271_acx_bet_enable(wl, wlvif, fals in wl1271_ps_set_mode()
113 wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, bool clean_queues) wl12xx_ps_link_start() argument
149 wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl12xx_ps_link_end() argument
[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 Dwlcore_i.h274 /* The wlvif this link belongs to. Might be null for global links */
275 struct wl12xx_vif *wlvif; member
500 struct ieee80211_vif *wl12xx_wlvif_to_vif(struct wl12xx_vif *wlvif) in wl12xx_wlvif_to_vif() argument
502 return container_of((void *)wlvif, struct ieee80211_vif, drv_priv); in wl12xx_wlvif_to_vif()
505 static inline bool wlcore_is_p2p_mgmt(struct wl12xx_vif *wlvif) in wlcore_is_p2p_mgmt() argument
507 return wl12xx_wlvif_to_vif(wlvif)->type == NL80211_IFTYPE_P2P_DEVICE; in wlcore_is_p2p_mgmt()
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 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.c22 int wl1271_acx_wake_up_conditions(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_wake_up_conditions() argument
37 wake_up->role_id = wlvif->role_id; in wl1271_acx_wake_up_conditions()
82 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_tx_power() argument
99 acx->role_id = wlvif->role_id; in wl1271_acx_tx_power()
113 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_acx_feature_cfg() argument
127 feature->role_id = wlvif->role_id; in wl1271_acx_feature_cfg()
184 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_slot() argument
198 slot->role_id = wlvif->role_id; in wl1271_acx_slot()
213 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_acx_group_address_tbl() argument
228 acx->role_id = wlvif in wl1271_acx_group_address_tbl()
245 wl1271_acx_service_period_timeout(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_acx_service_period_timeout() argument
276 wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif, u32 rts_threshold) wl1271_acx_rts_threshold() argument
340 wl1271_acx_beacon_filter_opt(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable_filter) wl1271_acx_beacon_filter_opt() argument
380 wl1271_acx_beacon_filter_table(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_acx_beacon_filter_table() argument
438 wl1271_acx_conn_monit_params(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) wl1271_acx_conn_monit_params() argument
563 wl1271_acx_bcn_dtim_options(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_acx_bcn_dtim_options() argument
593 wl1271_acx_aid(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 aid) wl1271_acx_aid() argument
649 wl1271_acx_set_preamble(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum acx_preamble_type preamble) wl1271_acx_set_preamble() argument
677 wl1271_acx_cts_protect(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum acx_ctsprotect_type ctsprotect) wl1271_acx_cts_protect() argument
722 wl1271_acx_sta_rate_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_acx_sta_rate_policies() 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) wl1271_acx_ac_cfg() 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) wl1271_acx_tid_cfg() argument
1058 wl1271_acx_bet_enable(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) wl1271_acx_bet_enable() argument
1090 wl1271_acx_arp_ip_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 enable, __be32 address) wl1271_acx_arp_ip_filter() argument
1152 wl1271_acx_keep_alive_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) wl1271_acx_keep_alive_mode() argument
1180 wl1271_acx_keep_alive_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 index, u8 tpl_valid) wl1271_acx_keep_alive_config() argument
1212 wl1271_acx_rssi_snr_trigger(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable, s16 thold, u8 hyst) wl1271_acx_rssi_snr_trigger() argument
1253 wl1271_acx_rssi_snr_avg_weights(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_acx_rssi_snr_avg_weights() argument
1334 wl1271_acx_set_ht_information(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 ht_operation_mode) wl1271_acx_set_ht_information() argument
1371 wl12xx_acx_set_ba_initiator_policy(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_acx_set_ba_initiator_policy() argument
1448 wl12xx_acx_tsf_info(struct wl1271 *wl, struct wl12xx_vif *wlvif, u64 *mactime) wl12xx_acx_tsf_info() argument
1477 wl1271_acx_ps_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) wl1271_acx_ps_rx_streaming() argument
1526 wl1271_acx_ap_max_tx_retry(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_acx_ap_max_tx_retry() argument
1551 wl12xx_acx_config_ps(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_acx_config_ps() argument
1581 wl1271_acx_set_inconnection_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *addr) wl1271_acx_set_inconnection_sta() argument
1730 wlcore_acx_average_rssi(struct wl1271 *wl, struct wl12xx_vif *wlvif, s8 *avg_rssi) wlcore_acx_average_rssi() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/
H A Dinit.c145 struct wl12xx_vif *wlvif) in wl1271_ap_init_deauth_template()
160 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); in wl1271_ap_init_deauth_template()
161 ret = wl1271_cmd_template_set(wl, wlvif->role_id, in wl1271_ap_init_deauth_template()
173 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); in wl1271_ap_init_null_template() local
193 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); in wl1271_ap_init_null_template()
194 ret = wl1271_cmd_template_set(wl, wlvif->role_id, in wl1271_ap_init_null_template()
206 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); in wl1271_ap_init_qos_null_template() local
226 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); in wl1271_ap_init_qos_null_template()
227 ret = wl1271_cmd_template_set(wl, wlvif->role_id, in wl1271_ap_init_qos_null_template()
248 struct wl12xx_vif *wlvif) in wl12xx_init_phy_vif_config()
144 wl1271_ap_init_deauth_template(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_ap_init_deauth_template() argument
247 wl12xx_init_phy_vif_config(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_init_phy_vif_config() argument
267 wl1271_init_sta_beacon_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_init_sta_beacon_filter() argument
310 wl1271_init_beacon_broadcast(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_init_beacon_broadcast() argument
337 wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_sta_hw_init() argument
361 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_sta_hw_init_post_mem() local
373 wl1271_ap_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_ap_hw_init() argument
391 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_ap_init_templates() local
423 wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_init_ap_rates() argument
482 wl1271_set_ba_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_set_ba_policies() argument
502 wl12xx_init_sta_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_init_sta_role() argument
534 wl12xx_init_ap_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_init_ap_role() argument
557 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_init_vif_specific() local
[all...]
H A Dcmd.c310 int wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_allocate_link() argument
322 __set_bit(link, wlvif->links_map); in wl12xx_allocate_link()
333 wl->links[link].wlvif = wlvif; in wl12xx_allocate_link()
336 * Take saved value for total freed packets from wlvif, in case this is in wl12xx_allocate_link()
339 if (wlvif->bss_type != BSS_TYPE_AP_BSS) in wl12xx_allocate_link()
340 wl->links[link].total_freed_pkts = wlvif->total_freed_pkts; in wl12xx_allocate_link()
348 void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_free_link() argument
358 __clear_bit(*hlid, wlvif->links_map); in wl12xx_free_link()
371 wl->links[*hlid].wlvif in wl12xx_free_link()
418 wl12xx_cmd_role_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum nl80211_band band, int channel) wl12xx_cmd_role_start_dev() argument
469 wl12xx_cmd_role_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_role_stop_dev() argument
505 wl12xx_cmd_role_start_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_role_start_sta() argument
581 wl12xx_cmd_role_stop_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_role_stop_sta() argument
616 wl12xx_cmd_role_start_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_role_start_ap() argument
726 wl12xx_cmd_role_stop_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_role_stop_ap() argument
757 wl12xx_cmd_role_start_ibss(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_role_start_ibss() argument
980 wl1271_cmd_ps_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ps_mode, u16 auto_ps_timeout) wl1271_cmd_ps_mode() argument
1054 wl12xx_cmd_build_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_build_null_data() argument
1088 wl12xx_cmd_build_klv_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_build_klv_null_data() argument
1113 wl1271_cmd_build_ps_poll(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 aid) wl1271_cmd_build_ps_poll() 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) wl12xx_cmd_build_probe_req() argument
1181 wl1271_cmd_build_ap_probe_req(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) wl1271_cmd_build_ap_probe_req() argument
1213 wl1271_cmd_build_arp_rsp(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_cmd_build_arp_rsp() argument
1306 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_build_qos_null_data() 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) wl1271_cmd_set_sta_key() 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) wl1271_cmd_set_ap_key() argument
1492 wl12xx_cmd_set_peer_state(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl12xx_cmd_set_peer_state() argument
1526 wl12xx_cmd_add_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta, u8 hlid) wl12xx_cmd_add_peer() argument
1592 wl12xx_cmd_remove_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl12xx_cmd_remove_peer() argument
1857 wl12xx_cmd_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id, enum nl80211_band band, u8 channel) wl12xx_cmd_roc() argument
1931 wl12xx_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id, enum nl80211_band band, u8 channel) wl12xx_roc() argument
1972 wl12xx_cmd_stop_channel_switch(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_cmd_stop_channel_switch() argument
2001 wl12xx_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum nl80211_band band, int channel) wl12xx_start_dev() argument
2040 wl12xx_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_stop_dev() argument
2073 wlcore_cmd_generic_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 feature, u8 enable, u8 value) wlcore_cmd_generic_cfg() argument
[all...]
H A Devent.c111 struct wl12xx_vif *wlvif; in wlcore_event_rssi_trigger() local
119 wl12xx_for_each_wlvif_sta(wl, wlvif) { in wlcore_event_rssi_trigger()
120 if (metric <= wlvif->rssi_thold) in wlcore_event_rssi_trigger()
125 vif = wl12xx_wlvif_to_vif(wlvif); in wlcore_event_rssi_trigger()
126 if (event != wlvif->last_rssi_event) in wlcore_event_rssi_trigger()
129 wlvif->last_rssi_event = event; in wlcore_event_rssi_trigger()
134 static void wl1271_stop_ba_event(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_stop_ba_event() argument
136 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl1271_stop_ba_event()
138 if (wlvif->bss_type != BSS_TYPE_AP_BSS) { in wl1271_stop_ba_event()
139 u8 hlid = wlvif in wl1271_stop_ba_event()
162 struct wl12xx_vif *wlvif; wlcore_event_soft_gemini_sense() local
192 struct wl12xx_vif *wlvif; wlcore_event_ba_rx_constraint() local
214 struct wl12xx_vif *wlvif; wlcore_event_channel_switch() local
257 struct wl12xx_vif *wlvif; wlcore_disconnect_sta() local
316 struct wl12xx_vif *wlvif; wlcore_event_beacon_loss() local
[all...]
H A Dtx.c31 struct wl12xx_vif *wlvif, u8 id) in wl1271_set_default_wep_key()
34 bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS); in wl1271_set_default_wep_key()
38 wlvif->ap.bcast_hlid); in wl1271_set_default_wep_key()
40 ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid); in wl1271_set_default_wep_key()
76 struct wl12xx_vif *wlvif, in wl1271_tx_ap_update_inconnection_sta()
91 wl1271_acx_set_inconnection_sta(wl, wlvif, hdr->addr1); in wl1271_tx_ap_update_inconnection_sta()
98 wlcore_update_inconn_sta(wl, wlvif, NULL, true); in wl1271_tx_ap_update_inconnection_sta()
99 wlvif->pending_auth_reply_time = jiffies; in wl1271_tx_ap_update_inconnection_sta()
100 cancel_delayed_work(&wlvif->pending_auth_complete_work); in wl1271_tx_ap_update_inconnection_sta()
102 &wlvif in wl1271_tx_ap_update_inconnection_sta()
30 wl1271_set_default_wep_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 id) wl1271_set_default_wep_key() argument
75 wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) wl1271_tx_ap_update_inconnection_sta() argument
106 wl1271_tx_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl1271_tx_regulate_link() argument
140 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) wl12xx_tx_get_hlid_ap() argument
162 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) wl12xx_tx_get_hlid() 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) wl1271_tx_allocate() 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) wl1271_tx_fill_hdr() argument
360 wl1271_prepare_tx_frame(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 buf_offset, u8 hlid) wl1271_prepare_tx_frame() argument
468 struct wl12xx_vif *wlvif; wl1271_handle_tx_low_watermark() local
547 wlcore_vif_dequeue_high_prio(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ac, u8 *hlid, u8 *low_prio_hlid) wlcore_vif_dequeue_high_prio() argument
585 struct wl12xx_vif *wlvif = wl->last_wlvif; wl1271_skb_dequeue() local
672 wl1271_skb_queue_head(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u8 hlid) wl1271_skb_queue_head() argument
704 struct wl12xx_vif *wlvif; wl12xx_rearm_rx_streaming() local
750 struct wl12xx_vif *wlvif; wlcore_tx_work_locked() local
901 struct wl12xx_vif *wlvif; wl1271_tx_complete_packet() local
1054 wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_tx_reset_wlvif() argument
1196 wlcore_stop_queue_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_stop_queue_locked() argument
1211 wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_stop_queue() argument
1221 wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_wake_queue() argument
1283 wlcore_is_queue_stopped_by_reason(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) wlcore_is_queue_stopped_by_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) wlcore_is_queue_stopped_by_reason_locked() argument
1308 wlcore_is_queue_stopped_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue) wlcore_is_queue_stopped_locked() 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) in wl12xx_set_authorized() argument
50 if (WARN_ON(wlvif->bss_type != BSS_TYPE_STA_BSS)) in wl12xx_set_authorized()
53 if (!test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags)) in wl12xx_set_authorized()
56 if (test_and_set_bit(WLVIF_FLAG_STA_STATE_SENT, &wlvif->flags)) in wl12xx_set_authorized()
59 ret = wl12xx_cmd_set_peer_state(wl, wlvif, wlvif->sta.hlid); in wl12xx_set_authorized()
80 static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_set_rx_streaming() argument
86 ret = wl1271_acx_ps_rx_streaming(wl, wlvif, enable); in wl1271_set_rx_streaming()
91 set_bit(WLVIF_FLAG_RX_STREAMING_STARTED, &wlvif in wl1271_set_rx_streaming()
102 wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_recalc_rx_streaming() argument
129 struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif, wl1271_rx_streaming_enable_work() local
166 struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif, wl1271_rx_streaming_disable_work() local
192 struct wl12xx_vif *wlvif = from_timer(wlvif, t, rx_streaming_timer); wl1271_rx_streaming_timer() local
212 struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif, wlcore_rc_update_work() local
329 wl12xx_irq_ps_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, u8 tx_pkts) wl12xx_irq_ps_regulate_link() argument
358 wl12xx_irq_update_links_status(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct wl_fw_status *status) wl12xx_irq_update_links_status() argument
382 struct wl12xx_vif *wlvif; wlcore_fw_status() local
850 wlcore_save_freed_pkts(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, struct ieee80211_sta *sta) wlcore_save_freed_pkts() argument
870 wlcore_save_freed_pkts_addr(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, const u8 *addr) wlcore_save_freed_pkts_addr() argument
921 struct wl12xx_vif *wlvif; wl1271_recovery_work() local
1206 struct wl12xx_vif *wlvif = NULL; wl1271_op_tx() local
1613 wl1271_configure_suspend_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) wl1271_configure_suspend_sta() argument
1643 wl1271_configure_suspend_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) wl1271_configure_suspend_ap() argument
1665 wl1271_configure_suspend(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) wl1271_configure_suspend() argument
1676 wl1271_configure_resume(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_configure_resume() argument
1715 struct wl12xx_vif *wlvif; wl1271_op_suspend() local
1794 struct wl12xx_vif *wlvif; wl1271_op_resume() local
2027 struct wl12xx_vif *wlvif; wlcore_channel_switch_work() local
2065 struct wl12xx_vif *wlvif; wlcore_connection_loss_work() local
2092 struct wl12xx_vif *wlvif; wlcore_pending_auth_complete_work() local
2172 wl12xx_get_role_type(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_get_role_type() argument
2202 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl12xx_init_vif_data() local
2365 wl12xx_dev_role_started(struct wl12xx_vif *wlvif) wl12xx_dev_role_started() argument
2415 struct wl12xx_vif *wlvif; wl12xx_force_active_psm() local
2447 wlcore_allocate_hw_queue_base(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_allocate_hw_queue_base() argument
2507 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_add_interface() local
2629 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); __wl1271_op_remove_interface() local
2780 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_remove_interface() local
2830 wlcore_join(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_join() argument
2858 wl1271_ssid_set(struct wl12xx_vif *wlvif, struct sk_buff *skb, int offset) wl1271_ssid_set() argument
2881 wlcore_set_ssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_set_ssid() argument
2903 wlcore_set_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_bss_conf *bss_conf, u32 sta_rate_set) wlcore_set_assoc() argument
2990 wlcore_unset_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_unset_assoc() argument
3045 wl1271_set_band_rate(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_set_band_rate() argument
3051 wl1271_sta_handle_idle(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool idle) wl1271_sta_handle_idle() argument
3070 wl12xx_config_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_conf *conf, u32 changed) wl12xx_config_vif() argument
3092 struct wl12xx_vif *wlvif; wl1271_op_config() local
3178 struct wl12xx_vif *wlvif; wl1271_op_configure_filter() 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) wl1271_record_ap_key() argument
3293 wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_free_ap_keys() argument
3303 wl1271_ap_init_hwenc(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_ap_init_hwenc() 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) wl1271_set_key() argument
3471 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_set_key() local
3581 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_set_default_key_idx() local
3703 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_cancel_hw_scan() local
3756 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_sched_scan_start() local
3790 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_sched_scan_stop() local
3846 struct wl12xx_vif *wlvif; wl1271_op_set_rts_threshold() local
3908 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_ap_set_probe_resp_tmpl() local
3939 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_ap_set_probe_resp_tmpl_legacy() local
3995 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_bss_erp_info_changed() local
4037 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_set_beacon_template() local
4124 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_bss_beacon_info_changed() local
4165 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_bss_info_changed_ap() local
4258 wlcore_set_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_vif *vif, u32 sta_rate_set) wlcore_set_bssid() argument
4309 wlcore_clear_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_clear_bssid() argument
4337 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_bss_info_changed_sta() local
4586 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_bss_info_changed() local
4660 struct wl12xx_vif *wlvif; wlcore_op_change_chanctx() local
4708 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_op_assign_vif_chanctx() local
4759 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_op_unassign_vif_chanctx() local
4794 __wlcore_switch_vif_chan(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_chanctx_conf *new_ctx) __wlcore_switch_vif_chan() argument
4851 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vifs[i].vif); wlcore_op_switch_vif_chanctx() local
4872 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_conf_tx() local
4926 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_get_tsf() local
4967 wl1271_allocate_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) wl1271_allocate_sta() argument
4996 wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl1271_free_sta() argument
5022 wl12xx_sta_add(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) wl12xx_sta_add() argument
5046 wl12xx_sta_remove(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) wl12xx_sta_remove() argument
5068 wlcore_roc_if_possible(struct wl1271 *wl, struct wl12xx_vif *wlvif) wlcore_roc_if_possible() argument
5087 wlcore_update_inconn_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct wl1271_station *wl_sta, bool in_conn) wlcore_update_inconn_sta() 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) wl12xx_update_sta_state() argument
5241 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl12xx_op_sta_state() local
5274 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl1271_op_ampdu_action() local
5398 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl12xx_set_bitrate_mask() local
5443 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wl12xx_op_channel_switch() local
5491 wlcore_get_beacon_ie(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 eid) wlcore_get_beacon_ie() argument
5507 wlcore_get_csa_count(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *csa_count) wlcore_get_csa_count() argument
5528 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_op_channel_switch_beacon() local
5583 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_op_remain_on_channel() local
5626 struct wl12xx_vif *wlvif; __wlcore_roc_completed() local
5713 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_op_sta_rc_update() local
5733 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); wlcore_op_sta_statistics() local
6621 struct wl12xx_vif *wlvif; wlcore_runtime_suspend() local
[all...]
H A Dps.c15 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_ps_set_mode() argument
27 ret = wl1271_acx_wake_up_conditions(wl, wlvif, in wl1271_ps_set_mode()
35 ret = wl1271_cmd_ps_mode(wl, wlvif, mode, timeout); 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()
46 (wlvif->basic_rate < CONF_HW_BIT_RATE_9MBPS)) { 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()
57 (wlvif->basic_rate < CONF_HW_BIT_RATE_9MBPS)) { in wl1271_ps_set_mode()
58 ret = wl1271_acx_bet_enable(wl, wlvif, fals in wl1271_ps_set_mode()
113 wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, bool clean_queues) wl12xx_ps_link_start() argument
149 wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) wl12xx_ps_link_end() argument
[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 Dwlcore_i.h274 /* The wlvif this link belongs to. Might be null for global links */
275 struct wl12xx_vif *wlvif; member
500 struct ieee80211_vif *wl12xx_wlvif_to_vif(struct wl12xx_vif *wlvif) in wl12xx_wlvif_to_vif() argument
502 return container_of((void *)wlvif, struct ieee80211_vif, drv_priv); in wl12xx_wlvif_to_vif()
505 static inline bool wlcore_is_p2p_mgmt(struct wl12xx_vif *wlvif) in wlcore_is_p2p_mgmt() argument
507 return wl12xx_wlvif_to_vif(wlvif)->type == NL80211_IFTYPE_P2P_DEVICE; in wlcore_is_p2p_mgmt()
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 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...]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl12xx/
H A Dscan.c80 static int wl1271_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_scan_send() argument
84 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl1271_scan_send()
108 if (wlcore_is_p2p_mgmt(wlvif)) in wl1271_scan_send()
109 cmd->params.role_id = wlvif->dev_role_id; in wl1271_scan_send()
111 cmd->params.role_id = wlvif->role_id; in wl1271_scan_send()
145 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl1271_scan_send()
177 int wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_scan_stop() argument
204 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_scan_stm() argument
216 mask = wlvif->bitrate_masks[band]; in wl1271_scan_stm()
223 ret = wl1271_scan_send(wl, wlvif, ban in wl1271_scan_stm()
307 wl1271_scan_sched_scan_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) wl1271_scan_sched_scan_config() argument
414 wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_scan_sched_scan_start() argument
447 wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) wl12xx_sched_scan_start() argument
460 wl12xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_scan_sched_scan_stop() argument
488 wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_scan_request *req) wl12xx_scan_start() argument
495 wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_scan_completed() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl12xx/
H A Dscan.c80 static int wl1271_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_scan_send() argument
84 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl1271_scan_send()
108 if (wlcore_is_p2p_mgmt(wlvif)) in wl1271_scan_send()
109 cmd->params.role_id = wlvif->dev_role_id; in wl1271_scan_send()
111 cmd->params.role_id = wlvif->role_id; in wl1271_scan_send()
145 ret = wl12xx_cmd_build_probe_req(wl, wlvif, in wl1271_scan_send()
177 int wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl12xx_scan_stop() argument
204 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl1271_scan_stm() argument
216 mask = wlvif->bitrate_masks[band]; in wl1271_scan_stm()
223 ret = wl1271_scan_send(wl, wlvif, ban in wl1271_scan_stm()
307 wl1271_scan_sched_scan_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) wl1271_scan_sched_scan_config() argument
414 wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl1271_scan_sched_scan_start() argument
447 wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) wl12xx_sched_scan_start() argument
460 wl12xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_scan_sched_scan_stop() argument
488 wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_scan_request *req) wl12xx_scan_start() argument
495 wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl12xx_scan_completed() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/
H A Dscan.c27 static int wl18xx_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl18xx_scan_send() argument
41 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()
146 void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_scan_completed() argument
156 struct wl12xx_vif *wlvif, in wl18xx_scan_sched_scan_config()
168 filter_type = wlcore_scan_sched_scan_ssid_list(wl, wlvif, req); in wl18xx_scan_sched_scan_config()
178 cmd->role_id = wlvif in wl18xx_scan_sched_scan_config()
155 wl18xx_scan_sched_scan_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) wl18xx_scan_sched_scan_config() argument
289 wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) wl18xx_sched_scan_start() argument
296 __wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 scan_type) __wl18xx_scan_stop() argument
324 wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl18xx_scan_sched_scan_stop() argument
328 wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_scan_request *req) wl18xx_scan_start() argument
334 wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl18xx_scan_stop() argument
[all...]
H A Dcmd.c15 struct wl12xx_vif *wlvif, in wl18xx_cmd_channel_switch()
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()
52 supported_rates |= wlcore_hw_sta_get_ap_rate_mask(wl, wlvif); 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()
162 int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start) in wl18xx_cmd_set_cac() argument
168 wlvif->channel, start ? "start" : "stop"); in wl18xx_cmd_set_cac()
174 cmd->role_id = wlvif in wl18xx_cmd_set_cac()
14 wl18xx_cmd_channel_switch(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_channel_switch *ch_switch) wl18xx_cmd_channel_switch() argument
219 wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl18xx_cmd_dfs_master_restart() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl18xx/
H A Dscan.c27 static int wl18xx_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl18xx_scan_send() argument
41 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()
146 void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) in wl18xx_scan_completed() argument
156 struct wl12xx_vif *wlvif, in wl18xx_scan_sched_scan_config()
168 filter_type = wlcore_scan_sched_scan_ssid_list(wl, wlvif, req); in wl18xx_scan_sched_scan_config()
178 cmd->role_id = wlvif in wl18xx_scan_sched_scan_config()
155 wl18xx_scan_sched_scan_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) wl18xx_scan_sched_scan_config() argument
289 wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) wl18xx_sched_scan_start() argument
296 __wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 scan_type) __wl18xx_scan_stop() argument
324 wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl18xx_scan_sched_scan_stop() argument
328 wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_scan_request *req) wl18xx_scan_start() argument
334 wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl18xx_scan_stop() argument
[all...]
H A Dcmd.c15 struct wl12xx_vif *wlvif, in wl18xx_cmd_channel_switch()
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()
52 supported_rates |= wlcore_hw_sta_get_ap_rate_mask(wl, wlvif); 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()
162 int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start) in wl18xx_cmd_set_cac() argument
168 wlvif->channel, start ? "start" : "stop"); in wl18xx_cmd_set_cac()
174 cmd->role_id = wlvif in wl18xx_cmd_set_cac()
14 wl18xx_cmd_channel_switch(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_channel_switch *ch_switch) wl18xx_cmd_channel_switch() argument
219 wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif) wl18xx_cmd_dfs_master_restart() argument
[all...]

Completed in 25 milliseconds

123