How do I ALTQ hostap interface?

2014-08-21 Thread Peter Lai
How do I ALTQ my wireless (hostap mode) interface in 10.0-R? If I try
to add a queue to wlan0, pf complains that wlan0 has no ALTQ support
(even though it is an ath(4) interface and ath(4) is supposed to be
supported by ALTQ). ALTQ is already setup and working with my wired
ethernet over em(4).

Am I supposed to specify ath0 as the interface for the pf queue?

What if I want to bridge my wireless and wired networks? I thought the
bridge would consist of em0 and wlan0 members, and pf will not like
that (claiming that bridge0 has no ALTQ driver...but I don't know if
that is pf reacting to if_bridge(4) itself not having altq support or
the wlan0 member of it...
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: How do I ALTQ hostap interface?

2014-08-21 Thread Peter Lai
Looking on the freebsd-net list it seems like a we don't know how to
hack altq to work with multiqueues problem, but supposedly it's been
solved with em(4) (since it works fine with altq) , (but not
necessarily with igb)?

OpenBSD is of course no longer useful here since they have removed ALTQ.

Perhaps it's time to revisit Dummynet/IPFW for shaping (it was just
nice having an easily unified NAT and shaping ruleset).

On Thu, Aug 21, 2014 at 1:43 PM, Adrian Chadd adr...@freebsd.org wrote:
 I've no idea.

 Sorry, I've kept asking those who are interested in altq to figure out
 how to do it for drivers with if_transmit() and so far it's been
 crickets/silence.



 -a


 On 21 August 2014 08:53, Peter Lai cowb...@gmail.com wrote:
 Does 9-STABLE support ath(4) and ALTQ?

 thanks

 On Thu, Aug 21, 2014 at 10:38 AM, Adrian Chadd adr...@freebsd.org wrote:
 Hi,

 ath(4) now uses if_transmit() and thus there's no ALTQ support at the
 moment. Sorry.


 -a


 On 21 August 2014 02:43, Peter Lai cowb...@gmail.com wrote:
 How do I ALTQ my wireless (hostap mode) interface in 10.0-R? If I try
 to add a queue to wlan0, pf complains that wlan0 has no ALTQ support
 (even though it is an ath(4) interface and ath(4) is supposed to be
 supported by ALTQ). ALTQ is already setup and working with my wired
 ethernet over em(4).

 Am I supposed to specify ath0 as the interface for the pf queue?

 What if I want to bridge my wireless and wired networks? I thought the
 bridge would consist of em0 and wlan0 members, and pf will not like
 that (claiming that bridge0 has no ALTQ driver...but I don't know if
 that is pf reacting to if_bridge(4) itself not having altq support or
 the wlan0 member of it...
 ___
 freebsd-wireless@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
 To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
 ___
 freebsd-wireless@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
 To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: How do I ALTQ hostap interface?

2014-08-21 Thread Adrian Chadd
On 21 August 2014 14:13, Peter Lai cowb...@gmail.com wrote:
 Looking on the freebsd-net list it seems like a we don't know how to
 hack altq to work with multiqueues problem, but supposedly it's been
 solved with em(4) (since it works fine with altq) , (but not
 necessarily with igb)?

It's a solvable problem. It's just not solvable with the kinds of
hacks that stuck ALTQ in there the way it is in the first place.

For em, igb, etc they solved it by having a legacy hey implement the
old network transmit interface thing stick around.



-a
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org