Lines Matching refs:hlid
89 static void wl1271_tx_regulate_link(struct wl1271 *wl, u8 hlid) in wl1271_tx_regulate_link() argument
95 if (hlid < WL1271_AP_STA_HLID_START) in wl1271_tx_regulate_link()
98 fw_ps = test_bit(hlid, (unsigned long *)&wl->ap_fw_ps_map); in wl1271_tx_regulate_link()
99 tx_blks = wl->links[hlid].allocated_blks; in wl1271_tx_regulate_link()
106 wl1271_ps_link_start(wl, hlid, true); in wl1271_tx_regulate_link()
118 return wl_sta->hlid; in wl1271_tx_get_hlid()
131 u32 buf_offset, u8 hlid) in wl1271_tx_allocate() argument
161 wl->links[hlid].allocated_blks += total_blocks; in wl1271_tx_allocate()
177 u8 hlid) in wl1271_tx_fill_hdr() argument
213 desc->aid = hlid; in wl1271_tx_fill_hdr()
223 desc->hlid = hlid; in wl1271_tx_fill_hdr()
224 switch (hlid) { in wl1271_tx_fill_hdr()
251 "tx_attr: 0x%x len: %d life: %d mem: %d", pad, desc->hlid, in wl1271_tx_fill_hdr()
264 u8 hlid; in wl1271_prepare_tx_frame() local
292 hlid = wl1271_tx_get_hlid(skb); in wl1271_prepare_tx_frame()
294 hlid = TX_HW_DEFAULT_AID; in wl1271_prepare_tx_frame()
296 ret = wl1271_tx_allocate(wl, skb, extra, buf_offset, hlid); in wl1271_prepare_tx_frame()
302 wl1271_tx_regulate_link(wl, hlid); in wl1271_prepare_tx_frame()
305 wl1271_tx_fill_hdr(wl, skb, extra, info, hlid); in wl1271_prepare_tx_frame()
440 u8 hlid = wl1271_tx_get_hlid(skb); in wl1271_skb_queue_head() local
441 skb_queue_head(&wl->links[hlid].tx_queue[q], skb); in wl1271_skb_queue_head()
444 wl->last_tx_hlid = (hlid + AP_MAX_LINKS - 1) % AP_MAX_LINKS; in wl1271_skb_queue_head()
635 void wl1271_tx_reset_link_queues(struct wl1271 *wl, u8 hlid) in wl1271_tx_reset_link_queues() argument
643 while ((skb = skb_dequeue(&wl->links[hlid].tx_queue[i]))) { in wl1271_tx_reset_link_queues()