Skip to content

netlink carrier race workaround

Johannes Berg linux-wireless netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3wifi: nl80211: refactor nl80211_send_mlme_event() argumentsnet/wireless/nl80211.c+67 -310 replies
2/3wifi: cfg80211: make RX assoc data constinclude/net/cfg80211.h net/wireless/mlme.c net/wireless/nl80211.c +2 more+5 -50 replies
3/3wifi: nl80211: report carrier up count to userspaceinclude/uapi/linux/nl80211.h net/wireless/nl80211.c+37 -260 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH wireless-next 0/3] netlink carrier race workaround

Hi again,

So I had put this aside for a while, but really got annoyed by all the test failures now ... thinking about this again I basically now arrived at a variant of solution #3 previously outlined, and I've kind of convinced myself that userspace should always get an event with a new carrier_up_count as it does today.

So I've implemented a new nl80211 attribute carrying the current carrier_up_count at the time of the wireless event, so that we can (in userspace) wait for the corresponding rtnetlink event if we haven't seen it yet. Patches for wpa_supplicant to follow.

johannes