diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2009-10-13 05:47:40 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:08 -0400 |
commit | 8793f9bb19c00b26532e37f1f516e1d9c7bc0476 (patch) | |
tree | cb1c12ec546584761894976f1258a7cb236f0287 /drivers/net/wireless/wl12xx/wl1271_main.c | |
parent | 2b60100bf04aba28133ccb24efd85f72fb1a5494 (diff) |
wl1271: Add config structure for RX path parameters
Add a configuration structure for RX path parameters, and set default
configuration values there.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_main.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_main.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c index 69bc929e1859..d04706de7f49 100644 --- a/drivers/net/wireless/wl12xx/wl1271_main.c +++ b/drivers/net/wireless/wl12xx/wl1271_main.c | |||
@@ -61,6 +61,18 @@ static void wl1271_conf_init(struct wl1271 *wl) | |||
61 | .beacon_miss_threshold = 60, | 61 | .beacon_miss_threshold = 60, |
62 | .rate_adaptation_threshold = CONF_HW_BIT_RATE_12MBPS, | 62 | .rate_adaptation_threshold = CONF_HW_BIT_RATE_12MBPS, |
63 | .rate_adaptation_snr = 0 | 63 | .rate_adaptation_snr = 0 |
64 | }, | ||
65 | .rx = { | ||
66 | .rx_msdu_life_time = 512000, | ||
67 | .packet_detection_threshold = 0, | ||
68 | .ps_poll_timeout = 15, | ||
69 | .upsd_timeout = 15, | ||
70 | .rts_threshold = 2347, | ||
71 | .rx_cca_threshold = 0xFFEF, | ||
72 | .irq_blk_threshold = 0, | ||
73 | .irq_pkt_threshold = USHORT_MAX, | ||
74 | .irq_timeout = 5, | ||
75 | .queue_type = CONF_RX_QUEUE_TYPE_LOW_PRIORITY, | ||
64 | } | 76 | } |
65 | }; | 77 | }; |
66 | 78 | ||