Scroll to navigation

CFG80211_ROAMED(9) Actions and configuration CFG80211_ROAMED(9)

NAME

cfg80211_roamed - notify cfg80211 of roaming

SYNOPSIS

void cfg80211_roamed(struct net_device * dev, struct cfg80211_roam_info * info, gfp_t gfp);

ARGUMENTS

dev

network device

info

information about the new BSS. struct cfg80211_roam_info.

gfp

allocation flags

DESCRIPTION

This function may be called with the driver passing either the BSSID of the new AP or passing the bss entry to avoid a race in timeout of the bss entry. It should be called by the underlying driver whenever it roamed from one AP to another while connected. Drivers which have roaming implemented in firmware should pass the bss entry to avoid a race in bss entry timeout where the bss entry of the new AP is seen in the driver, but gets timed out by the time it is accessed in __cfg80211_roamed due to delay in scheduling rdev->event_work. In case of any failures, the reference is released either in cfg80211_roamed or in __cfg80211_romed, Otherwise, it will be released while diconneting from the current bss.

AUTHOR

Johannes Berg <johannes@sipsolutions.net>

Author.

COPYRIGHT

June 2023 Kernel Hackers Manual 3.10