Currently mac80211 use its default settings, it does not meet requirement of some driver such as ath12k. So extend its interface to driver for MLO connection. The default settings in mac80211 are: 1. all link address are random for station 2. active link is only for primary link for station. primary link: the link used by the latest exchange of successful (Re)Association Request/Response frames. Wen Gong (3): wifi: mac80211: add support to allow driver to generate local link address for station wifi: mac80211: add support to allow driver to set active link while connection for station wifi: mac80211: update link RX NSS by ieee80211_sta_set_rx_nss() in ieee80211_assoc_config_link() include/net/mac80211.h | 17 +++++++++++++ net/mac80211/driver-ops.h | 42 ++++++++++++++++++++++++++++++++ net/mac80211/link.c | 8 +++++++ net/mac80211/mlme.c | 26 +++++++++++++++----- net/mac80211/trace.h | 50 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 137 insertions(+), 6 deletions(-) base-commit: 3f257461ab0ab19806bae2bfde4c3cd88dbf050e -- 2.40.1