Search Linux Wireless

RFC on per-link stats reporting.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux