wlcore: update channel_switch/stop_channel_switch commands
Some fields were added to the channel_switch and stop_channel_switch commands. Unfortunately, the new 18xx channel_switch struct is not backward compatible with the 12xx channel switch struct. Add a new channel_switch op to wlcore, and update the driver accordingly. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
This commit is contained in:

committed by
Luciano Coelho

parent
b6acb4e00e
commit
fcab189027
@@ -34,6 +34,7 @@
|
||||
|
||||
#include "reg.h"
|
||||
#include "conf.h"
|
||||
#include "cmd.h"
|
||||
#include "acx.h"
|
||||
#include "tx.h"
|
||||
#include "wl18xx.h"
|
||||
@@ -1335,6 +1336,7 @@ static struct wlcore_ops wl18xx_ops = {
|
||||
.handle_static_data = wl18xx_handle_static_data,
|
||||
.get_spare_blocks = wl18xx_get_spare_blocks,
|
||||
.set_key = wl18xx_set_key,
|
||||
.channel_switch = wl18xx_cmd_channel_switch,
|
||||
.pre_pkt_send = wl18xx_pre_pkt_send,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user