Skip to contentSkip to conversation

Is there a way to connect pairs of wifi cards to achieve full duplex

ath9k-devel David Goodenough 4 participants 8 messages Jun 19, 2013 – Jun 20, 2013

lore
Share & tools
lore
#0 lore raw

I would like to have a point to point full duplex link (outdoors). I realise that this can not be done with a single wifi card/antenna, I will need a pair.

I only need a single point to point link, not a master/slave setup.

I would want the low level protocol bits to work this way as well so that ACKS and management responses to work this way as well as data packets.

Any ideas?

David

#1 lore raw
Quoted 9 lines · David Goodenough

I would like to have a point to point full duplex link (outdoors). I realise that this can not be done with a single wifi card/antenna, I will need a pair.

I only need a single point to point link, not a master/slave setup.

I would want the low level protocol bits to work this way as well so that ACKS and management responses to work this way as well as data packets.

Any ideas?

That sounds interesting.

I wonder if some specialized type of bonding interface could do the trick. I'd guess you wouldn't need any specific driver support. The bond would just always TX on pair A (with peer TX pair B).

I'd ask around on the bonding mailing list (assuming such thing exists) and see if they have any suggestions.

Thanks,
Ben

Quoted 7 lines

David
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#2 lore raw

.. just keep in mind that adjacent high power transmitters can actually leak enough RF to trigger ADC saturation and thus the device may actually not try to decode anything.

Thus, whilst your TX is TXing, the RX side may be unhappy. :-)

Adrian

(This is why TDMA is awesome.)

Quoted 40 lines · Ben Greear
Quoted 9 lines · David Goodenough

I would like to have a point to point full duplex link (outdoors). I realise that this can not be done with a single wifi card/antenna, I will need a pair.

I only need a single point to point link, not a master/slave setup.

I would want the low level protocol bits to work this way as well so that ACKS and management responses to work this way as well as data packets.

Any ideas?

That sounds interesting.

I wonder if some specialized type of bonding interface could do the trick. I'd guess you wouldn't need any specific driver support. The bond would just always TX on pair A (with peer TX pair B).

I'd ask around on the bonding mailing list (assuming such thing exists) and see if they have any suggestions.

Thanks,
Ben

Quoted 7 lines

David
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

#3 lore raw
Quoted 5 lines · Adrian Chadd

.. just keep in mind that adjacent high power transmitters can actually leak enough RF to trigger ADC saturation and thus the device may actually not try to decode anything.

Thus, whilst your TX is TXing, the RX side may be unhappy. :-)

We've had decent multi-NIC throughput when there is a mostly-solid aluminium chassis plate between the NICs, and when one is on 2.4 and the other is on 5Ghz.

Pretty much anything else is pushing your luck though :)

Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#4 lore raw
Quoted 7 lines · Ben Greear
Quoted 5 lines · Adrian Chadd

.. just keep in mind that adjacent high power transmitters can actually leak enough RF to trigger ADC saturation and thus the device may actually not try to decode anything.

Thus, whilst your TX is TXing, the RX side may be unhappy. :-)

Quoted 7 lines

We've had decent multi-NIC throughput when there is a mostly-solid aluminium chassis plate between the NICs, and when one is on 2.4 and the other is on 5Ghz.

Pretty much anything else is pushing your luck though :)

Ben

The only place I have noticed that do this with wifi kit is Microtik who say they can do setups like this - but as usual with them there is no indication of how it is done under the covers.

David

#5 lore raw
Quoted 12 lines · David Goodenough
Quoted 11 lines · Ben Greear
Quoted 5 lines · Adrian Chadd

.. just keep in mind that adjacent high power transmitters can actually leak enough RF to trigger ADC saturation and thus the device may actually not try to decode anything.

Thus, whilst your TX is TXing, the RX side may be unhappy. :-)

