wlcore: add dfs master restart calls
call wlcore_cmd_dfs_master_restart when starting the ap on a new channel (after csa is done). Add a new WLVIF_FLAG_BEACON_DISABLED flag to indicate that dfs_master_restart command is required. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
@@ -66,6 +66,13 @@ struct wl18xx_cmd_dfs_radar_debug {
|
||||
u8 padding[3];
|
||||
} __packed;
|
||||
|
||||
struct wl18xx_cmd_dfs_master_restart {
|
||||
struct wl1271_cmd_header header;
|
||||
|
||||
u8 role_id;
|
||||
u8 padding[3];
|
||||
} __packed;
|
||||
|
||||
/* cac_start and cac_stop share the same params */
|
||||
struct wlcore_cmd_cac_start {
|
||||
struct wl1271_cmd_header header;
|
||||
@@ -85,4 +92,5 @@ int wl18xx_cmd_smart_config_set_group_key(struct wl1271 *wl, u16 group_id,
|
||||
u8 key_len, u8 *key);
|
||||
int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start);
|
||||
int wl18xx_cmd_radar_detection_debug(struct wl1271 *wl, u8 channel);
|
||||
int wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user