Skip to contentSkip to conversation

Sending lldp packets with ath10k in ADHOC mode

DISCUSSION Jorge Baranda 1 participant 2 messages Sep 23, 2015 – Sep 25, 2015 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

Dear all,

I have a setup which consists of three computers connected by means of WLE900VX cards using the ath10k driver.
One computer (which we can call master) is equipped with two of these cards and I set different modes to connect the "master" with the other computers. In particular, a pair of computers (master-computer A) is connected in ad-hoc mode and the other pair (master-computer B) is connected in AP-STA mode.

I want to send LLDP packets through both interfaces of master computer to perform link discovery. But I have realised that sending LLDP messages is only possible through the interface configured as AP. Nevertheless, I've seen that the ad-hoc interface is able to send ARP broadcast messages.
Due to this fact, when generating the LLDP packets I set as destination MAC address the broadcast one, but even so, the ad-hoc interface is not sending the LLDP messages. Does anyone have an idea of the reason of this behavior? Which is treating differently the ARP and the LLDP packet?
I was expecting the ad-hoc interface to forward any kind of packet with mac destination address the broadcast address.

Thank you very much in advance for your time and attention,

With kind regards,

Signature · 16 lines
Jorge Baranda
Research Engineer, MSc
[email protected]

Centre Tecnològic de Telecomunicacions de Catalunya (CTTC)
Av. Carl Friedrich Gauss, 7
08860 Castelldefels, Barcelona (Spain)
Tel: +34 93 645 29 00  Ext: 2171
Fax. +34 93 645 29 01
www.cttc.es


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
#1 lore raw

Dear all,

I upload a wireshark capture to illustrate the behavior previously described. This wireshark is showing the traffic in the "master" computer.
It is suppossed that both interfaces should be sending periodicall LLDP packets (with broadcast mac dst addr), but only the one configured in AP mode is sending such packets.
However, when I try to look for a host through the interface configure in ad-hoc, the ARP process starts with the broadcast ARP request and this message is sent (and registered bywireshark) through the interface configure in ad-hoc. Does the ath10k driver has to do something with the different treatment of the broadcast packets/protocols? Aparently, all broadcast packets should be sent by the wireless interface no matter its configuration (AP or ad-hoc), isn't it?

Thanks in advance,

Jorge

Quoted 16 lines · Jorge Baranda

Dear all,

I have a setup which consists of three computers connected by means of WLE900VX cards using the ath10k driver.
One computer (which we can call master) is equipped with two of these cards and I set different modes to connect the "master" with the other computers. In particular, a pair of computers (master-computer A) is connected in ad-hoc mode and the other pair (master-computer B) is connected in AP-STA mode.

I want to send LLDP packets through both interfaces of master computer to perform link discovery. But I have realised that sending LLDP messages is only possible through the interface configured as AP. Nevertheless, I've seen that the ad-hoc interface is able to send ARP broadcast messages.
Due to this fact, when generating the LLDP packets I set as destination MAC address the broadcast one, but even so, the ad-hoc interface is not sending the LLDP messages. Does anyone have an idea of the reason of this behavior? Which is treating differently the ARP and the LLDP packet?
I was expecting the ad-hoc interface to forward any kind of packet with mac destination address the broadcast address.

Thank you very much in advance for your time and attention,

With kind regards,

Signature · 10 lines
Jorge Baranda
Research Engineer, MSc
[email protected]

Centre Tecnològic de Telecomunicacions de Catalunya (CTTC)
Av. Carl Friedrich Gauss, 7
08860 Castelldefels, Barcelona (Spain)
Tel: +34 93 645 29 00  Ext: 2171
Fax. +34 93 645 29 01
www.cttc.es

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k