We've had decent multi-NIC throughput when there is a mostly-solid aluminium chassis plate between the NICs, and when one is on 2.4 and the other is on 5Ghz.

Quoted 6 lines
Quoted 3 lines

Pretty much anything else is pushing your luck though :)

Ben

The only place I have noticed that do this with wifi kit is Microtik who say they can do setups like this - but as usual with them there is no indication of how it is done under the covers.

They're doing it with hacked up proprietary protocol modifications.

So I get why you would want to do combine two links to get full-duplex. But why would you want to mess around with things like ACKs?

- Felix

#6 lore raw
Quoted 21 lines · Felix Fietkau
Quoted 12 lines · David Goodenough
Quoted 11 lines · Ben Greear
Quoted 5 lines · Adrian Chadd

.. just keep in mind that adjacent high power transmitters can actually leak enough RF to trigger ADC saturation and thus the device may actually not try to decode anything.

Thus, whilst your TX is TXing, the RX side may be unhappy. :-)

We've had decent multi-NIC throughput when there is a mostly-solid aluminium chassis plate between the NICs, and when one is on 2.4 and the other is on 5Ghz.

Quoted 7 lines
Quoted 3 lines

Pretty much anything else is pushing your luck though :)

Ben

The only place I have noticed that do this with wifi kit is Microtik who say they can do setups like this - but as usual with them there is no indication of how it is done under the covers.

Quoted 6 lines

They're doing it with hacked up proprietary protocol modifications.

So I get why you would want to do combine two links to get full-duplex. But why would you want to mess around with things like ACKs?

- Felix

Most of my links are quite long, so removing any turnaround had got to be a good thing (hasn't it?). I presume that every time the link turns around you have to turn off the receive path (or at least disconnect it) and then power up the transmitter, and allow time for the receiver at the other end to sync. Then at the receiving end if it was transmitting before (this is point to point) it has to shut down the transmit path in an orderly fashion so that it remains loaded while active. Surely that has to take a significant time?

By quite long I am talking up to 7km.

David

#7 lore raw
Quoted 28 lines · David Goodenough
Quoted 21 lines · Felix Fietkau
Quoted 12 lines · David Goodenough
Quoted 11 lines · Ben Greear
Quoted 5 lines · Adrian Chadd

.. just keep in mind that adjacent high power transmitters can actually leak enough RF to trigger ADC saturation and thus the device may actually not try to decode anything.

Thus, whilst your TX is TXing, the RX side may be unhappy. :-)

We've had decent multi-NIC throughput when there is a mostly-solid aluminium chassis plate between the NICs, and when one is on 2.4 and the other is on 5Ghz.

Quoted 7 lines
Quoted 3 lines

Pretty much anything else is pushing your luck though :)

Ben

The only place I have noticed that do this with wifi kit is Microtik who say they can do setups like this - but as usual with them there is no indication of how it is done under the covers.

Quoted 6 lines

They're doing it with hacked up proprietary protocol modifications.

So I get why you would want to do combine two links to get full-duplex. But why would you want to mess around with things like ACKs?

- Felix

Quoted 8 lines

Most of my links are quite long, so removing any turnaround had got to be a good thing (hasn't it?). I presume that every time the link turns around you have to turn off the receive path (or at least disconnect it) and then power up the transmitter, and allow time for the receiver at the other end to sync. Then at the receiving end if it was transmitting before (this is point to point) it has to shut down the transmit path in an orderly fashion so that it remains loaded while active. Surely that has to take a significant time?

The rx/tx switching time is very short, short enough to be insignificant. The inter-frame duration, slot time, etc. are significantly longer, but aggregation effectively cuts it down to a fraction relative to the number of packets.
With a lot of changes to the software it would be possible to disable the on-chip ACK functionality, retransmission, etc. However, I think the disadvantages outweigh the advantages, mainly due to the extra latency of processing lots of things in software that are currently accelerated by the hardware.
The increase in complexity is not particularly nice either.

- Felix