Lines Matching refs:wlvif
15 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl1271_ps_set_mode() argument
27 ret = wl1271_acx_wake_up_conditions(wl, wlvif, in wl1271_ps_set_mode()
35 ret = wl1271_cmd_ps_mode(wl, wlvif, mode, timeout); in wl1271_ps_set_mode()
39 set_bit(WLVIF_FLAG_IN_PS, &wlvif->flags); in wl1271_ps_set_mode()
45 if ((wlvif->band == NL80211_BAND_2GHZ) && in wl1271_ps_set_mode()
46 (wlvif->basic_rate < CONF_HW_BIT_RATE_9MBPS)) { in wl1271_ps_set_mode()
47 ret = wl1271_acx_bet_enable(wl, wlvif, true); in wl1271_ps_set_mode()
56 if ((wlvif->band == NL80211_BAND_2GHZ) && in wl1271_ps_set_mode()
57 (wlvif->basic_rate < CONF_HW_BIT_RATE_9MBPS)) { in wl1271_ps_set_mode()
58 ret = wl1271_acx_bet_enable(wl, wlvif, false); in wl1271_ps_set_mode()
63 ret = wl1271_cmd_ps_mode(wl, wlvif, mode, 0); in wl1271_ps_set_mode()
67 clear_bit(WLVIF_FLAG_IN_PS, &wlvif->flags); in wl1271_ps_set_mode()
105 if (lnk->wlvif) in wl1271_ps_filter_frames()
106 lnk->wlvif->tx_queue_count[i] -= filtered[i]; in wl1271_ps_filter_frames()
113 void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, in wl12xx_ps_link_start() argument
117 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl12xx_ps_link_start()
119 if (WARN_ON_ONCE(wlvif->bss_type != BSS_TYPE_AP_BSS)) in wl12xx_ps_link_start()
122 if (!test_bit(hlid, wlvif->ap.sta_hlid_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
152 struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); in wl12xx_ps_link_end()