Could you also update the description of ieee80211_set_active_links() (include/net/mac80211.h) to align the changes?
I think it would be like:
change_vif_links(0x11)
assign_vif_chanctx(link_id=4)
change_sta_links(0x11) for each affected STA (the AP)
[...]
change_sta_links(0x10) for each affected STA (the AP)
unassign_vif_chanctx(link_id=0)
change_vif_links(0x10)