linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* question on HE debugfs output
@ 2021-08-10  3:39 Ben Greear
  2021-08-20  9:17 ` Johannes Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Greear @ 2021-08-10  3:39 UTC (permalink / raw)
  To: linux-wireless

Hello Johannes,

While poking around in things, I noticed that the
he_capa debugfs is not showing the least-common-denominator, but rather
more specifically the peer's capabilities.

This could be bugs in how I'm using this, but thought I'd ask to
see if this was on purpose or not.

Code in question looks like this.  That sta->sta.he_cap is
from the peer as far as I can tell.  The local one is obtained
from the radio/driver (and then modified a bit in some hackings
I am doing).

static ssize_t sta_he_capa_read(struct file *file, char __user *userbuf,
				size_t count, loff_t *ppos)
{
	char *buf, *p;
	size_t buf_sz = PAGE_SIZE;
	struct sta_info *sta = file->private_data;
	struct ieee80211_sta_he_cap *hec = &sta->sta.he_cap;
	struct ieee80211_he_mcs_nss_supp *nss = &hec->he_mcs_nss_supp;

Thanks,
Ben

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-20 15:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-10  3:39 question on HE debugfs output Ben Greear
2021-08-20  9:17 ` Johannes Berg
2021-08-20 15:08   ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).