Commit 936c50dd authored by Eliad Peller's avatar Eliad Peller Committed by John W. Linville

wlcore: add smart config definitions

Add definitions for the smart config commands.
Signed-off-by: default avatarEliad Peller <eliad@wizery.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 71a301bb
...@@ -45,6 +45,20 @@ struct wl18xx_cmd_channel_switch { ...@@ -45,6 +45,20 @@ struct wl18xx_cmd_channel_switch {
u8 padding[2]; u8 padding[2];
} __packed; } __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, int wl18xx_cmd_channel_switch(struct wl1271 *wl,
struct wl12xx_vif *wlvif, struct wl12xx_vif *wlvif,
struct ieee80211_channel_switch *ch_switch); struct ieee80211_channel_switch *ch_switch);
......
...@@ -170,6 +170,9 @@ enum wl1271_commands { ...@@ -170,6 +170,9 @@ enum wl1271_commands {
/* start of 18xx specific commands */ /* start of 18xx specific commands */
CMD_DFS_CHANNEL_CONFIG = 60, 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, MAX_COMMAND_ID = 0xFFFF,
}; };
......
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