Lines Matching refs:hlid
177 static void wl1271_ps_filter_frames(struct wl1271 *wl, u8 hlid) in wl1271_ps_filter_frames() argument
186 while ((skb = skb_dequeue(&wl->links[hlid].tx_queue[i]))) { in wl1271_ps_filter_frames()
202 void wl1271_ps_link_start(struct wl1271 *wl, u8 hlid, bool clean_queues) in wl1271_ps_link_start() argument
206 if (test_bit(hlid, &wl->ap_ps_map)) in wl1271_ps_link_start()
210 "clean_queues %d", hlid, wl->links[hlid].allocated_blks, in wl1271_ps_link_start()
214 sta = ieee80211_find_sta(wl->vif, wl->links[hlid].addr); in wl1271_ps_link_start()
217 wl->links[hlid].addr); in wl1271_ps_link_start()
227 wl1271_ps_filter_frames(wl, hlid); in wl1271_ps_link_start()
229 __set_bit(hlid, &wl->ap_ps_map); in wl1271_ps_link_start()
232 void wl1271_ps_link_end(struct wl1271 *wl, u8 hlid) in wl1271_ps_link_end() argument
236 if (!test_bit(hlid, &wl->ap_ps_map)) in wl1271_ps_link_end()
239 wl1271_debug(DEBUG_PSM, "end mac80211 PSM on hlid %d", hlid); in wl1271_ps_link_end()
241 __clear_bit(hlid, &wl->ap_ps_map); in wl1271_ps_link_end()
244 sta = ieee80211_find_sta(wl->vif, wl->links[hlid].addr); in wl1271_ps_link_end()
247 wl->links[hlid].addr); in wl1271_ps_link_end()