Skip to content

libwifi: mtk: add get_mode implementation for ex400

Bartlomiej Grzeskowiak requested to merge add_nlwifi_get_mode into devel

@janusz @Marek please review
Interface mode is taken from nl driver and mapped to wifi_mode.
Tested with:
[STA]
ubus call wifi.wps start '{"vif" : "wlan1_1","mode" : "pbc", "role" : "enrollee" }'
daemon.err wifimngr[16208]: nl_type=2 wifi_mode=3

[AP]
ubus call wifi.wps start '{"vif" : "wlan1","mode" : "pbc", "role" : "registrar" }'
daemon.err wifimngr[16208]: nl_type=3 wifi_mode=1

Signed-off-by: Bartlomiej Grzeskowiak bartlomiej.grzeskowiak@iopsys.eu

Merge request reports