3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00

netdev: add NETDEV_EVENT_FT_ROAMED

FT is now driven (mostly) by station which removes the connect
callback. Instead once FT is completed, keys set, etc. netdev
will send an event to notify station.
This commit is contained in:
James Prestwood 2022-09-21 15:31:44 -07:00 committed by Denis Kenzior
parent 3b87e12c49
commit abcacce4be
2 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,7 @@ enum netdev_event {
NETDEV_EVENT_RSSI_THRESHOLD_HIGH, NETDEV_EVENT_RSSI_THRESHOLD_HIGH,
NETDEV_EVENT_RSSI_LEVEL_NOTIFY, NETDEV_EVENT_RSSI_LEVEL_NOTIFY,
NETDEV_EVENT_PACKET_LOSS_NOTIFY, NETDEV_EVENT_PACKET_LOSS_NOTIFY,
NETDEV_EVENT_FT_ROAMED,
}; };
enum netdev_watch_event { enum netdev_watch_event {

View File

@ -3129,6 +3129,8 @@ static void station_netdev_event(struct netdev *netdev, enum netdev_event event,
case NETDEV_EVENT_PACKET_LOSS_NOTIFY: case NETDEV_EVENT_PACKET_LOSS_NOTIFY:
station_packets_lost(station, l_get_u32(event_data)); station_packets_lost(station, l_get_u32(event_data));
break; break;
case NETDEV_EVENT_FT_ROAMED:
break;
} }
} }