• Home
  • Raw
  • Download

Lines Matching refs:wlvif

38 	struct wl12xx_vif *wlvif;  in wl1271_elp_work()  local
58 wl12xx_for_each_wlvif(wl, wlvif) { in wl1271_elp_work()
59 if (wlvif->bss_type == BSS_TYPE_AP_BSS) in wl1271_elp_work()
62 if (!test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags) && in wl1271_elp_work()
63 test_bit(WLVIF_FLAG_IN_USE, &wlvif->flags)) in wl1271_elp_work()
83 struct wl12xx_vif *wlvif; in wl1271_ps_elp_sleep() local
93 wl12xx_for_each_wlvif(wl, wlvif) { in wl1271_ps_elp_sleep()
94 if (wlvif->bss_type == BSS_TYPE_AP_BSS) in wl1271_ps_elp_sleep()
97 if (!test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags) && in wl1271_ps_elp_sleep()
98 test_bit(WLVIF_FLAG_IN_USE, &wlvif->flags)) in wl1271_ps_elp_sleep()
175 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_ps_set_mode() argument
187 ret = wl1271_acx_wake_up_conditions(wl, wlvif, in wl1271_ps_set_mode()
195 ret = wl1271_cmd_ps_mode(wl, wlvif, mode, timeout); in wl1271_ps_set_mode()
199 set_bit(WLVIF_FLAG_IN_PS, &wlvif->flags); in wl1271_ps_set_mode()
205 if ((wlvif->band == IEEE80211_BAND_2GHZ) && in wl1271_ps_set_mode()
206 (wlvif->basic_rate < CONF_HW_BIT_RATE_9MBPS)) { in wl1271_ps_set_mode()
207 ret = wl1271_acx_bet_enable(wl, wlvif, true); in wl1271_ps_set_mode()
216 if ((wlvif->band == IEEE80211_BAND_2GHZ) && in wl1271_ps_set_mode()
217 (wlvif->basic_rate < CONF_HW_BIT_RATE_9MBPS)) { in wl1271_ps_set_mode()
218 ret = wl1271_acx_bet_enable(wl, wlvif, false); in wl1271_ps_set_mode()
223 ret = wl1271_cmd_ps_mode(wl, wlvif, mode, 0); in wl1271_ps_set_mode()
227 clear_bit(WLVIF_FLAG_IN_PS, &wlvif->flags); in wl1271_ps_set_mode()
265 if (lnk->wlvif) in wl1271_ps_filter_frames()
266 lnk->wlvif->tx_queue_count[i] -= filtered[i]; in wl1271_ps_filter_frames()
273 void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_ps_link_start() argument
277 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl12xx_ps_link_start()
305 void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) in wl12xx_ps_link_end() argument
308 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl12xx_ps_link_end()