aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2014-07-10 20:01:30 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-07-15 15:59:55 -0400
commit936c50dd0605d7d81772f53700ef42f45525ffad (patch)
treef35f362593ebe74439a2f9c9465b947e906fdd38 /drivers/net/wireless/ti
parent71a301bb461da1e42e6d2764d99c683289c96f33 (diff)
wlcore: add smart config definitions
Add definitions for the smart config commands. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ti')
-rw-r--r--drivers/net/wireless/ti/wl18xx/cmd.h14
-rw-r--r--drivers/net/wireless/ti/wlcore/cmd.h3
2 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/cmd.h b/drivers/net/wireless/ti/wl18xx/cmd.h
index 6687d10899ac..03b746bf84f7 100644
--- a/drivers/net/wireless/ti/wl18xx/cmd.h
+++ b/drivers/net/wireless/ti/wl18xx/cmd.h
@@ -45,6 +45,20 @@ struct wl18xx_cmd_channel_switch {
45 u8 padding[2]; 45 u8 padding[2];
46} __packed; 46} __packed;
47 47
48struct wl18xx_cmd_smart_config_start {
49 struct wl1271_cmd_header header;
50
51 __le32 group_id_bitmask;
52} __packed;
53
54struct wl18xx_cmd_smart_config_set_group_key {
55 struct wl1271_cmd_header header;
56
57 __le32 group_id;
58
59 u8 key[16];
60} __packed;
61
48int wl18xx_cmd_channel_switch(struct wl1271 *wl, 62int wl18xx_cmd_channel_switch(struct wl1271 *wl,
49 struct wl12xx_vif *wlvif, 63 struct wl12xx_vif *wlvif,
50 struct ieee80211_channel_switch *ch_switch); 64 struct ieee80211_channel_switch *ch_switch);
diff --git a/drivers/net/wireless/ti/wlcore/cmd.h b/drivers/net/wireless/ti/wlcore/cmd.h
index 6788d7356ca5..ca6a28b03f8f 100644
--- a/drivers/net/wireless/ti/wlcore/cmd.h
+++ b/drivers/net/wireless/ti/wlcore/cmd.h
@@ -170,6 +170,9 @@ enum wl1271_commands {
170 170
171 /* start of 18xx specific commands */ 171 /* start of 18xx specific commands */
172 CMD_DFS_CHANNEL_CONFIG = 60, 172 CMD_DFS_CHANNEL_CONFIG = 60,
173 CMD_SMART_CONFIG_START = 61,
174 CMD_SMART_CONFIG_STOP = 62,
175 CMD_SMART_CONFIG_SET_GROUP_KEY = 63,
173 176
174 MAX_COMMAND_ID = 0xFFFF, 177 MAX_COMMAND_ID = 0xFFFF,
175}; 178};