Skip to content

Commit 6bcf398

Browse files
drivers: wifi: siwx91x: Add support for link mode query
Mapped the link mode (wireless mode) from wireless info to the wifi status API. Signed-off-by: Muzaffar Ahmed <muzaffar.ahmed@silabs.com>
1 parent 31ef45e commit 6bcf398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/wifi/siwx91x/siwx91x_wifi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ int siwx91x_status(const struct device *dev, struct wifi_iface_status *status)
7373
if (FIELD_GET(SIWX91X_INTERFACE_MASK, interface) == SL_WIFI_CLIENT_INTERFACE) {
7474
sl_wifi_operational_statistics_t operational_statistics = { };
7575

76-
status->link_mode = WIFI_LINK_MODE_UNKNOWN;
76+
status->link_mode = wlan_info.wireless_mode;
7777
status->iface_mode = WIFI_MODE_INFRA;
7878
status->channel = wlan_info.channel_number;
7979
status->twt_capable = true;

0 commit comments

Comments
 (0)