Commit 3ed8f2c6 authored by Luciano Coelho's avatar Luciano Coelho Committed by John W. Linville

wl1271: some new configuration values according to new reference

In the new reference driver, some of the firmware configuration values have
been changed.  This patch changes them in the wl1271 driver accordingly.
Signed-off-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: default avatarJuuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 8cf5e8e5
...@@ -885,8 +885,8 @@ struct acx_tx_config_options { ...@@ -885,8 +885,8 @@ struct acx_tx_config_options {
__le16 tx_compl_threshold; /* number of packets */ __le16 tx_compl_threshold; /* number of packets */
} __attribute__ ((packed)); } __attribute__ ((packed));
#define ACX_RX_MEM_BLOCKS 64 #define ACX_RX_MEM_BLOCKS 70
#define ACX_TX_MIN_MEM_BLOCKS 64 #define ACX_TX_MIN_MEM_BLOCKS 40
#define ACX_TX_DESCRIPTORS 32 #define ACX_TX_DESCRIPTORS 32
#define ACX_NUM_SSID_PROFILES 1 #define ACX_NUM_SSID_PROFILES 1
......
...@@ -67,10 +67,10 @@ static struct conf_drv_settings default_conf = { ...@@ -67,10 +67,10 @@ static struct conf_drv_settings default_conf = {
.ps_poll_timeout = 15, .ps_poll_timeout = 15,
.upsd_timeout = 15, .upsd_timeout = 15,
.rts_threshold = 2347, .rts_threshold = 2347,
.rx_cca_threshold = 0xFFEF, .rx_cca_threshold = 0,
.irq_blk_threshold = 0, .irq_blk_threshold = 0xFFFF,
.irq_pkt_threshold = USHORT_MAX, .irq_pkt_threshold = 0,
.irq_timeout = 5, .irq_timeout = 600,
.queue_type = CONF_RX_QUEUE_TYPE_LOW_PRIORITY, .queue_type = CONF_RX_QUEUE_TYPE_LOW_PRIORITY,
}, },
.tx = { .tx = {
...@@ -172,8 +172,8 @@ static struct conf_drv_settings default_conf = { ...@@ -172,8 +172,8 @@ static struct conf_drv_settings default_conf = {
} }
}, },
.frag_threshold = IEEE80211_MAX_FRAG_THRESHOLD, .frag_threshold = IEEE80211_MAX_FRAG_THRESHOLD,
.tx_compl_timeout = 5, .tx_compl_timeout = 700,
.tx_compl_threshold = 5 .tx_compl_threshold = 4
}, },
.conn = { .conn = {
.wake_up_event = CONF_WAKE_UP_EVENT_DTIM, .wake_up_event = CONF_WAKE_UP_EVENT_DTIM,
...@@ -186,12 +186,12 @@ static struct conf_drv_settings default_conf = { ...@@ -186,12 +186,12 @@ static struct conf_drv_settings default_conf = {
.rule = CONF_BCN_RULE_PASS_ON_APPEARANCE, .rule = CONF_BCN_RULE_PASS_ON_APPEARANCE,
} }
}, },
.synch_fail_thold = 5, .synch_fail_thold = 10,
.bss_lose_timeout = 100, .bss_lose_timeout = 100,
.beacon_rx_timeout = 10000, .beacon_rx_timeout = 10000,
.broadcast_timeout = 20000, .broadcast_timeout = 20000,
.rx_broadcast_in_ps = 1, .rx_broadcast_in_ps = 1,
.ps_poll_threshold = 4, .ps_poll_threshold = 20,
.sig_trigger_count = 2, .sig_trigger_count = 2,
.sig_trigger = { .sig_trigger = {
[0] = { [0] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment