Skip to contentSkip to conversation

wlan0: set_features() failed (-1); wanted 0x0000000000004008, left 0x0000000000004808

DISCUSSION Kalle Valo 3 participants 5 messages Dec 3, 2015

lore
Share & tools
lore

Kalle Valo

author
#0 lore raw

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?

Signature · 1 line
Kalle Valo
#1 lore raw
Quoted 4 lines · Kalle Valo

Hi,

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

Quoted 8 lines

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

Quoted 6 lines

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

#4 lore raw
In reply to Kalle Valo
Quoted 3 lines · Kalle Valo

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

#2 lore raw
In reply to Janusz Dziedzic
Quoted 4 lines · Janusz Dziedzic


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

author
#3 lore raw
Quoted 8 lines · Johannes Berg
Quoted 4 lines · Janusz Dziedzic


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.

Signature · 1 line
Kalle Valo