2 * This file is part of wl18xx
4 * Copyright (C) 2011 Texas Instruments. All rights reserved.
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.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22 #ifndef __WL18XX_CMD_H__
23 #define __WL18XX_CMD_H__
25 #include "../wlcore/wlcore.h"
26 #include "../wlcore/acx.h"
28 struct wl18xx_cmd_channel_switch
{
29 struct wl1271_cmd_header header
;
33 /* The new serving channel */
35 /* Relative time of the serving channel switch in TBTT units */
37 /* Stop the role TX, should expect it after radar detection */
40 __le32 local_supported_rates
;
48 int wl18xx_cmd_channel_switch(struct wl1271
*wl
,
49 struct wl12xx_vif
*wlvif
,
50 struct ieee80211_channel_switch
*ch_switch
);