/drivers/net/wireless/ti/wlcore/ |
H A D | event.c | 34 struct wl12xx_vif *wlvif; local 42 wl12xx_for_each_wlvif_sta(wl, wlvif) { 43 if (metric <= wlvif->rssi_thold) 48 vif = wl12xx_wlvif_to_vif(wlvif); 49 if (event != wlvif->last_rssi_event) 51 wlvif->last_rssi_event = event; 56 static void wl1271_stop_ba_event(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 58 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); 60 if (wlvif->bss_type != BSS_TYPE_AP_BSS) { 61 u8 hlid = wlvif 84 struct wl12xx_vif *wlvif; local 114 struct wl12xx_vif *wlvif; local 136 struct wl12xx_vif *wlvif; local 174 struct wl12xx_vif *wlvif; local 233 struct wl12xx_vif *wlvif; local [all...] |
H A D | ps.h | 30 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, 35 void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 37 void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
|
H A D | ps.c | 38 struct wl12xx_vif *wlvif; local 58 wl12xx_for_each_wlvif(wl, wlvif) { 59 if (wlvif->bss_type == BSS_TYPE_AP_BSS) 62 if (!test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags) && 63 test_bit(WLVIF_FLAG_IN_USE, &wlvif->flags)) 83 struct wl12xx_vif *wlvif; local 97 wl12xx_for_each_wlvif(wl, wlvif) { 98 if (wlvif->bss_type == BSS_TYPE_AP_BSS) 101 if (!test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags) && 102 test_bit(WLVIF_FLAG_IN_USE, &wlvif 179 wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum wl1271_cmd_ps_mode mode) argument 277 wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, bool clean_queues) argument 313 wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument [all...] |
H A D | cmd.c | 312 int wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) argument 324 __set_bit(link, wlvif->links_map); 335 wl->links[link].wlvif = wlvif; 338 * Take saved value for total freed packets from wlvif, in case this is 341 if (wlvif->bss_type != BSS_TYPE_AP_BSS) 342 wl->links[link].total_freed_pkts = wlvif->total_freed_pkts; 350 void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) argument 360 __clear_bit(*hlid, wlvif->links_map); 373 wl->links[*hlid].wlvif 419 wl12xx_cmd_role_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum ieee80211_band band, int channel) argument 470 wl12xx_cmd_role_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 506 wl12xx_cmd_role_start_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 582 wl12xx_cmd_role_stop_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 617 wl12xx_cmd_role_start_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 724 wl12xx_cmd_role_stop_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 755 wl12xx_cmd_role_start_ibss(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 974 wl1271_cmd_ps_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ps_mode, u16 auto_ps_timeout) argument 1048 wl12xx_cmd_build_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1081 wl12xx_cmd_build_klv_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1106 wl1271_cmd_build_ps_poll(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 aid) argument 1126 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 1174 wl1271_cmd_build_ap_probe_req(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) argument 1206 wl1271_cmd_build_arp_rsp(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1300 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 1353 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 1422 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) argument 1484 wl12xx_cmd_set_peer_state(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument 1518 wl12xx_cmd_add_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta, u8 hlid) argument 1577 wl12xx_cmd_remove_peer(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument 1842 wl12xx_cmd_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id, enum ieee80211_band band, u8 channel) argument 1916 wl12xx_roc(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 role_id, enum ieee80211_band band, u8 channel) argument 1957 wl12xx_cmd_stop_channel_switch(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1986 wl12xx_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum ieee80211_band band, int channel) argument 2021 wl12xx_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument [all...] |
H A D | main.c | 56 static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif); 58 static int wl12xx_set_authorized(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 62 if (WARN_ON(wlvif->bss_type != BSS_TYPE_STA_BSS)) 65 if (!test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags)) 68 if (test_and_set_bit(WLVIF_FLAG_STA_STATE_SENT, &wlvif->flags)) 71 ret = wl12xx_cmd_set_peer_state(wl, wlvif, wlvif->sta.hlid); 102 static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument 108 ret = wl1271_acx_ps_rx_streaming(wl, wlvif, enable); 113 set_bit(WLVIF_FLAG_RX_STREAMING_STARTED, &wlvif 124 wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 151 struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif, local 187 struct wl12xx_vif *wlvif = container_of(work, struct wl12xx_vif, local 212 struct wl12xx_vif *wlvif = (struct wl12xx_vif *)data; local 330 wl12xx_irq_ps_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, u8 tx_pkts) argument 359 wl12xx_irq_update_links_status(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct wl_fw_status *status) argument 383 struct wl12xx_vif *wlvif; local 902 wlcore_save_freed_pkts(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, struct ieee80211_sta *sta) argument 922 wlcore_save_freed_pkts_addr(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, const u8 *addr) argument 973 struct wl12xx_vif *wlvif; local 1246 struct wl12xx_vif *wlvif = NULL; local 1656 wl1271_configure_suspend_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) argument 1693 wl1271_configure_suspend_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1713 wl1271_configure_suspend(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_wowlan *wow) argument 1724 wl1271_configure_resume(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1769 struct wl12xx_vif *wlvif; local 1825 struct wl12xx_vif *wlvif; local 2034 struct wl12xx_vif *wlvif; local 2071 struct wl12xx_vif *wlvif; local 2098 struct wl12xx_vif *wlvif; local 2177 wl12xx_get_role_type(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 2203 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 2364 wl12xx_dev_role_started(struct wl12xx_vif *wlvif) argument 2414 struct wl12xx_vif *wlvif; local 2445 wlcore_allocate_hw_queue_base(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 2500 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 2602 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 2737 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 2787 wlcore_join(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 2828 wl1271_ssid_set(struct wl12xx_vif *wlvif, struct sk_buff *skb, int offset) argument 2851 wlcore_set_ssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 2873 wlcore_set_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_bss_conf *bss_conf, u32 sta_rate_set) argument 2958 wlcore_unset_assoc(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 3013 wl1271_set_band_rate(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 3019 wl1271_sta_handle_idle(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool idle) argument 3038 wl12xx_config_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_conf *conf, u32 changed) argument 3057 struct wl12xx_vif *wlvif; local 3143 struct wl12xx_vif *wlvif; local 3192 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) argument 3238 wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 3248 wl1271_ap_init_hwenc(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 3288 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) argument 3414 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 3521 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 3640 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 3689 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 3722 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 3776 struct wl12xx_vif *wlvif; local 3837 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 3868 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 3925 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 3967 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 4054 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 4089 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 4177 wlcore_set_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_bss_conf *bss_conf, u32 sta_rate_set) argument 4228 wlcore_clear_bssid(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 4256 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 4505 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 4588 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 4615 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 4631 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 4681 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 4721 wl1271_allocate_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) argument 4750 wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument 4776 wl12xx_sta_add(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) argument 4800 wl12xx_sta_remove(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) argument 4822 wlcore_roc_if_possible(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 4841 wlcore_update_inconn_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct wl1271_station *wl_sta, bool in_conn) argument 4881 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 4989 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 5023 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 5140 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 5183 struct wl12xx_vif *wlvif; local 5252 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 5294 struct wl12xx_vif *wlvif; local 5379 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 5391 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local [all...] |
H A D | init.c | 159 struct wl12xx_vif *wlvif) 174 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); 175 ret = wl1271_cmd_template_set(wl, wlvif->role_id, 187 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 207 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); 208 ret = wl1271_cmd_template_set(wl, wlvif->role_id, 220 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 240 rate = wl1271_tx_min_rate_get(wl, wlvif->basic_rate_set); 241 ret = wl1271_cmd_template_set(wl, wlvif->role_id, 262 struct wl12xx_vif *wlvif) 158 wl1271_ap_init_deauth_template(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 261 wl12xx_init_phy_vif_config(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 281 wl1271_init_sta_beacon_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 324 wl1271_init_beacon_broadcast(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 351 wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 375 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 387 wl1271_ap_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 400 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 432 wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 491 wl1271_set_ba_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 511 wl12xx_init_sta_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 543 wl12xx_init_ap_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 561 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local [all...] |
H A D | tx.c | 44 struct wl12xx_vif *wlvif, u8 id) 47 bool is_ap = (wlvif->bss_type == BSS_TYPE_AP_BSS); 51 wlvif->ap.bcast_hlid); 53 ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid); 89 struct wl12xx_vif *wlvif, 104 wl1271_acx_set_inconnection_sta(wl, wlvif, hdr->addr1); 111 wlcore_update_inconn_sta(wl, wlvif, NULL, true); 112 wlvif->pending_auth_reply_time = jiffies; 113 cancel_delayed_work(&wlvif->pending_auth_complete_work); 115 &wlvif 43 wl1271_set_default_wep_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 id) argument 88 wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) argument 119 wl1271_tx_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument 153 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) argument 175 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, struct ieee80211_sta *sta) argument 203 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 264 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 376 wl1271_prepare_tx_frame(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 buf_offset, u8 hlid) argument 484 struct wl12xx_vif *wlvif; local 563 wlcore_vif_dequeue_high_prio(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ac, u8 *hlid, u8 *low_prio_hlid) argument 601 struct wl12xx_vif *wlvif = wl->last_wlvif; local 688 wl1271_skb_queue_head(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u8 hlid) argument 720 struct wl12xx_vif *wlvif; local 766 struct wl12xx_vif *wlvif; local 915 struct wl12xx_vif *wlvif; local 1068 wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1210 wlcore_stop_queue_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument 1225 wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument 1235 wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument 1297 wlcore_is_queue_stopped_by_reason(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument 1312 wlcore_is_queue_stopped_by_reason_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, enum wlcore_queue_stop_reason reason) argument 1322 wlcore_is_queue_stopped_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue) argument [all...] |
H A D | cmd.h | 39 int wl12xx_cmd_role_start_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif); 40 int wl12xx_cmd_role_stop_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif); 41 int wl12xx_cmd_role_start_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif); 42 int wl12xx_cmd_role_stop_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif); 43 int wl12xx_cmd_role_start_ibss(struct wl1271 *wl, struct wl12xx_vif *wlvif); 44 int wl12xx_start_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif, 46 int wl12xx_stop_dev(struct wl1271 *wl, struct wl12xx_vif *wlvif); 54 int wl1271_cmd_ps_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, 61 int wl12xx_cmd_build_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif); 62 int wl1271_cmd_build_ps_poll(struct wl1271 *wl, struct wl12xx_vif *wlvif, [all...] |
H A D | init.h | 36 int wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
H A D | wlcore_i.h | 271 /* The wlvif this link belongs to. Might be null for global links */ 272 struct wl12xx_vif *wlvif; member in struct:wl1271_link 490 struct ieee80211_vif *wl12xx_wlvif_to_vif(struct wl12xx_vif *wlvif) argument 492 return container_of((void *)wlvif, struct ieee80211_vif, drv_priv); 495 #define wl12xx_for_each_wlvif(wl, wlvif) \ 496 list_for_each_entry(wlvif, &wl->wlvif_list, list) 498 #define wl12xx_for_each_wlvif_continue(wl, wlvif) \ 499 list_for_each_entry_continue(wlvif, &wl->wlvif_list, list) 501 #define wl12xx_for_each_wlvif_bss_type(wl, wlvif, _bss_type) \ 502 wl12xx_for_each_wlvif(wl, wlvif) \ [all...] |
H A D | tx.h | 215 int wlcore_tx_get_mac80211_queue(struct wl12xx_vif *wlvif, int queue) argument 217 int mac_queue = wlvif->hw_queue_base; 246 void wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif); 253 u8 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, 262 void wlcore_stop_queue_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, 264 void wlcore_stop_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, 266 void wlcore_wake_queue(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 queue, 273 struct wl12xx_vif *wlvif, u8 queue, 277 struct wl12xx_vif *wlvif, 280 bool wlcore_is_queue_stopped_locked(struct wl1271 *wl, struct wl12xx_vif *wlvif, [all...] |
H A D | acx.c | 37 int wl1271_acx_wake_up_conditions(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument 52 wake_up->role_id = wlvif->role_id; 97 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument 114 acx->role_id = wlvif->role_id; 128 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 142 feature->role_id = wlvif->role_id; 199 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument 213 slot->role_id = wlvif->role_id; 228 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument 243 acx->role_id = wlvif 260 wl1271_acx_service_period_timeout(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 291 wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif, u32 rts_threshold) argument 355 wl1271_acx_beacon_filter_opt(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable_filter) argument 395 wl1271_acx_beacon_filter_table(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 453 wl1271_acx_conn_monit_params(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) argument 578 wl1271_acx_bcn_dtim_options(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 608 wl1271_acx_aid(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 aid) argument 664 wl1271_acx_set_preamble(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum acx_preamble_type preamble) argument 692 wl1271_acx_cts_protect(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum acx_ctsprotect_type ctsprotect) argument 737 wl1271_acx_sta_rate_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 840 wl1271_acx_ac_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 ac, u8 cw_min, u16 cw_max, u8 aifsn, u16 txop) argument 874 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 1073 wl1271_acx_bet_enable(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) argument 1105 wl1271_acx_arp_ip_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 enable, __be32 address) argument 1167 wl1271_acx_keep_alive_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) argument 1195 wl1271_acx_keep_alive_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 index, u8 tpl_valid) argument 1227 wl1271_acx_rssi_snr_trigger(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable, s16 thold, u8 hyst) argument 1268 wl1271_acx_rssi_snr_avg_weights(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1349 wl1271_acx_set_ht_information(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 ht_operation_mode) argument 1386 wl12xx_acx_set_ba_initiator_policy(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1462 wl12xx_acx_tsf_info(struct wl1271 *wl, struct wl12xx_vif *wlvif, u64 *mactime) argument 1491 wl1271_acx_ps_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool enable) argument 1540 wl1271_acx_ap_max_tx_retry(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1565 wl12xx_acx_config_ps(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1595 wl1271_acx_set_inconnection_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *addr) argument 1744 wlcore_acx_average_rssi(struct wl1271 *wl, struct wl12xx_vif *wlvif, s8 *avg_rssi) argument [all...] |
H A D | scan.h | 35 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif); 38 struct wl12xx_vif *wlvif, 41 int wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif); 169 struct wl12xx_vif *wlvif,
|
H A D | hw_ops.h | 101 wlcore_hw_init_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 104 return wl->ops->init_vif(wl, wlvif); 119 wlcore_hw_sta_get_ap_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 124 return wl->ops->sta_get_ap_rate_mask(wl, wlvif); 157 struct wl12xx_vif *wlvif) 160 return wl->ops->ap_get_mimo_wide_rate_mask(wl, wlvif); 214 wlcore_hw_sta_rc_update(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument 218 wl->ops->sta_rc_update(wl, wlvif, sta, changed); 156 wlcore_hw_ap_get_mimo_wide_rate_mask(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument
|
H A D | scan.c | 38 struct wl12xx_vif *wlvif; local 54 wlvif = wl->scan_wlvif; 71 if (test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags)) { 73 wl1271_cmd_build_ap_probe_req(wl, wlvif, wlvif->probereq); 95 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 104 switch (wlvif->bss_type) { 106 if (test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags)) 111 if (wlvif->wl->active_sta_count > 0) 344 struct wl12xx_vif *wlvif local 379 wlcore_scan_sched_scan_ssid_list(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req) argument [all...] |
H A D | acx.h | 1043 struct wl12xx_vif *wlvif, 1046 int wl1271_acx_tx_power(struct wl1271 *wl, struct wl12xx_vif *wlvif, 1048 int wl1271_acx_feature_cfg(struct wl1271 *wl, struct wl12xx_vif *wlvif); 1052 int wl1271_acx_slot(struct wl1271 *wl, struct wl12xx_vif *wlvif, 1054 int wl1271_acx_group_address_tbl(struct wl1271 *wl, struct wl12xx_vif *wlvif, 1057 struct wl12xx_vif *wlvif); 1058 int wl1271_acx_rts_threshold(struct wl1271 *wl, struct wl12xx_vif *wlvif, 1061 int wl1271_acx_beacon_filter_opt(struct wl1271 *wl, struct wl12xx_vif *wlvif, 1064 struct wl12xx_vif *wlvif); 1065 int wl1271_acx_conn_monit_params(struct wl1271 *wl, struct wl12xx_vif *wlvif, [all...] |
H A D | debugfs.c | 273 struct wl12xx_vif *wlvif; local 303 wl12xx_for_each_wlvif_sta(wl, wlvif) { 304 if (test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags)) 305 wl1271_ps_set_mode(wl, wlvif, STATION_AUTO_PS_MODE); 337 struct wl12xx_vif *wlvif; local 372 wl12xx_for_each_wlvif_sta(wl, wlvif) { 373 if (test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags)) 374 wl1271_ps_set_mode(wl, wlvif, ps_mode); 440 struct wl12xx_vif *wlvif; local 464 wl12xx_for_each_wlvif_sta(wl, wlvif) { 536 struct wl12xx_vif *wlvif; local 821 struct wl12xx_vif *wlvif; local 876 struct wl12xx_vif *wlvif; local 931 struct wl12xx_vif *wlvif; local [all...] |
H A D | wlcore.h | 75 int (*init_vif)(struct wl1271 *wl, struct wl12xx_vif *wlvif); 79 struct wl12xx_vif *wlvif); 89 struct wl12xx_vif *wlvif); 93 int (*scan_start)(struct wl1271 *wl, struct wl12xx_vif *wlvif, 95 int (*scan_stop)(struct wl1271 *wl, struct wl12xx_vif *wlvif); 96 int (*sched_scan_start)(struct wl1271 *wl, struct wl12xx_vif *wlvif, 99 void (*sched_scan_stop)(struct wl1271 *wl, struct wl12xx_vif *wlvif); 106 struct wl12xx_vif *wlvif, 109 void (*sta_rc_update)(struct wl1271 *wl, struct wl12xx_vif *wlvif, 417 /* last wlvif w [all...] |
/drivers/net/wireless/ti/wl12xx/ |
H A D | scan.c | 94 static int wl1271_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument 98 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); 121 cmd->params.role_id = wlvif->role_id; 155 ret = wl12xx_cmd_build_probe_req(wl, wlvif, 187 int wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 214 void wl1271_scan_stm(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 226 mask = wlvif->bitrate_masks[band]; 233 ret = wl1271_scan_send(wl, wlvif, band, false, rate); 236 wl1271_scan_stm(wl, wlvif); 243 mask = wlvif 317 wl1271_scan_sched_scan_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument 423 wl1271_scan_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 456 wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument 469 wl12xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 497 wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_scan_request *req) argument 504 wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument [all...] |
H A D | scan.h | 132 int wl12xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 134 int wl12xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif); 135 void wl12xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif); 136 int wl12xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 139 void wl12xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
/drivers/net/wireless/ti/wl18xx/ |
H A D | scan.c | 41 static int wl18xx_scan_send(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument 54 cmd->role_id = wlvif->role_id; 110 ret = wl12xx_cmd_build_probe_req(wl, wlvif, 127 ret = wl12xx_cmd_build_probe_req(wl, wlvif, 156 void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 166 struct wl12xx_vif *wlvif, 178 filter_type = wlcore_scan_sched_scan_ssid_list(wl, wlvif, req); 188 cmd->role_id = wlvif->role_id; 240 ret = wl12xx_cmd_build_probe_req(wl, wlvif, 257 ret = wl12xx_cmd_build_probe_req(wl, wlvif, 165 wl18xx_scan_sched_scan_config(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument 286 wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_sched_scan_request *req, struct ieee80211_scan_ies *ies) argument 293 __wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 scan_type) argument 321 wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 325 wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct cfg80211_scan_request *req) argument 331 wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument [all...] |
H A D | scan.h | 119 int wl18xx_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 121 int wl18xx_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif); 122 void wl18xx_scan_completed(struct wl1271 *wl, struct wl12xx_vif *wlvif); 123 int wl18xx_sched_scan_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 126 void wl18xx_scan_sched_scan_stop(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
H A D | cmd.c | 29 struct wl12xx_vif *wlvif, 44 cmd->role_id = wlvif->role_id; 64 wlcore_hw_sta_get_ap_rate_mask(wl, wlvif); 65 if (wlvif->p2p) 68 cmd->channel_type = wlvif->channel_type; 28 wl18xx_cmd_channel_switch(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_channel_switch *ch_switch) argument
|
H A D | cmd.h | 63 struct wl12xx_vif *wlvif,
|
H A D | tx.c | 65 struct wl12xx_vif *wlvif = wl12xx_vif_to_data(vif); local 66 if (wlvif->channel_type == NL80211_CHAN_HT40MINUS || 67 wlvif->channel_type == NL80211_CHAN_HT40PLUS) {
|