diff options
Diffstat (limited to 'drivers/net/wireless/ti/wl12xx/cmd.h')
-rw-r--r-- | drivers/net/wireless/ti/wl12xx/cmd.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/cmd.h b/drivers/net/wireless/ti/wl12xx/cmd.h index 140a0e8829d5..32cbad54e993 100644 --- a/drivers/net/wireless/ti/wl12xx/cmd.h +++ b/drivers/net/wireless/ti/wl12xx/cmd.h | |||
@@ -103,10 +103,30 @@ struct wl1271_ext_radio_parms_cmd { | |||
103 | u8 padding[3]; | 103 | u8 padding[3]; |
104 | } __packed; | 104 | } __packed; |
105 | 105 | ||
106 | struct wl12xx_cmd_channel_switch { | ||
107 | struct wl1271_cmd_header header; | ||
108 | |||
109 | u8 role_id; | ||
110 | |||
111 | /* The new serving channel */ | ||
112 | u8 channel; | ||
113 | /* Relative time of the serving channel switch in TBTT units */ | ||
114 | u8 switch_time; | ||
115 | /* Stop the role TX, should expect it after radar detection */ | ||
116 | u8 stop_tx; | ||
117 | /* The target channel tx status 1-stopped 0-open*/ | ||
118 | u8 post_switch_tx_disable; | ||
119 | |||
120 | u8 padding[3]; | ||
121 | } __packed; | ||
122 | |||
106 | int wl1271_cmd_general_parms(struct wl1271 *wl); | 123 | int wl1271_cmd_general_parms(struct wl1271 *wl); |
107 | int wl128x_cmd_general_parms(struct wl1271 *wl); | 124 | int wl128x_cmd_general_parms(struct wl1271 *wl); |
108 | int wl1271_cmd_radio_parms(struct wl1271 *wl); | 125 | int wl1271_cmd_radio_parms(struct wl1271 *wl); |
109 | int wl128x_cmd_radio_parms(struct wl1271 *wl); | 126 | int wl128x_cmd_radio_parms(struct wl1271 *wl); |
110 | int wl1271_cmd_ext_radio_parms(struct wl1271 *wl); | 127 | int wl1271_cmd_ext_radio_parms(struct wl1271 *wl); |
128 | int wl12xx_cmd_channel_switch(struct wl1271 *wl, | ||
129 | struct wl12xx_vif *wlvif, | ||
130 | struct ieee80211_channel_switch *ch_switch); | ||
111 | 131 | ||
112 | #endif /* __WL12XX_CMD_H__ */ | 132 | #endif /* __WL12XX_CMD_H__ */ |