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 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.


--
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