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