Home
last modified time | relevance | path

Searched refs:hlid (Results 1 – 23 of 23) sorted by relevance

/linux-5.19.10/drivers/net/wireless/ti/wlcore/
Dps.c77 static void wl1271_ps_filter_frames(struct wl1271 *wl, u8 hlid) in wl1271_ps_filter_frames() argument
84 struct wl1271_link *lnk = &wl->links[hlid]; in wl1271_ps_filter_frames()
114 u8 hlid, bool clean_queues) in wl12xx_ps_link_start() argument
122 if (!test_bit(hlid, wlvif->ap.sta_hlid_map) || in wl12xx_ps_link_start()
123 test_bit(hlid, &wl->ap_ps_map)) in wl12xx_ps_link_start()
127 "clean_queues %d", hlid, wl->links[hlid].allocated_pkts, in wl12xx_ps_link_start()
131 sta = ieee80211_find_sta(vif, wl->links[hlid].addr); in wl12xx_ps_link_start()
134 wl->links[hlid].addr); in wl12xx_ps_link_start()
144 wl1271_ps_filter_frames(wl, hlid); in wl12xx_ps_link_start()
146 __set_bit(hlid, &wl->ap_ps_map); in wl12xx_ps_link_start()
[all …]
Dtx.c40 ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid); in wl1271_set_default_wep_key()
108 u8 hlid) in wl1271_tx_regulate_link() argument
113 if (WARN_ON(!test_bit(hlid, wlvif->links_map))) in wl1271_tx_regulate_link()
116 fw_ps = test_bit(hlid, &wl->ap_fw_ps_map); in wl1271_tx_regulate_link()
117 tx_pkts = wl->links[hlid].allocated_pkts; in wl1271_tx_regulate_link()
131 wl12xx_ps_link_start(wl, wlvif, hlid, true); in wl1271_tx_regulate_link()
147 return wl_sta->hlid; in wl12xx_tx_get_hlid_ap()
176 return wlvif->sta.hlid; in wl12xx_tx_get_hlid()
192 u8 hlid, bool is_gem) in wl1271_tx_allocate() argument
235 if (test_bit(hlid, wl->links_map)) in wl1271_tx_allocate()
[all …]
Drx.c104 enum wl_rx_buf_align rx_align, u8 *hlid) in wl1271_rx_handle_data() argument
175 *hlid = desc->hlid; in wl1271_rx_handle_data()
191 seq_num, *hlid); in wl1271_rx_handle_data()
208 u8 hlid; in wlcore_rx() local
213 hlid = status->counters.hlid; in wlcore_rx()
215 if (hlid < WLCORE_MAX_LINKS) in wlcore_rx()
216 wl->links[hlid].fw_rate_mbps = in wlcore_rx()
265 &hlid) == 1) { in wlcore_rx()
266 if (hlid < wl->num_links) in wlcore_rx()
267 __set_bit(hlid, active_hlids); in wlcore_rx()
[all …]
Dcmd.c300 static int wlcore_get_new_session_id(struct wl1271 *wl, u8 hlid) in wlcore_get_new_session_id() argument
302 if (wl->session_ids[hlid] >= SESSION_COUNTER_MAX) in wlcore_get_new_session_id()
303 wl->session_ids[hlid] = 0; in wlcore_get_new_session_id()
305 wl->session_ids[hlid]++; in wlcore_get_new_session_id()
307 return wl->session_ids[hlid]; in wlcore_get_new_session_id()
310 int wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_allocate_link() argument
342 *hlid = link; in wl12xx_allocate_link()
348 void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid) in wl12xx_free_link() argument
352 if (*hlid == WL12XX_INVALID_LINK_ID) in wl12xx_free_link()
357 __clear_bit(*hlid, wl->links_map); in wl12xx_free_link()
[all …]
Dcmd.h60 int wl12xx_cmd_set_default_wep_key(struct wl1271 *wl, u8 id, u8 hlid);
67 u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32,
70 u8 hlid);
75 struct ieee80211_sta *sta, u8 hlid);
77 u8 hlid);
92 u8 *hlid);
93 void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid);
300 u8 hlid; member
307 u8 hlid; /* data hlid */ member
327 u8 hlid; /* data hlid */ member
[all …]
Devent.c139 u8 hlid = wlvif->sta.hlid; in wl1271_stop_ba_event() local
140 if (!wl->links[hlid].ba_bitmap) in wl1271_stop_ba_event()
142 ieee80211_stop_rx_ba_session(vif, wl->links[hlid].ba_bitmap, in wl1271_stop_ba_event()
145 u8 hlid; in wl1271_stop_ba_event() local
147 for_each_set_bit(hlid, wlvif->ap.sta_hlid_map, in wl1271_stop_ba_event()
149 lnk = &wl->links[hlid]; in wl1271_stop_ba_event()
Dhw_ops.h235 u32 rate_set, u8 hlid) in wlcore_hw_set_peer_cap() argument
239 rate_set, hlid); in wlcore_hw_set_peer_cap()
254 wlcore_hw_lnk_high_prio(struct wl1271 *wl, u8 hlid, in wlcore_hw_lnk_high_prio() argument
260 return wl->ops->lnk_high_prio(wl, hlid, lnk); in wlcore_hw_lnk_high_prio()
264 wlcore_hw_lnk_low_prio(struct wl1271 *wl, u8 hlid, in wlcore_hw_lnk_low_prio() argument
270 return wl->ops->lnk_low_prio(wl, hlid, lnk); in wlcore_hw_lnk_low_prio()
Dmain.c59 ret = wl12xx_cmd_set_peer_state(wl, wlvif, wlvif->sta.hlid); in wl12xx_set_authorized()
228 true, wlvif->sta.hlid); in wlcore_rc_update_work()
331 u8 hlid, u8 tx_pkts) in wl12xx_irq_ps_regulate_link() argument
335 fw_ps = test_bit(hlid, &wl->ap_fw_ps_map); in wl12xx_irq_ps_regulate_link()
342 wl12xx_ps_link_end(wl, wlvif, hlid); in wl12xx_irq_ps_regulate_link()
355 wl12xx_ps_link_start(wl, wlvif, hlid, true); in wl12xx_irq_ps_regulate_link()
363 u8 hlid; in wl12xx_irq_update_links_status() local
375 for_each_set_bit(hlid, wlvif->ap.sta_hlid_map, wl->num_links) in wl12xx_irq_update_links_status()
376 wl12xx_irq_ps_regulate_link(wl, wlvif, hlid, in wl12xx_irq_update_links_status()
377 wl->links[hlid].allocated_pkts); in wl12xx_irq_update_links_status()
[all …]
Dps.h19 u8 hlid, bool clean_queues);
20 void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
Dtx.h122 u8 hlid; member
241 void wl1271_tx_reset_link_queues(struct wl1271 *wl, u8 hlid);
270 void wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
Dwlcore_i.h164 u8 hlid; member
212 u8 hlid; member
326 u8 hlid; member
352 u8 hlid; member
Dwlcore.h102 u32 rate_set, u8 hlid);
104 bool (*lnk_high_prio)(struct wl1271 *wl, u8 hlid,
106 bool (*lnk_low_prio)(struct wl1271 *wl, u8 hlid,
Drx.h129 u8 hlid; member
Dacx.h671 u8 hlid; member
745 u8 hlid; member
1095 bool allow_ht_operation, u8 hlid);
Dacx.c1287 bool allow_ht_operation, u8 hlid) in wl1271_acx_set_ht_capabilities() argument
1318 acx->hlid = hlid; in wl1271_acx_set_ht_capabilities()
1421 acx->hlid = peer_hlid; in wl12xx_acx_set_ba_receiver_session()
Ddebugfs.c562 VIF_STATE_PRINT_INT(sta.hlid); in vifs_state_read()
/linux-5.19.10/drivers/net/wireless/ti/wl18xx/
Dtx.c19 u8 band, struct ieee80211_tx_rate *rate, u8 hlid) in wl18xx_get_last_tx_rate() argument
21 u8 fw_rate = wl->links[hlid].fw_rate_idx; in wl18xx_get_last_tx_rate()
98 tx_desc->hlid); in wl18xx_tx_complete_packet()
137 u8 i, hlid; in wl18xx_tx_immediate_complete() local
144 hlid = wl->fw_status->counters.hlid; in wl18xx_tx_immediate_complete()
146 if (hlid < WLCORE_MAX_LINKS) { in wl18xx_tx_immediate_complete()
147 wl->links[hlid].fw_rate_idx = in wl18xx_tx_immediate_complete()
149 wl->links[hlid].fw_rate_mbps = in wl18xx_tx_immediate_complete()
Dacx.c100 int wl18xx_acx_peer_ht_operation_mode(struct wl1271 *wl, u8 hlid, bool wide) in wl18xx_acx_peer_ht_operation_mode() argument
106 hlid, wide); in wl18xx_acx_peer_ht_operation_mode()
114 acx->hlid = hlid; in wl18xx_acx_peer_ht_operation_mode()
139 u32 rate_set, u8 hlid) in wl18xx_acx_set_peer_cap() argument
170 acx->hlid = hlid; in wl18xx_acx_set_peer_cap()
Dacx.h297 u8 hlid; member
317 u8 hlid; member
394 int wl18xx_acx_peer_ht_operation_mode(struct wl1271 *wl, u8 hlid, bool wide);
398 u32 rate_set, u8 hlid);
Dmain.c1092 "len: %d life: %d mem: %d", desc->hlid, in wl18xx_set_tx_desc_data_len()
1209 fw_status->counters.hlid = in wl18xx_convert_fw_status()
1210 int_fw_status->counters.hlid; in wl18xx_convert_fw_status()
1634 wl18xx_acx_peer_ht_operation_mode(wl, wlvif->sta.hlid, wide); in wl18xx_sta_rc_update()
1642 u32 rate_set, u8 hlid) in wl18xx_set_peer_cap() argument
1645 rate_set, hlid); in wl18xx_set_peer_cap()
1648 static bool wl18xx_lnk_high_prio(struct wl1271 *wl, u8 hlid, in wl18xx_lnk_high_prio() argument
1662 if (test_bit(hlid, &suspend_bitmap)) in wl18xx_lnk_high_prio()
1666 if (test_bit(hlid, &wl->fw_fast_lnk_map) && in wl18xx_lnk_high_prio()
1667 !test_bit(hlid, &wl->ap_fw_ps_map)) in wl18xx_lnk_high_prio()
[all …]
Dwl18xx.h118 u8 hlid; member
/linux-5.19.10/drivers/net/wireless/ti/wl12xx/
Dmain.c1318 desc->hlid, in wl12xx_set_tx_desc_data_len()
1334 pad, desc->hlid, in wl12xx_set_tx_desc_data_len()
1651 u32 rate_set, u8 hlid) in wl12xx_set_peer_cap() argument
1654 hlid); in wl12xx_set_peer_cap()
1657 static bool wl12xx_lnk_high_prio(struct wl1271 *wl, u8 hlid, in wl12xx_lnk_high_prio() argument
1662 if (test_bit(hlid, &wl->fw_fast_lnk_map)) in wl12xx_lnk_high_prio()
1670 static bool wl12xx_lnk_low_prio(struct wl1271 *wl, u8 hlid, in wl12xx_lnk_low_prio() argument
/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c414 #define NPC_SCAN_HDR(name, hlid, hlt, hstart, hlen) \ in npc_scan_ldata() argument
416 if (lid == (hlid) && lt == (hlt)) { \ in npc_scan_ldata()