Skip to contentSkip to conversation

mac80211 TX hangs up

DISCUSSION Daniel Drake 2 participants 2 messages Jun 5, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

I've been seeing occasional problems on mac80211 where the connection is lost. The same device has been used for many hours with the softmac driver with no problems.

I just saw it again and confirmed that the device stops TXing when this happens.

After observing this, I tried to scan, and this came up in the logs:

WARNING: at net/mac80211/ieee80211.c:1280 ieee80211_tx()
 [<f02ad79f>] ieee80211_master_start_xmit+0x19b/0x4b2 [mac80211]
 [<b011b334>] __wake_up_common+0x32/0x55
 [<b011b891>] __wake_up+0x32/0x43
 [<b02e6f54>] dev_hard_start_xmit+0x18a/0x1e9
 [<b02f121c>] __qdisc_run+0xc5/0x190
 [<b02e7cbd>] net_tx_action+0xa8/0xd0
 [<b032ad2d>] wireless_nlevent_process+0x2a/0x31

The line of code in question is

	WARN_ON(__ieee80211_queue_pending(local, control->queue));

This was with mac80211 from 2.6.22-rc3, but the problem has also been seen with a recent wireless-dev.git.

Any ideas or other reports of this?

Thanks,
Daniel

#1 lore raw
Quoted 9 lines · Daniel Drake
WARNING: at net/mac80211/ieee80211.c:1280 ieee80211_tx()
  [<f02ad79f>] ieee80211_master_start_xmit+0x19b/0x4b2 [mac80211]
  [<b011b334>] __wake_up_common+0x32/0x55
  [<b011b891>] __wake_up+0x32/0x43
  [<b02e6f54>] dev_hard_start_xmit+0x18a/0x1e9
  [<b02f121c>] __qdisc_run+0xc5/0x190
  [<b02e7cbd>] net_tx_action+0xa8/0xd0
  [<b032ad2d>] wireless_nlevent_process+0x2a/0x31
Quoted 8 lines

The line of code in question is

	WARN_ON(__ieee80211_queue_pending(local, control->queue));

This was with mac80211 from 2.6.22-rc3, but the problem has also been seen with a recent wireless-dev.git.

Any ideas or other reports of this?

Do you have CONFIG_NET_SCHED on?

-Michael Wu