]> git.karo-electronics.de Git - linux-beck.git/commitdiff
wlcore: add smart config definitions
authorEliad Peller <eliad@wizery.com>
Fri, 11 Jul 2014 00:01:30 +0000 (03:01 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Jul 2014 19:59:55 +0000 (15:59 -0400)
Add definitions for the smart config commands.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wl18xx/cmd.h
drivers/net/wireless/ti/wlcore/cmd.h

index 6687d10899acd4e9a130461ecdddbce07157a783..03b746bf84f77d66277a25eb7e3409314992327f 100644 (file)
@@ -45,6 +45,20 @@ struct wl18xx_cmd_channel_switch {
        u8 padding[2];
 } __packed;
 
+struct wl18xx_cmd_smart_config_start {
+       struct wl1271_cmd_header header;
+
+       __le32 group_id_bitmask;
+} __packed;
+
+struct wl18xx_cmd_smart_config_set_group_key {
+       struct wl1271_cmd_header header;
+
+       __le32 group_id;
+
+       u8 key[16];
+} __packed;
+
 int wl18xx_cmd_channel_switch(struct wl1271 *wl,
                              struct wl12xx_vif *wlvif,
                              struct ieee80211_channel_switch *ch_switch);
index 6788d7356ca5a8d6d4aab0c6d2404985f4a072e1..ca6a28b03f8f31b5b47b23b8db982df4dbf78f84 100644 (file)
@@ -170,6 +170,9 @@ enum wl1271_commands {
 
        /* start of 18xx specific commands */
        CMD_DFS_CHANNEL_CONFIG          = 60,
+       CMD_SMART_CONFIG_START          = 61,
+       CMD_SMART_CONFIG_STOP           = 62,
+       CMD_SMART_CONFIG_SET_GROUP_KEY  = 63,
 
        MAX_COMMAND_ID = 0xFFFF,
 };