linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/2] bind RTS threshold to vif.
@ 2012-05-17  9:58 Lukasz Kucharczyk
  2012-05-17  9:58 ` [RFC 1/2] cfg80211/mac80211: " Lukasz Kucharczyk
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Lukasz Kucharczyk @ 2012-05-17  9:58 UTC (permalink / raw)
  To: linux-wireless; +Cc: johannes, lukasz.kucharczyk

Hi,

following patches bind rts threshold to vif.
I think it might be useful in multi channel operation
(one chip handling multiple virtual interfaces on different
channels).

RTS threshold is still set with NL80211_CMD_SET_WIPHY, and can
be now executed for both hw and vif, so it's backward compatible
(from userspace).

.set_rts_threshold driver's callback has additional
<struct ieee80211_vif *vif> parameter, so it will require
changes in all related drivers.

It's assumed, that when setting is done for hw, null vif pointer
is passed to driver (is that acceptable?).

I'm also not sure about solution in ieee80211_reconfig: I'm
trying to set rts threshold for each vif, and when it fails
(assuming that driver doesn't support setting for vif), I'm
setting rts for hw (so vif == NULL in .set_rts_threshold call).
Maybe it would be better to add new define for ieee80211_hw.flags
indicating whether driver supports setting rts threshold for vif?

BR,
Lukasz

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

end of thread, other threads:[~2012-05-18  7:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-17  9:58 [RFC 0/2] bind RTS threshold to vif Lukasz Kucharczyk
2012-05-17  9:58 ` [RFC 1/2] cfg80211/mac80211: " Lukasz Kucharczyk
2012-05-17  9:58 ` [RFC 2/2] iw: handle rts threshold per netdev Lukasz Kucharczyk
2012-05-17 11:40 ` [RFC 0/2] bind RTS threshold to vif Marek Lindner
2012-05-18  7:26   ` Lukasz Kucharczyk

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