wl1271: Add config structure for TX path parameters
[linux-2.6.git] / drivers / net / wireless / wl12xx / wl1271_init.c
index 9abe062f187633b227a85dab48bfea78d2580490..a3fc4c97c518921a129bd8ea4e5b1ba82eee3b1c 100644 (file)
@@ -94,7 +94,7 @@ static int wl1271_init_rx_config(struct wl1271 *wl, u32 config, u32 filter)
 {
        int ret;
 
-       ret = wl1271_acx_rx_msdu_life_time(wl, RX_MSDU_LIFETIME_DEF);
+       ret = wl1271_acx_rx_msdu_life_time(wl);
        if (ret < 0)
                return ret;
 
@@ -125,7 +125,7 @@ static int wl1271_init_phy_config(struct wl1271 *wl)
        if (ret < 0)
                return ret;
 
-       ret = wl1271_acx_rts_threshold(wl, RTS_THRESHOLD_DEF);
+       ret = wl1271_acx_rts_threshold(wl, wl->conf.rx.rts_threshold);
        if (ret < 0)
                return ret;
 
@@ -382,7 +382,7 @@ int wl1271_hw_init(struct wl1271 *wl)
                goto out_free_memmap;
 
        /* Configure TX rate classes */
-       ret = wl1271_acx_rate_policies(wl, ACX_RATE_MASK_ALL);
+       ret = wl1271_acx_rate_policies(wl, CONF_TX_RATE_MASK_ALL);
        if (ret < 0)
                goto out_free_memmap;