Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193839
b: refs/heads/master
c: 4695dc9
h: refs/heads/master
i:
  193837: 121af78
  193835: 87400b3
  193831: 7faa0b9
  193823: d6b59de
v: v3
  • Loading branch information
Kalle Valo authored and John W. Linville committed Mar 23, 2010
1 parent f706bb9 commit 8e4750b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 522ac25048676b2141d0560841654323339c0cbb
refs/heads/master: 4695dc917d9ec7a38cb4f91fceb2b78aaec1f945
10 changes: 8 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/wl1271_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1781,6 +1781,7 @@ static int wl1271_op_conf_tx(struct ieee80211_hw *hw, u16 queue,
const struct ieee80211_tx_queue_params *params)
{
struct wl1271 *wl = hw->priv;
u8 ps_scheme;
int ret;

mutex_lock(&wl->mutex);
Expand All @@ -1798,11 +1799,15 @@ static int wl1271_op_conf_tx(struct ieee80211_hw *hw, u16 queue,
if (ret < 0)
goto out_sleep;

if (params->uapsd)
ps_scheme = CONF_PS_SCHEME_UPSD_TRIGGER;
else
ps_scheme = CONF_PS_SCHEME_LEGACY;

ret = wl1271_acx_tid_cfg(wl, wl1271_tx_get_queue(queue),
CONF_CHANNEL_TYPE_EDCF,
wl1271_tx_get_queue(queue),
CONF_PS_SCHEME_LEGACY,
CONF_ACK_POLICY_LEGACY, 0, 0);
ps_scheme, CONF_ACK_POLICY_LEGACY, 0, 0);
if (ret < 0)
goto out_sleep;

Expand Down Expand Up @@ -2083,6 +2088,7 @@ int wl1271_init_ieee80211(struct wl1271 *wl)
IEEE80211_HW_NOISE_DBM |
IEEE80211_HW_BEACON_FILTER |
IEEE80211_HW_SUPPORTS_PS |
IEEE80211_HW_SUPPORTS_UAPSD |
IEEE80211_HW_HAS_RATE_CONTROL;

wl->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) |
Expand Down

0 comments on commit 8e4750b

Please sign in to comment.