Search Linux Wireless

Re: [PATCH] mac80211: add VHT capabilities station debugfs file

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

 



On Fri, 2013-03-01 at 14:27 -0800, Joe Perches wrote:
> On Fri, 2013-03-01 at 23:12 +0100, Johannes Berg wrote:
> > Add a new debugfs file to view a station's VHT capabilities.
> []
> > diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c
> []
> > @@ -325,6 +325,36 @@ static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf,
> >  }
> >  STA_OPS(ht_capa);
> >  
> > +static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf,
> > +				 size_t count, loff_t *ppos)
> > +{
> > +	char buf[512], *p = buf;
> 
> 512?  Kinda large don't you think?
> You use maybe 128.

Ah, well, copy/paste from HT, and then I removed the printing of flags
because I was too lazy to write a bunch of code for it ... I guess I'll
shrink it.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux