Lines Matching refs:hlid
77 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()
149 void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) in wl12xx_ps_link_end() argument
154 if (!test_bit(hlid, &wl->ap_ps_map)) in wl12xx_ps_link_end()
157 wl1271_debug(DEBUG_PSM, "end mac80211 PSM on hlid %d", hlid); in wl12xx_ps_link_end()
159 __clear_bit(hlid, &wl->ap_ps_map); in wl12xx_ps_link_end()
162 sta = ieee80211_find_sta(vif, wl->links[hlid].addr); in wl12xx_ps_link_end()
165 wl->links[hlid].addr); in wl12xx_ps_link_end()