Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314115
b: refs/heads/master
c: 60462b4
h: refs/heads/master
i:
  314113: 380eb3b
  314111: 36bccb5
v: v3
  • Loading branch information
Luciano Coelho committed Jun 5, 2012
1 parent 5cfca1b commit e3de603
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 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: 174a73034cdbe2bb2784c9963e75d196364c348e
refs/heads/master: 60462b4885450410df03cf3829367b285baf9ab8
10 changes: 9 additions & 1 deletion trunk/drivers/net/wireless/ti/wlcore/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include "cmd.h"
#include "event.h"
#include "tx.h"
#include "hw_ops.h"

#define WL1271_CMD_FAST_POLL_COUNT 50

Expand Down Expand Up @@ -500,6 +501,7 @@ int wl12xx_cmd_role_start_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif)
struct wl12xx_cmd_role_start *cmd;
struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif);
struct ieee80211_bss_conf *bss_conf = &vif->bss_conf;
u32 supported_rates;
int ret;

wl1271_debug(DEBUG_CMD, "cmd role start ap %d", wlvif->role_id);
Expand Down Expand Up @@ -550,7 +552,13 @@ int wl12xx_cmd_role_start_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif)
memcpy(cmd->ap.ssid, bss_conf->ssid, bss_conf->ssid_len);
}

cmd->ap.local_rates = cpu_to_le32(0xffffffff);
supported_rates = CONF_TX_AP_ENABLED_RATES | CONF_TX_MCS_RATES |
wlcore_hw_ap_get_mimo_wide_rate_mask(wl, wlvif);

wl1271_debug(DEBUG_CMD, "cmd role start ap with supported_rates 0x%08x",
supported_rates);

cmd->ap.local_rates = cpu_to_le32(supported_rates);

switch (wlvif->band) {
case IEEE80211_BAND_2GHZ:
Expand Down

0 comments on commit e3de603

Please sign in to comment.