CT firmware beta-15 can now configure arbitrary rate-sets.

2015-09-15 Thread Ben Greear
Here is the changelog note. This requires some corresponding driver patchs to enable configuring the rateset (and fetching the tx-ratectrl memory from the host) I tested this on my 4.0.4+ kernel. Should be useful for anyone trying make a station transmit in pure /b mode. And, likely could

[PATCH] ath10k: Fix CCK rate definitions.

2015-09-15 Thread greearb
From: Ben Greear The old values did NOT match what is found in 10.1.467 firmware. I figure it is likely it is wrong for the others as well. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/hw.h | 14 +++--- 1 file

Re: [PATCH V3 2/2] debugfs: don't assume sizeof(bool) to be 4 bytes

2015-09-15 Thread Viresh Kumar
On 15-09-15, 10:04, Steven Rostedt wrote: > On Tue, 15 Sep 2015 14:04:59 +0530 > Viresh Kumar wrote: > > > diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c > > index 2614a839c60d..f11e17ad7834 100644 > > --- a/drivers/acpi/ec.c > > +++ b/drivers/acpi/ec.c > > @@

Re: [PATCH V3 2/2] debugfs: don't assume sizeof(bool) to be 4 bytes

2015-09-15 Thread Charles Keepax
On Tue, Sep 15, 2015 at 02:04:59PM +0530, Viresh Kumar wrote: > Long back 'bool' type used to be a typecast to 'int', but that changed > in v2.6.19. And that is a typecast to _Bool now, which (mostly) takes > just a byte. Anyway, the bool type is implementation defined, and better > we don't

Re: [PATCH V2] debugfs: don't assume sizeof(bool) to be 4 bytes

2015-09-15 Thread Viresh Kumar
On 14-09-15, 09:03, Greg KH wrote: > What ever ones you think it is relevant for :) "Relevant" is a relevant term :) So, the patch which defined the type bool as _Bool was added in v2.6.19 :) 6e2182874324 ("[PATCH] Generic boolean") So, I will try at least for v3.10+ as they are used by a lot

Re: [PATCH V2] debugfs: don't assume sizeof(bool) to be 4 bytes

2015-09-15 Thread Mark Brown
On Mon, Sep 14, 2015 at 09:21:54AM +0530, Viresh Kumar wrote: > Long back 'bool' type used to be a typecast to 'int', but that changed > in v2.6.19. And that is a typecast to _Bool now, which (mostly) takes > just a byte. Anyway, the bool type is implementation defined, and better > we don't

Re: [PATCH V2] debugfs: don't assume sizeof(bool) to be 4 bytes

2015-09-15 Thread Greg KH
On Mon, Sep 14, 2015 at 09:17:08PM +0530, Viresh Kumar wrote: > On 14-09-15, 17:39, Arnd Bergmann wrote: > > On Monday 14 September 2015 09:21:54 Viresh Kumar wrote: > > > diff --git a/drivers/acpi/ec_sys.c b/drivers/acpi/ec_sys.c > > > index b4c216bab22b..bea8e425a8de 100644 > > > ---

Re: [PATCH V2] debugfs: don't assume sizeof(bool) to be 4 bytes

2015-09-15 Thread Arnd Bergmann
On Monday 14 September 2015 09:21:54 Viresh Kumar wrote: > diff --git a/drivers/acpi/ec_sys.c b/drivers/acpi/ec_sys.c > index b4c216bab22b..bea8e425a8de 100644 > --- a/drivers/acpi/ec_sys.c > +++ b/drivers/acpi/ec_sys.c > @@ -128,7 +128,7 @@ static int acpi_ec_add_debugfs(struct acpi_ec *ec, >

Re: [PATCH V2] debugfs: don't assume sizeof(bool) to be 4 bytes

2015-09-15 Thread Viresh Kumar
On 14-09-15, 17:39, Arnd Bergmann wrote: > On Monday 14 September 2015 09:21:54 Viresh Kumar wrote: > > diff --git a/drivers/acpi/ec_sys.c b/drivers/acpi/ec_sys.c > > index b4c216bab22b..bea8e425a8de 100644 > > --- a/drivers/acpi/ec_sys.c > > +++ b/drivers/acpi/ec_sys.c > > @@ -128,7 +128,7 @@

Re: [PATCH V3 2/2] debugfs: don't assume sizeof(bool) to be 4 bytes

2015-09-15 Thread Steven Rostedt
On Tue, 15 Sep 2015 14:04:59 +0530 Viresh Kumar wrote: > diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c > index 2614a839c60d..f11e17ad7834 100644 > --- a/drivers/acpi/ec.c > +++ b/drivers/acpi/ec.c > @@ -1237,7 +1237,7 @@ ec_parse_device(acpi_handle handle, u32