/Linux-v4.19/drivers/net/wireless/ti/wlcore/ |
D | ps.c | 91 static void wl1271_ps_filter_frames(struct wl1271 *wl, u8 hlid) in wl1271_ps_filter_frames() argument 98 struct wl1271_link *lnk = &wl->links[hlid]; in wl1271_ps_filter_frames() 128 u8 hlid, bool clean_queues) in wl12xx_ps_link_start() argument 136 if (!test_bit(hlid, wlvif->ap.sta_hlid_map) || in wl12xx_ps_link_start() 137 test_bit(hlid, &wl->ap_ps_map)) in wl12xx_ps_link_start() 141 "clean_queues %d", hlid, wl->links[hlid].allocated_pkts, in wl12xx_ps_link_start() 145 sta = ieee80211_find_sta(vif, wl->links[hlid].addr); in wl12xx_ps_link_start() 148 wl->links[hlid].addr); in wl12xx_ps_link_start() 158 wl1271_ps_filter_frames(wl, hlid); in wl12xx_ps_link_start() 160 __set_bit(hlid, &wl->ap_ps_map); in wl12xx_ps_link_start() [all …]
|
D | tx.c | 54 ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid); in wl1271_set_default_wep_key() 122 u8 hlid) in wl1271_tx_regulate_link() argument 127 if (WARN_ON(!test_bit(hlid, wlvif->links_map))) in wl1271_tx_regulate_link() 130 fw_ps = test_bit(hlid, &wl->ap_fw_ps_map); in wl1271_tx_regulate_link() 131 tx_pkts = wl->links[hlid].allocated_pkts; in wl1271_tx_regulate_link() 145 wl12xx_ps_link_start(wl, wlvif, hlid, true); in wl1271_tx_regulate_link() 161 return wl_sta->hlid; in wl12xx_tx_get_hlid_ap() 190 return wlvif->sta.hlid; in wl12xx_tx_get_hlid() 206 u8 hlid, bool is_gem) in wl1271_tx_allocate() argument 249 if (test_bit(hlid, wl->links_map)) in wl1271_tx_allocate() [all …]
|
D | rx.c | 118 enum wl_rx_buf_align rx_align, u8 *hlid) in wl1271_rx_handle_data() argument 189 *hlid = desc->hlid; in wl1271_rx_handle_data() 205 seq_num, *hlid); in wl1271_rx_handle_data() 222 u8 hlid; in wlcore_rx() local 227 hlid = status->counters.hlid; in wlcore_rx() 229 if (hlid < WLCORE_MAX_LINKS) in wlcore_rx() 230 wl->links[hlid].fw_rate_mbps = in wlcore_rx() 279 &hlid) == 1) { in wlcore_rx() 280 if (hlid < wl->num_links) in wlcore_rx() 281 __set_bit(hlid, active_hlids); in wlcore_rx() [all …]
|
D | cmd.c | 316 static int wlcore_get_new_session_id(struct wl1271 *wl, u8 hlid) in wlcore_get_new_session_id() argument 318 if (wl->session_ids[hlid] >= SESSION_COUNTER_MAX) in wlcore_get_new_session_id() 319 wl->session_ids[hlid] = 0; in wlcore_get_new_session_id() 321 wl->session_ids[hlid]++; in wlcore_get_new_session_id() 323 return wl->session_ids[hlid]; in wlcore_get_new_session_id() 326 int wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_allocate_link() argument 358 *hlid = link; in wl12xx_allocate_link() 364 void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_free_link() argument 368 if (*hlid == WL12XX_INVALID_LINK_ID) in wl12xx_free_link() 373 __clear_bit(*hlid, wl->links_map); in wl12xx_free_link() [all …]
|
D | cmd.h | 74 int wl12xx_cmd_set_default_wep_key(struct wl1271 *wl, u8 id, u8 hlid); 81 u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, 84 u8 hlid); 89 struct ieee80211_sta *sta, u8 hlid); 91 u8 hlid); 106 u8 *hlid); 107 void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid); 314 u8 hlid; member 321 u8 hlid; /* data hlid */ member 341 u8 hlid; /* data hlid */ member [all …]
|
D | event.c | 144 u8 hlid = wlvif->sta.hlid; in wl1271_stop_ba_event() local 145 if (!wl->links[hlid].ba_bitmap) in wl1271_stop_ba_event() 147 ieee80211_stop_rx_ba_session(vif, wl->links[hlid].ba_bitmap, in wl1271_stop_ba_event() 150 u8 hlid; in wl1271_stop_ba_event() local 152 for_each_set_bit(hlid, wlvif->ap.sta_hlid_map, in wl1271_stop_ba_event() 154 lnk = &wl->links[hlid]; in wl1271_stop_ba_event()
|
D | hw_ops.h | 249 u32 rate_set, u8 hlid) in wlcore_hw_set_peer_cap() argument 253 rate_set, hlid); in wlcore_hw_set_peer_cap() 268 wlcore_hw_lnk_high_prio(struct wl1271 *wl, u8 hlid, in wlcore_hw_lnk_high_prio() argument 274 return wl->ops->lnk_high_prio(wl, hlid, lnk); in wlcore_hw_lnk_high_prio() 278 wlcore_hw_lnk_low_prio(struct wl1271 *wl, u8 hlid, in wlcore_hw_lnk_low_prio() argument 284 return wl->ops->lnk_low_prio(wl, hlid, lnk); in wlcore_hw_lnk_low_prio()
|
D | ps.h | 33 u8 hlid, bool clean_queues); 34 void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
|
D | main.c | 73 ret = wl12xx_cmd_set_peer_state(wl, wlvif, wlvif->sta.hlid); in wl12xx_set_authorized() 248 true, wlvif->sta.hlid); in wlcore_rc_update_work() 351 u8 hlid, u8 tx_pkts) in wl12xx_irq_ps_regulate_link() argument 355 fw_ps = test_bit(hlid, &wl->ap_fw_ps_map); in wl12xx_irq_ps_regulate_link() 362 wl12xx_ps_link_end(wl, wlvif, hlid); in wl12xx_irq_ps_regulate_link() 375 wl12xx_ps_link_start(wl, wlvif, hlid, true); in wl12xx_irq_ps_regulate_link() 383 u8 hlid; in wl12xx_irq_update_links_status() local 395 for_each_set_bit(hlid, wlvif->ap.sta_hlid_map, wl->num_links) in wl12xx_irq_update_links_status() 396 wl12xx_irq_ps_regulate_link(wl, wlvif, hlid, in wl12xx_irq_update_links_status() 397 wl->links[hlid].allocated_pkts); in wl12xx_irq_update_links_status() [all …]
|
D | tx.h | 136 u8 hlid; member 255 void wl1271_tx_reset_link_queues(struct wl1271 *wl, u8 hlid); 284 void wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
|
D | wlcore_i.h | 178 u8 hlid; member 226 u8 hlid; member 339 u8 hlid; member 365 u8 hlid; member
|
D | wlcore.h | 116 u32 rate_set, u8 hlid); 118 bool (*lnk_high_prio)(struct wl1271 *wl, u8 hlid, 120 bool (*lnk_low_prio)(struct wl1271 *wl, u8 hlid,
|
D | rx.h | 143 u8 hlid; member
|
D | acx.h | 685 u8 hlid; member 759 u8 hlid; member 1109 bool allow_ht_operation, u8 hlid);
|
D | acx.c | 1301 bool allow_ht_operation, u8 hlid) in wl1271_acx_set_ht_capabilities() argument 1332 acx->hlid = hlid; in wl1271_acx_set_ht_capabilities() 1435 acx->hlid = peer_hlid; in wl12xx_acx_set_ba_receiver_session()
|
D | debugfs.c | 592 VIF_STATE_PRINT_INT(sta.hlid); in vifs_state_read()
|
/Linux-v4.19/drivers/net/wireless/ti/wl18xx/ |
D | tx.c | 33 u8 band, struct ieee80211_tx_rate *rate, u8 hlid) in wl18xx_get_last_tx_rate() argument 35 u8 fw_rate = wl->links[hlid].fw_rate_idx; in wl18xx_get_last_tx_rate() 112 tx_desc->hlid); in wl18xx_tx_complete_packet() 151 u8 i, hlid; in wl18xx_tx_immediate_complete() local 158 hlid = wl->fw_status->counters.hlid; in wl18xx_tx_immediate_complete() 160 if (hlid < WLCORE_MAX_LINKS) { in wl18xx_tx_immediate_complete() 161 wl->links[hlid].fw_rate_idx = in wl18xx_tx_immediate_complete() 163 wl->links[hlid].fw_rate_mbps = in wl18xx_tx_immediate_complete()
|
D | acx.c | 114 int wl18xx_acx_peer_ht_operation_mode(struct wl1271 *wl, u8 hlid, bool wide) in wl18xx_acx_peer_ht_operation_mode() argument 120 hlid, wide); in wl18xx_acx_peer_ht_operation_mode() 128 acx->hlid = hlid; in wl18xx_acx_peer_ht_operation_mode() 153 u32 rate_set, u8 hlid) in wl18xx_acx_set_peer_cap() argument 184 acx->hlid = hlid; in wl18xx_acx_set_peer_cap()
|
D | acx.h | 311 u8 hlid; member 331 u8 hlid; member 408 int wl18xx_acx_peer_ht_operation_mode(struct wl1271 *wl, u8 hlid, bool wide); 412 u32 rate_set, u8 hlid);
|
D | main.c | 1106 "len: %d life: %d mem: %d", desc->hlid, in wl18xx_set_tx_desc_data_len() 1223 fw_status->counters.hlid = in wl18xx_convert_fw_status() 1224 int_fw_status->counters.hlid; in wl18xx_convert_fw_status() 1648 wl18xx_acx_peer_ht_operation_mode(wl, wlvif->sta.hlid, wide); in wl18xx_sta_rc_update() 1656 u32 rate_set, u8 hlid) in wl18xx_set_peer_cap() argument 1659 rate_set, hlid); in wl18xx_set_peer_cap() 1662 static bool wl18xx_lnk_high_prio(struct wl1271 *wl, u8 hlid, in wl18xx_lnk_high_prio() argument 1676 if (test_bit(hlid, &suspend_bitmap)) in wl18xx_lnk_high_prio() 1680 if (test_bit(hlid, &wl->fw_fast_lnk_map) && in wl18xx_lnk_high_prio() 1681 !test_bit(hlid, &wl->ap_fw_ps_map)) in wl18xx_lnk_high_prio() [all …]
|
D | wl18xx.h | 132 u8 hlid; member
|
/Linux-v4.19/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 1335 desc->hlid, in wl12xx_set_tx_desc_data_len() 1351 pad, desc->hlid, in wl12xx_set_tx_desc_data_len() 1661 u32 rate_set, u8 hlid) in wl12xx_set_peer_cap() argument 1664 hlid); in wl12xx_set_peer_cap() 1667 static bool wl12xx_lnk_high_prio(struct wl1271 *wl, u8 hlid, in wl12xx_lnk_high_prio() argument 1672 if (test_bit(hlid, &wl->fw_fast_lnk_map)) in wl12xx_lnk_high_prio() 1680 static bool wl12xx_lnk_low_prio(struct wl1271 *wl, u8 hlid, in wl12xx_lnk_low_prio() argument
|