On 12/13/2024 10:51 AM, Ben Greear wrote: > Hello, > > While trying to better understand how MLO was working, I started > on some code to gather stats from the driver so that mac80211 has > visibility into it. > > > In particular, I added a small struct to hold per-link stats for up to 3 links > to the station_info struct. Then in the driver, I gather the available info > when mac80211 asks for the station info. > > > #define IEEE80211_MAX_STA_INFO_LINK 3 > /** > * struct station_info_link -- Link info > * > * Same definitions as in station_info, but for links. > */ > struct station_info_link { > u64 filled; > s8 rx_beacon_signal_avg; > struct rate_info txrate; > }; > > struct station_info { > .... > struct station_info_link link_info[IEEE80211_MAX_STA_INFO_LINK]; > } > > Is there any interest in this approach for the upstream kernel? > > Thanks, > Ben > There is definitely interest since Qualcomm is also working on an RFC for this functionality. You can wait for our proposal, or publish your own. In addition, Qualcomm is working on an RFC for supporting per-radio attributes via get/set wiphy for drivers that support multi-radio wiphys. We hope to have these RFCs out next week... /jeff