public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* Using wmediumd in kernel 3.10
@ 2013-12-05 15:57 Dani Camps
  2013-12-05 16:11 ` Johannes Berg
  0 siblings, 1 reply; 10+ messages in thread
From: Dani Camps @ 2013-12-05 15:57 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org



Dear all,

I would like to use wmediumd with linuxwireless backports 3.10.

The problem is that as indicated in this post: http://www.spinics.net/lists/linux-wireless/msg96575.html, wmediumd is not supported in this kernel. Quoting from the post:

"To use mac80211_hwsim for testing channel contexts it has to support them, and for that it has to support hw scan and hw-remain-on-channel.
Since it's pure software, the off-channel activities are really not off-channel but listening and sending on a second channel. Also, the multi-channel isn't really doing TDM, it's just on both channels at the same time. 
Note that this breaks wmediumd right now as it doesn't propagate the channel."


In particular, wmediumd crashes whenever the first packet between the two mac80211_hwsim radios is sent. Specifically the place in mac80211_hwsim.c where the error occurs is in this call inside the function hwsim_tx_info_frame_received_nl():

mac80211_hwsim_monitor_ack(txi->rate_driver_data[0], hdr->addr2);

In mac80211_hwsim_monitor_ack() a crash occurs whenever accessing a field of txi->rate_driver_data[0], which is of type struct ieee80211_channel.

So, I would like to ask for support in any of the following:

1- Guidance on how to fix wmediumd for kernel 3.10.
2- Advise on another tool with functionality equivalent to that of wmediumd, i.e. introducing delay and drop probability to packets exchanged between mac80211_hwsim radios, and that works with kernel 3.10.

Best Regards

Daniel

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

end of thread, other threads:[~2013-12-06  8:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-05 15:57 Using wmediumd in kernel 3.10 Dani Camps
2013-12-05 16:11 ` Johannes Berg
2013-12-05 16:14   ` Dani Camps
2013-12-05 16:25     ` Johannes Berg
2013-12-05 16:42       ` Dani Camps
2013-12-05 17:40         ` Johannes Berg
2013-12-05 21:37           ` Dani Camps
2013-12-05 22:07             ` Johannes Berg
2013-12-06  8:27               ` Dani Camps
2013-12-06  1:04             ` Javier Lopez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox