linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* wlan0: set_features() failed (-1); wanted 0x0000000000004008, left 0x0000000000004808
@ 2015-12-03  7:07 Kalle Valo
  2015-12-03  8:03 ` Janusz Dziedzic
  2015-12-03  8:04 ` Johannes Berg
  0 siblings, 2 replies; 5+ messages in thread
From: Kalle Valo @ 2015-12-03  7:07 UTC (permalink / raw)
  To: linux-wireless

Hi,

For few weeks (I think) I have seen these kind of messages:

ath10k_pci 0000:02:00.0 wlan0: set_features() failed (-1); wanted 0x0000000000004008, left 0x0000000000004808

iwlwifi 0000:03:00.0 wlan0: set_features() failed (-1); wanted 0x0000000000004000, left 0x0000000000004800

I'm using ath.git master branch which is latest wireless-testing plus
latest ath patches. Any ideas what's causing these? mac80211 or
something else?

-- 
Kalle Valo

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

* Re: wlan0: set_features() failed (-1); wanted 0x0000000000004008, left 0x0000000000004808
  2015-12-03  7:07 wlan0: set_features() failed (-1); wanted 0x0000000000004008, left 0x0000000000004808 Kalle Valo
@ 2015-12-03  8:03 ` Janusz Dziedzic
  2015-12-03  9:03   ` Johannes Berg
  2015-12-03  8:04 ` Johannes Berg
  1 sibling, 1 reply; 5+ messages in thread
From: Janusz Dziedzic @ 2015-12-03  8:03 UTC (permalink / raw)
  To: Kalle Valo; +Cc: linux-wireless

On 3 December 2015 at 08:07, Kalle Valo <kvalo@codeaurora.org> wrote:
> Hi,
>
> For few weeks (I think) I have seen these kind of messages:
>
> ath10k_pci 0000:02:00.0 wlan0: set_features() failed (-1); wanted 0x0000000000004008, left 0x0000000000004808
>
> iwlwifi 0000:03:00.0 wlan0: set_features() failed (-1); wanted 0x0000000000004000, left 0x0000000000004800
>
> I'm using ath.git master branch which is latest wireless-testing plus
> latest ath patches. Any ideas what's causing these? mac80211 or
> something else?
>
Missing:
net: fix feature changes on devices without ndo_set_features ?

BR
Janusz

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

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

* Re: wlan0: set_features() failed (-1); wanted 0x0000000000004008, left 0x0000000000004808
  2015-12-03  7:07 wlan0: set_features() failed (-1); wanted 0x0000000000004008, left 0x0000000000004808 Kalle Valo
  2015-12-03  8:03 ` Janusz Dziedzic
@ 2015-12-03  8:04 ` Johannes Berg
  1 sibling, 0 replies; 5+ messages in thread
From: Johannes Berg @ 2015-12-03  8:04 UTC (permalink / raw)
  To: Kalle Valo, linux-wireless

On Thu, 2015-12-03 at 09:07 +0200, Kalle Valo wrote:

> I'm using ath.git master branch which is latest wireless-testing plus
> latest ath patches. Any ideas what's causing these? mac80211 or
> something else?

This is usually caused by a driver (in this case mac80211) implementing
ndo_set_features, but I never accepted that patch as far as I remember,
it's pending in patchwork. I don't see that in your tree either, so
that's very puzzling.

Clearly it's trying to turn off NETIF_F_GSO, as it should since the
drivers both don't advertise NETIF_F_SG right now.

The code you're looking at is in __netdev_update_features(), but I
can't explain how it would get into this message if ndo_set_features is
NULL. Perhaps you should recompile the kernel from scratch.

johannes

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

* Re: wlan0: set_features() failed (-1); wanted 0x0000000000004008, left 0x0000000000004808
  2015-12-03  8:03 ` Janusz Dziedzic
@ 2015-12-03  9:03   ` Johannes Berg
  2015-12-03 15:09     ` Kalle Valo
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Berg @ 2015-12-03  9:03 UTC (permalink / raw)
  To: Janusz Dziedzic, Kalle Valo; +Cc: linux-wireless

On Thu, 2015-12-03 at 09:03 +0100, Janusz Dziedzic wrote:
> 
> Missing:
> net: fix feature changes on devices without ndo_set_features ?
> 

According to the *code* that's there, but maybe Kalle hasn't recompiled
it to the latest tree quite right?

johannes

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

* Re: wlan0: set_features() failed (-1); wanted 0x0000000000004008, left 0x0000000000004808
  2015-12-03  9:03   ` Johannes Berg
@ 2015-12-03 15:09     ` Kalle Valo
  0 siblings, 0 replies; 5+ messages in thread
From: Kalle Valo @ 2015-12-03 15:09 UTC (permalink / raw)
  To: Johannes Berg; +Cc: Janusz Dziedzic, linux-wireless

Johannes Berg <johannes@sipsolutions.net> writes:

> On Thu, 2015-12-03 at 09:03 +0100, Janusz Dziedzic wrote:
>> 
>> Missing:
>> net: fix feature changes on devices without ndo_set_features ?
>> 
>
> According to the *code* that's there, but maybe Kalle hasn't recompiled
> it to the latest tree quite right?

Actually I was too hasty when reading the logs and missed that I haven't
seen these warnings since November 30th or so. I guess during after the
patch above trickled down to wireless-testing and fixed the issue.

So everything is good, sorry for the noise.

-- 
Kalle Valo

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

end of thread, other threads:[~2015-12-03 15:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-03  7:07 wlan0: set_features() failed (-1); wanted 0x0000000000004008, left 0x0000000000004808 Kalle Valo
2015-12-03  8:03 ` Janusz Dziedzic
2015-12-03  9:03   ` Johannes Berg
2015-12-03 15:09     ` Kalle Valo
2015-12-03  8:04 ` Johannes Berg

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