diff options
author | Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> | 2014-09-10 16:34:35 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-11 15:27:37 -0400 |
commit | f772ebfb941a58af9e7adf9117bc0bb4c7d22f28 (patch) | |
tree | d7d7120404be66a618e0be8d9ff36ee3382d38e4 /drivers/net/wireless/ath/wil6210/wil6210.h | |
parent | 8fe596274d08b12126b90c5b1092286f66ce6d65 (diff) | |
download | lwn-f772ebfb941a58af9e7adf9117bc0bb4c7d22f28.tar.gz lwn-f772ebfb941a58af9e7adf9117bc0bb4c7d22f28.zip |
wil6210: platform specific module
New module (wil_platform) for handling platform specific tasks
Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/wil6210.h')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/wil6210.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wil6210/wil6210.h b/drivers/net/wireless/ath/wil6210/wil6210.h index 5f20fabf55bf..d2e710e3ade5 100644 --- a/drivers/net/wireless/ath/wil6210/wil6210.h +++ b/drivers/net/wireless/ath/wil6210/wil6210.h @@ -21,10 +21,14 @@ #include <linux/wireless.h> #include <net/cfg80211.h> #include <linux/timex.h> +#include "wil_platform.h" + #define WIL_NAME "wil6210" #define WIL_FW_NAME "wil6210.fw" +#define WIL_MAX_BUS_REQUEST_KBPS 800000 /* ~6.1Gbps */ + struct wil_board { int board; #define WIL_BOARD_MARLON (1) @@ -437,6 +441,9 @@ struct wil6210_priv { /* debugfs */ struct dentry *debug; struct debugfs_blob_wrapper blobs[ARRAY_SIZE(fw_mapping)]; + + void *platform_handle; + struct wil_platform_ops platform_ops; }; #define wil_to_wiphy(i) (i->wdev->wiphy) |