cmd.h (750e9d15e2fe93fec696893be7b120b2940378d0) cmd.h (e7d323243f567b8f3ff1324dc8a6f17dd36b4106)
1/*
2 * This file is part of wl18xx
3 *
4 * Copyright (C) 2011 Texas Instruments. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.

--- 45 unchanged lines hidden (view full) ---

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
1/*
2 * This file is part of wl18xx
3 *
4 * Copyright (C) 2011 Texas Instruments. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.

--- 45 unchanged lines hidden (view full) ---

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
62struct wl18xx_cmd_dfs_radar_debug {
63 struct wl1271_cmd_header header;
64
65 u8 channel;
66 u8 padding[3];
67} __packed;
68
62/* cac_start and cac_stop share the same params */
63struct wlcore_cmd_cac_start {
64 struct wl1271_cmd_header header;
65
66 u8 role_id;
67 u8 channel;
68 u8 band;
69 u8 bandwidth;
70} __packed;
71
72int wl18xx_cmd_channel_switch(struct wl1271 *wl,
73 struct wl12xx_vif *wlvif,
74 struct ieee80211_channel_switch *ch_switch);
75int wl18xx_cmd_smart_config_start(struct wl1271 *wl, u32 group_bitmap);
76int wl18xx_cmd_smart_config_stop(struct wl1271 *wl);
77int wl18xx_cmd_smart_config_set_group_key(struct wl1271 *wl, u16 group_id,
78 u8 key_len, u8 *key);
79int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start);
69/* cac_start and cac_stop share the same params */
70struct wlcore_cmd_cac_start {
71 struct wl1271_cmd_header header;
72
73 u8 role_id;
74 u8 channel;
75 u8 band;
76 u8 bandwidth;
77} __packed;
78
79int wl18xx_cmd_channel_switch(struct wl1271 *wl,
80 struct wl12xx_vif *wlvif,
81 struct ieee80211_channel_switch *ch_switch);
82int wl18xx_cmd_smart_config_start(struct wl1271 *wl, u32 group_bitmap);
83int wl18xx_cmd_smart_config_stop(struct wl1271 *wl);
84int wl18xx_cmd_smart_config_set_group_key(struct wl1271 *wl, u16 group_id,
85 u8 key_len, u8 *key);
86int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start);
87int wl18xx_cmd_radar_detection_debug(struct wl1271 *wl, u8 channel);
80#endif
88#endif