Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158827
b: refs/heads/master
c: 191506e
h: refs/heads/master
i:
  158825: 5ed1dc4
  158823: ece4e69
v: v3
  • Loading branch information
Zhu Yi authored and John W. Linville committed Jul 10, 2009
1 parent 0337aeb commit c52c163
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 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: 13e0fe70960e95cdea89b71aa3d046ec71efac8c
refs/heads/master: 191506ecbce03f09f6afa76f1af069574bf99bec
13 changes: 9 additions & 4 deletions trunk/drivers/net/wireless/iwmc3200wifi/commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static struct coex_event iwm_sta_cm_prio_tbl[COEX_EVENTS_NUM] =
{4, 3, 0, COEX_UNASSOC_MANUAL_SCAN_FLAGS},
{3, 3, 0, COEX_UNASSOC_AUTO_SCAN_FLAGS},
{5, 5, 0, COEX_CALIBRATION_FLAGS},
{4, 4, 0, COEX_PERIODIC_CALIBRATION_FLAGS},
{3, 3, 0, COEX_PERIODIC_CALIBRATION_FLAGS},
{5, 4, 0, COEX_CONNECTION_ESTAB_FLAGS},
{4, 4, 0, COEX_ASSOCIATED_IDLE_FLAGS},
{4, 4, 0, COEX_ASSOC_MANUAL_SCAN_FLAGS},
Expand Down Expand Up @@ -345,8 +345,7 @@ int iwm_umac_set_config_var(struct iwm_priv *iwm, u16 key,
return ret;
}

int iwm_send_umac_config(struct iwm_priv *iwm,
__le32 reset_flags)
int iwm_send_umac_config(struct iwm_priv *iwm, __le32 reset_flags)
{
int ret;

Expand All @@ -373,6 +372,12 @@ int iwm_send_umac_config(struct iwm_priv *iwm,
if (ret < 0)
return ret;

ret = iwm_umac_set_config_fix(iwm, UMAC_PARAM_TBL_CFG_FIX,
CFG_WIRELESS_MODE,
iwm->conf.wireless_mode);
if (ret < 0)
return ret;

ret = iwm_umac_set_config_fix(iwm, UMAC_PARAM_TBL_CFG_FIX,
CFG_COEX_MODE, iwm->conf.coexist_mode);
if (ret < 0)
Expand Down Expand Up @@ -415,7 +420,7 @@ int iwm_send_umac_config(struct iwm_priv *iwm,
return ret;

ret = iwm_umac_set_config_fix(iwm, UMAC_PARAM_TBL_CFG_FIX,
CFG_PM_CTRL_FLAGS, 0x30001);
CFG_PM_CTRL_FLAGS, 0x1);
if (ret < 0)
return ret;

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/iwmc3200wifi/commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ enum {
CFG_TLC_SPATIAL_STREAM_SUPPORTED,
CFG_TLC_RETRY_PER_RATE,
CFG_TLC_RETRY_PER_HT_RATE,
CFG_TLC_FIXED_RATE,
CFG_TLC_FIXED_RATE_FLAGS,
CFG_TLC_FIXED_MCS,
CFG_TLC_CONTROL_FLAGS,
CFG_TLC_SR_MIN_FAIL,
CFG_TLC_SR_MIN_PASS,
Expand Down Expand Up @@ -232,6 +231,7 @@ struct iwm_umac_cmd_get_channel_list {
/* Wireless mode */
#define WIRELESS_MODE_11A 0x1
#define WIRELESS_MODE_11G 0x2
#define WIRELESS_MODE_11N 0x4

#define UMAC_PROFILE_EX_IE_REQUIRED 0x1
#define UMAC_PROFILE_QOS_ALLOWED 0x2
Expand Down

0 comments on commit c52c163

Please sign in to comment.