Commit 23ee9bf8 authored by Luciano Coelho's avatar Luciano Coelho

wl18xx: add runtime configuration parameters

Now wlcore requires the lower drivers to set the correct
configuration.  Move the existing private configuration to the proper
place and add all generic configuration parameters.

The important changes are in Tx interrupt pacing and Rx BA window size.
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
parent 169da04f
......@@ -48,9 +48,7 @@ struct wl18xx_conf_phy {
u8 secondary_clock_setting_time;
};
struct wl18xx_conf {
/* TODO: move the wlcore conf here? */
struct wl18xx_priv_conf {
struct wl18xx_conf_phy phy;
};
......
This diff is collapsed.
......@@ -22,6 +22,7 @@
#ifndef __WL18XX_PRIV_H__
#define __WL18XX_PRIV_H__
#include "conf.h"
#define WL18XX_CMD_MAX_SIZE 740
......@@ -29,6 +30,8 @@ struct wl18xx_priv {
/* buffer for sending commands to FW */
u8 cmd_buf[WL18XX_CMD_MAX_SIZE];
struct wl18xx_priv_conf conf;
/* Index of last released Tx desc in FW */
u8 last_fw_rls_idx;
};
......
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