AR9280 with only one antenna?
Hi,
I have a setup in which I can connect only one antenna to AR9280 based card. Is there any way to force ath9k to use this antenna only? I'm not sure, but based on reported signal levels (tcpdump on monitor interface), it looks like the card tries to use both antennas even though there is only one antenna connected.
I've read from earlier posts that this could be done by forcing rx/tx chainmasks to 1, does this apply to current ath9k version (wireless-testing) also? If I do this, does this have any side effects?
- Jussi
I've found a couple places that hard-code setting up both chains (eg open-loop TX power control, which initialises it for both chains in the same location!) but that shouldn't matter.
There's a function which sets the TX chainmask based on the sleep/btcoex mode, maybe you could try setting it to 0x1 there and see what happens.
HTH,
Adrian
Quoted 16 lines · Jussi Haakana
Hi,
I have a setup in which I can connect only one antenna to AR9280 based card. Is there any way to force ath9k to use this antenna only? I'm not sure, but based on reported signal levels (tcpdump on monitor interface), it looks like the card tries to use both antennas even though there is only one antenna connected.
I've read from earlier posts that this could be done by forcing rx/tx chainmasks to 1, does this apply to current ath9k version (wireless-testing) also? If I do this, does this have any side effects?
Quoted 6 lines
- Jussi
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110309/3c16edd6/attachment.htm
Quoted 8 lines · Adrian Chadd
I've found a couple places that hard-code setting up both chains (eg open-loop TX power control, which initialises it for both chains in the same location!) but that shouldn't matter.
There's a function which sets the TX chainmask based on the sleep/btcoex mode, maybe you could try setting it to
0x1there and see what happens.
also hardcoding to 0x1 in the function of intath9k_hw_fill_cap_info(struct ath_hw *ah)
hw.c helps
2016 tx_chainmask = pCap->tx_chainmask;
2017 rx_chainmask = pCap->rx_chainmask;
Quoted 37 lines
HTH,
Adrian
Quoted 17 lines · Jussi Haakana
Hi,
I have a setup in which I can connect only one antenna to AR9280 based card. Is there any way to force ath9k to use this antenna only? I'm not sure, but based on reported signal levels (tcpdump on monitor interface), it looks like the card tries to use both antennas even though there is only one antenna connected.
I've read from earlier posts that this could be done by forcing rx/tx chainmasks to 1, does this apply to current ath9k version (wireless-testing) also? If I do this, does this have any side effects?
Quoted 5 lines
- Jussi
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Quoted 10 lines · Mohammed Shafi
Quoted 8 lines · Adrian Chadd
I've found a couple places that hard-code setting up both chains (eg open-loop TX power control, which initialises it for both chains in the same location!) but that shouldn't matter.
There's a function which sets the TX chainmask based on the sleep/btcoex mode, maybe you could try setting it to
0x1there and see what happens.
Quoted 7 lines
also hardcoding to
0x1in the function of intath9k_hw_fill_cap_info(struct ath_hw *ah)
hw.chelps2016
tx_chainmask=pCap->tx_chainmask;
2017rx_chainmask=pCap->rx_chainmask;
Ok, thanks, I'll try with these changes.
- Jussi
Quoted 32 lines
Quoted 32 lines · Jussi Haakana
Quoted 17 lines
Hi,
I have a setup in which I can connect only one antenna to AR9280 based card. Is there any way to force ath9k to use this antenna only? I'm not sure, but based on reported signal levels (tcpdump on monitor interface), it looks like the card tries to use both antennas even though there is only one antenna connected.
I've read from earlier posts that this could be done by forcing rx/tx chainmasks to 1, does this apply to current ath9k version (wireless-testing) also? If I do this, does this have any side effects?
Quoted 5 lines
- Jussi
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 43 lines · Jussi Haakana
Quoted 27 lines · Mohammed Shafi
Quoted 12 lines · On Wed, Mar 9, 2011 at 5:21 PM, Jussi Haakana<[email protected]> ?wrote:
Quoted 10 lines · Mohammed Shafi
Quoted 7 lines · On Wed, Mar 9, 2011 at 4:32 PM, Adrian Chadd<[email protected]> ?wrote:
I've found a couple places that hard-code setting up both chains (eg open-loop TX power control, which initialises it for both chains in the same
location!) but that shouldn't matter.Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
There's a function which sets the TX chainmask based on the sleep/btcoex
mode, maybe you could try setting it to0x1there and see what happens.? also hardcoding to
0x1in the function of ?intath9k_hw_fill_cap_info(struct ath_hw *ah)
?hw.chelpsplease add this ?before 2016, 2017 lines
(quoted diff) +2
-0+pCap->tx_chainmask = 0x1; +pCap->rx_chainmask =0x1;Quoted 1 line
Quoted 1 line
Quoted 1 line
I did that now the data stream seems to be going through antenna 0:
12:35:22.783976 599348659493us tsft 5240 MHz 11a 126dB signal antenna 0 [bit 14] CF +QoS DA:...
12:35:22.784021 599348659493us tsft 5240 MHz 11a 0dB signal antenna 0 [bit 14] CF +QoS DA:...
12:35:22.784064 599348660933us tsft 5240 MHz 11a -78dB signal antenna 0 [bit 14] CF +QoS DA:...
12:35:22.784109 599348660981us tsft 5240 MHz 11a -123dB signal antenna 0 [bit 14] CF +QoS DA:...
12:35:22.784153 599348660981us tsft 5240 MHz 11a 2dB signal antenna 0 [bit 14] CF +QoS DA:...
Quoted 1 line
However, I'm still receiving beacons through antenna 1:
not much idea, probably we cannot change the rx mask i think. we can only change the tx mask?
I heard this some senior eng saying this, but not sure. need to dig deep.
Quoted 68 lines
12:35:23.781184 599349658003us tsft 6.0 Mb/s 5240 MHz 11a -54dB signal antenna 1 [bit 14] BSSID:...
12:35:23.985982 599349862803us tsft 6.0 Mb/s 5240 MHz 11a -75dB signal antenna 1 [bit 14] BSSID:...
12:35:24.190791 599350067603us tsft 6.0 Mb/s 5240 MHz 11a -75dB signal antenna 1 [bit 14] BSSID:...
12:35:24.298133 599350174394us tsft 6.0 Mb/s 5240 MHz 11a -76dB signal antenna 1 [bit 14] BSSID:...(btw, if you look at the signal levels on the topmost capture, they just look insane. Could the reason be my setup: one interface is in station mode transferring data, and other interface in monitor mode, watching the packet flow. Is it possible TX is interfering RX signal measurements?)
- Jussi
Quoted 48 lines
Quoted 48 lines
Quoted 4 lines
2016 ? ? ? ?
tx_chainmask=pCap->tx_chainmask;
2017 ? ? ? ?rx_chainmask=pCap->rx_chainmask;Ok, thanks, I'll try with these changes.
- Jussi
Quoted 27 lines
Quoted 27 lines
Quoted 22 lines · On 9 March 2011 18:48, Jussi Haakana<[email protected]> ?wrote:
Hi,
I have a setup in which I can connect only one antenna to AR9280 based card. Is there any way to force ath9k to use this antenna only? I'm not sure, but based on reported signal levels (tcpdump on monitor interface), it looks like the card tries to use both antennas even though there is only one antenna connected.
I've read from earlier posts that this could be done by forcing rx/tx chainmasks to 1, does this apply to current ath9k version (wireless-testing) also? If I do this, does this have any side effects?
- Jussi
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-develQuoted 6 lines
Quoted 6 lines
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
I didn't think the radiotap knew about MIMO. :)
It's possible you're being told about the "old" antenna selection/information stuff.
Adrian
Quoted 68 lines · Mohammed Shafi
Quoted 6 lines · Jussi Haakana
Quoted 5 lines · Mohammed Shafi
On Wed, Mar 9, 2011 at 5:21 PM, Jussi Haakana<[email protected]
Quoted 1 line · wrote:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines · Mohammed Shafi
Quoted 7 lines
Quoted 4 lines · Adrian Chadd
I've found a couple places that hard-code setting up both chains (eg open-loop TX power control, which initialises it for both chains in
the
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
same
location!) but that shouldn't matter.There's a function which sets the TX chainmask based on the sleep/btcoex
mode, maybe you could try setting it to0x1there and see whathappens.
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
also hardcoding to
0x1in the function of intath9k_hw_fill_cap_info(struct ath_hw *ah)
hw.chelpsplease add this before 2016, 2017 lines
Quoted 7 lines
Quoted 3 lines
(quoted diff) +2
-0+pCap->tx_chainmask = 0x1; +pCap->rx_chainmask =0x1;Quoted 1 line
Quoted 1 line
I did that now the data stream seems to be going through antenna 0:
12:35:22.783976 599348659493us tsft 5240 MHz 11a 126dB signal antenna 0
[bit
Quoted 2 lines
14] CF +QoS DA:...
12:35:22.784021 599348659493us tsft 5240 MHz 11a 0dB signal antenna 0[bit
Quoted 2 lines
14] CF +QoS DA:...
12:35:22.784064 599348660933us tsft 5240 MHz 11a -78dB signal antenna 0[bit
Quoted 4 lines
14] CF +QoS DA:...
12:35:22.784109 599348660981us tsft 5240 MHz 11a -123dB signal antenna 0 [bit 14] CF +QoS DA:...
12:35:22.784153 599348660981us tsft 5240 MHz 11a 2dB signal antenna 0[bit
Quoted 3 lines
14] CF +QoS DA:...
However, I'm still receiving beacons through antenna 1:
not much idea, probably we cannot change the rx mask i think. we can only change the tx mask?
I heard this some senior eng saying this, but not sure. need to dig deep.Quoted 10 lines
12:35:23.781184 599349658003us tsft 6.0 Mb/s 5240 MHz 11a -54dB signal antenna 1 [bit 14] BSSID:...
12:35:23.985982 599349862803us tsft 6.0 Mb/s 5240 MHz 11a -75dB signal antenna 1 [bit 14] BSSID:...
12:35:24.190791 599350067603us tsft 6.0 Mb/s 5240 MHz 11a -75dB signal antenna 1 [bit 14] BSSID:...
12:35:24.298133 599350174394us tsft 6.0 Mb/s 5240 MHz 11a -76dB signal antenna 1 [bit 14] BSSID:...
Quoted 61 lines
Quoted 2 lines
(btw, if you look at the signal levels on the topmost capture, they just look insane. Could the reason be my setup: one interface is in station
mode
Quoted 1 line
transferring data, and other interface in monitor mode, watching the
packet
Quoted 55 lines
flow. Is it possible TX is interfering RX signal measurements?)
- Jussi
Quoted 48 lines
Quoted 48 lines
Quoted 4 lines
2016
tx_chainmask=pCap->tx_chainmask;
2017rx_chainmask=pCap->rx_chainmask;Ok, thanks, I'll try with these changes.
- Jussi
Quoted 27 lines
Quoted 27 lines
Quoted 22 lines · Jussi Haakana
Hi,
I have a setup in which I can connect only one antenna to AR9280 based card. Is there any way to force ath9k to use this antenna only? I'm not sure, but based on reported signal levels (tcpdump on monitor interface), it looks like the card tries to use both antennas even though there is only one antenna connected.
I've read from earlier posts that this could be done by forcing rx/tx chainmasks to 1, does this apply to current ath9k version (wireless-testing) also? If I do this, does this have any side effects?
- Jussi
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-develQuoted 6 lines
Quoted 6 lines
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110310/933cce44/attachment-0001.htm
Quoted 3 lines · Adrian Chadd
I didn't think the radiotap knew about MIMO. :)
It's possible you're being told about the "old" antenna selection/information stuff.
Hmm. I think that receiving antenna is set in ath9k_rx_skb_preprocess() (recv.c:984) to ieee80211_rx_status from which it is then copied to radiotap by mac80211?
- Jussi
Quoted 125 lines
Adrian
On 9 March 2011 23:14, Mohammed Shafi<shafi.wireless at gmail.com<mailto:[email protected]>> wrote:
Quoted 43 lines · On Wed, Mar 9, 2011 at 6:34 PM, Jussi Haakana<jussi.haakana at…
Quoted 27 lines · Mohammed Shafi
Quoted 12 lines · On Wed, Mar 9, 2011 at 5:21 PM, Jussi Haakana<jussi.haakana at…
Quoted 10 lines · Mohammed Shafi
Quoted 7 lines · On Wed, Mar 9, 2011 at 4:32 PM, Adrian Chadd<adrian at…
I've found a couple places that hard-code setting up both chains (eg open-loop TX power control, which initialises it for both chains in the same
location!) but that shouldn't matter.Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
There's a function which sets the TX chainmask based on the sleep/btcoex
mode, maybe you could try setting it to0x1there and see what happens.also hardcoding to
0x1in the function of intath9k_hw_fill_cap_info(struct ath_hw *ah)
hw.chelpsplease add this before 2016, 2017 lines
(quoted diff) +2
-0+pCap->tx_chainmask = 0x1; +pCap->rx_chainmask =0x1;Quoted 1 line
Quoted 1 line
Quoted 1 line
I did that now the data stream seems to be going through antenna 0:
12:35:22.783976 599348659493us tsft 5240 MHz 11a 126dB signal antenna 0 [bit 14] CF +QoS DA:...
12:35:22.784021 599348659493us tsft 5240 MHz 11a 0dB signal antenna 0 [bit 14] CF +QoS DA:...
12:35:22.784064 599348660933us tsft 5240 MHz 11a -78dB signal antenna 0 [bit 14] CF +QoS DA:...
12:35:22.784109 599348660981us tsft 5240 MHz 11a -123dB signal antenna 0 [bit 14] CF +QoS DA:...
12:35:22.784153 599348660981us tsft 5240 MHz 11a 2dB signal antenna 0 [bit 14] CF +QoS DA:...Quoted 1 line
However, I'm still receiving beacons through antenna 1:
not much idea, probably we cannot change the rx mask i think. we can only change the tx mask?
I heard this some senior eng saying this, but not sure. need to dig deep.Quoted 68 lines
12:35:23.781184 599349658003us tsft 6.0 Mb/s 5240 MHz 11a -54dB signal antenna 1 [bit 14] BSSID:...
12:35:23.985982 599349862803us tsft 6.0 Mb/s 5240 MHz 11a -75dB signal antenna 1 [bit 14] BSSID:...
12:35:24.190791 599350067603us tsft 6.0 Mb/s 5240 MHz 11a -75dB signal antenna 1 [bit 14] BSSID:...
12:35:24.298133 599350174394us tsft 6.0 Mb/s 5240 MHz 11a -76dB signal antenna 1 [bit 14] BSSID:...(btw, if you look at the signal levels on the topmost capture, they just look insane. Could the reason be my setup: one interface is in station mode transferring data, and other interface in monitor mode, watching the packet flow. Is it possible TX is interfering RX signal measurements?)
- Jussi
Quoted 48 lines
Quoted 48 lines
Quoted 4 lines
2016
tx_chainmask=pCap->tx_chainmask;
2017rx_chainmask=pCap->rx_chainmask;Ok, thanks, I'll try with these changes.
- Jussi
Quoted 27 lines
Quoted 27 lines
Quoted 22 lines · On 9 March 2011 18:48, Jussi Haakana<jussi.haakana at…
Hi,
I have a setup in which I can connect only one antenna to AR9280 based card. Is there any way to force ath9k to use this antenna only? I'm not sure, but based on reported signal levels (tcpdump on monitor interface), it looks like the card tries to use both antennas even though there is only one antenna connected.
I've read from earlier posts that this could be done by forcing rx/tx chainmasks to 1, does this apply to current ath9k version (wireless-testing) also? If I do this, does this have any side effects?
- Jussi
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org<mailto:[email protected]>
https://lists.ath9k.org/mailman/listinfo/ath9k-develQuoted 6 lines
Quoted 6 lines
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org<mailto:[email protected]>
https://lists.ath9k.org/mailman/listinfo/ath9k-devel_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org<mailto:[email protected]>
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
It's set to whatever is in rs_antenna, which is:
mac.c: rs->rs_antenna = MS(ads.ds_rxstatus3, AR_RxAntenna);
I'm not sure what that represents on MIMO cards. Atheros people, any feedback?
Adrian
Quoted 8 lines · Jussi Haakana
Quoted 5 lines · Adrian Chadd
I didn't think the radiotap knew about MIMO. :)
It's possible you're being told about the "old" antenna selection/information stuff.
Quoted 161 lines
Hmm. I think that receiving antenna is set in
ath9k_rx_skb_preprocess()(recv.c:984) toieee80211_rx_statusfrom which it is then copied to radiotap by mac80211?- Jussi
Quoted 154 lines
Adrian
On 9 March 2011 23:14, Mohammed Shafi<[email protected]<mailto:
shafi.wireless at gmail.com>> wrote:Quoted 59 lines · On Wed, Mar 9, 2011 at 6:34 PM, Jussi Haakana<[email protected]…
Quoted 38 lines · Mohammed Shafi
Quoted 23 lines · On Wed, Mar 9, 2011 at 5:21 PM, Jussi Haakana<[email protected]…
Quoted 20 lines · Mohammed Shafi
On Wed, Mar 9, 2011 at 4:32 PM, Adrian Chadd<[email protected] <mailto:[email protected]>>
Quoted 13 lines · wrote:
I've found a couple places that hard-code setting up both chains (eg open-loop TX power control, which initialises it for both chains in the
same
location!) but that shouldn't matter.There's a function which sets the TX chainmask based on the sleep/btcoex
mode, maybe you could try setting it to0x1there and see what happens.Quoted 5 lines
Quoted 4 lines
also hardcoding to
0x1in the function of intath9k_hw_fill_cap_info(struct ath_hw *ah)
hw.chelpsplease add this before 2016, 2017 lines
(quoted diff) +2
-0+pCap->tx_chainmask = 0x1; +pCap->rx_chainmask =0x1;Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I did that now the data stream seems to be going through antenna 0:
12:35:22.783976 599348659493us tsft 5240 MHz 11a 126dB signal antenna 0 [bit
14] CF +QoS DA:...
12:35:22.784021 599348659493us tsft 5240 MHz 11a 0dB signal antenna 0 [bit
14] CF +QoS DA:...
12:35:22.784064 599348660933us tsft 5240 MHz 11a -78dB signal antenna 0 [bit
14] CF +QoS DA:...
12:35:22.784109 599348660981us tsft 5240 MHz 11a -123dB signal antenna 0 [bit 14] CF +QoS DA:...
12:35:22.784153 599348660981us tsft 5240 MHz 11a 2dB signal antenna 0 [bit
14] CF +QoS DA:...Quoted 2 lines
However, I'm still receiving beacons through antenna 1:
not much idea, probably we cannot change the rx mask i think. we can only change the tx mask?
I heard this some senior eng saying this, but not sure. need to dig deep.Quoted 76 lines
12:35:23.781184 599349658003us tsft 6.0 Mb/s 5240 MHz 11a -54dB signal antenna 1 [bit 14] BSSID:...
12:35:23.985982 599349862803us tsft 6.0 Mb/s 5240 MHz 11a -75dB signal antenna 1 [bit 14] BSSID:...
12:35:24.190791 599350067603us tsft 6.0 Mb/s 5240 MHz 11a -75dB signal antenna 1 [bit 14] BSSID:...
12:35:24.298133 599350174394us tsft 6.0 Mb/s 5240 MHz 11a -76dB signal antenna 1 [bit 14] BSSID:...(btw, if you look at the signal levels on the topmost capture, they just look insane. Could the reason be my setup: one interface is in station mode
transferring data, and other interface in monitor mode, watching the packet
flow. Is it possible TX is interfering RX signal measurements?)- Jussi
Quoted 54 lines
Quoted 54 lines
Quoted 4 lines
2016
tx_chainmask=pCap->tx_chainmask;
2017rx_chainmask=pCap->rx_chainmask;Ok, thanks, I'll try with these changes.
- Jussi
Quoted 30 lines
Quoted 30 lines
Quoted 24 lines · On 9 March 2011 18:48, Jussi Haakana<[email protected]…
Hi,
I have a setup in which I can connect only one antenna to AR9280 based card. Is there any way to force ath9k to use this antenna only? I'm not sure, but based on reported signal levels (tcpdump on monitor interface), it looks like the card tries to use both antennas even though there is only one antenna connected.
I've read from earlier posts that this could be done by forcing rx/tx chainmasks to 1, does this apply to current ath9k version (wireless-testing) also? If I do this, does this have any side effects?
- Jussi
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org<mailto:[email protected]>Quoted 8 lines
Quoted 8 lines
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org<mailto:[email protected]>_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org<mailto:[email protected]>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110310/ace90702/attachment.htm