Skip to contentSkip to conversation

Set wireless standard

ath9k-devel Eric Bauman 4 participants 10 messages Feb 24, 2011 – Mar 21, 2011

lore
Share & tools
lore
#0 lore raw

Hello,

Is any configuration of the wireless standards to be used available? eg. use only b, disable n etc.

Thanks,
Eric

#1 lore raw
Quoted 5 lines · Eric Bauman

Hello,

Is any configuration of the wireless standards to be used available? eg. use only b, disable n etc.

Can you please elaborate. I could not understand.
with ath9k you cannot set 'b' mode or 'a' mode via iw/iwconfig commands

Quoted 9 lines

Thanks,
Eric

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

#2 lore raw

Hi,
I am a newbie to ath9k drivers. Setting rates to 54M using iwconfig is not working for ad-hoc mode. I could see only 1 Mbps throughput using iperf. Any hint over this???

Quoted 20 lines · Mohammed Shafi
Quoted 5 lines · Eric Bauman

Hello,

Is any configuration of the wireless standards to be used available? eg. use only b, disable n etc.

Can you please elaborate. I could not understand.
with ath9k you cannot set 'b' mode or 'a' mode via iw/iwconfig commands

Quoted 9 lines

Thanks,
Eric

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

Quoted 5 lines

_______________________________________________
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/20110225/dd56e408/attachment-0001.htm

#3 lore raw
Quoted 4 lines · Sagar Bijwe

Hi,
I am a newbie to ath9k drivers. Setting rates to 54M using iwconfig is not working for ad-hoc mode. I could see only 1 Mbps throughput using iperf. Any hint over this???

have not tested iperf with ad-hoc, ad-hoc is limited to legacy and handled by mac80211 protocol stack. is this working fine in station mode ?

Quoted 30 lines
Quoted 25 lines · Mohammed Shafi
Quoted 5 lines · Eric Bauman

Hello,

Is any configuration of the wireless standards to be used available? eg. use only b, disable n etc.

Can you please elaborate. I could not understand.
with ath9k you cannot set 'b' mode or 'a' mode via iw/iwconfig commands

Quoted 9 lines

Thanks,
Eric

_______________________________________________
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

#4 lore raw

I didnt test it in station mode but i am desperately in the need of setting up a wireless test-bed of a few nodes in ad-hoc mode.
For my research, i want to disable backoff as well as physical and virtual carrier sense. I have currently set cwmin and cwmax to 0 and AIFS to 1 (imitate beacon) to disable the backoff. To test this i guess ad-hoc mode is suitable. I am looking for insights into which modes and rates are supported over ath9k chipsets and how multiple antennas will have impact over my experimentation.
Thanks
-Sagar

Quoted 16 lines · Mohammded Shafi
Quoted 2 lines · Sagar Bijwe

Hi,
I am a newbie to ath9k drivers. Setting rates to 54M using iwconfig is

not

Quoted 1 line

working for ad-hoc mode. I could see only 1 Mbps throughput using iperf.

Any

Quoted 1 line

hint over this???

have not tested iperf with ad-hoc, ad-hoc is limited to legacy and handled by mac80211 protocol stack. is this working fine in station mode ?

Quoted 4 lines
Quoted 1 line · Mohammed Shafi
Quoted 28 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines · Eric Bauman

Hello,

Is any configuration of the wireless standards to be used available?

eg.

Quoted 21 lines
Quoted 19 lines
Quoted 2 lines

use only b, disable n etc.

Can you please elaborate. I could not understand.
with ath9k you cannot set 'b' mode or 'a' mode via iw/iwconfig commands

Quoted 9 lines

Thanks,
Eric

_______________________________________________
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/20110225/027dda1b/attachment.htm

#7 lore raw
In reply to Mohammed Shafi

Hello,

Quoted 2 lines · Mohammed Shafi

Can you please elaborate. I could not understand.
with ath9k you cannot set 'b' mode or 'a' mode via iw/iwconfig commands

To clarify, of 802.11[a,b,g,n] is there any way to disable, say, 802.11n?

For example, some other driver allows disabling of 802.11n by passing a parameter to the module upon loading.

Thanks,
Eric

#8 lore raw
Quoted 10 lines · Eric Bauman

Hello,

Quoted 2 lines · Mohammed Shafi

Can you please elaborate. I could not understand.
with ath9k you cannot set 'b' mode or 'a' mode via iw/iwconfig commands

To clarify, of 802.11[a,b,g,n] is there any way to disable, say, 802.11n?

For example, some other driver allows disabling of 802.11n by passing a parameter to the module upon loading.

Please do a hack in hw.c of ath9k

1872 if (ah->config.ht_enable)
1873 pCap->hw_caps |= ATH9K_HW_CAP_HT;
1874 else
1875 pCap->hw_caps &= ~ATH9K_HW_CAP_HT;

delete lines 1872, 1873, 1875

thanks,
shafi

Quoted 9 lines

Thanks,
Eric

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

#5 lore raw
In reply to Sagar Bijwe
Quoted 8 lines · Sagar Bijwe

I didnt test it in station mode but i am desperately in the need of setting up a wireless test-bed of a few nodes in ad-hoc mode.
For my research, i want to disable backoff as well as physical and virtual carrier sense. I have currently set cwmin and cwmax to 0 and AIFS to 1 (imitate beacon) to disable the backoff. To test this i guess ad-hoc mode is suitable. I am looking for insights into which modes and rates are supported over ath9k chipsets and how multiple antennas will have impact over my experimentation.

The problems is adhoc is limited to only legacy rate and the HT patch for IBSS is not yet officially merged. And I doubt will ath9k rate control to be any effect for IBSS.

Quoted 51 lines

Thanks
-Sagar

Quoted 44 lines · Mohammded Shafi
Quoted 6 lines · Sagar Bijwe

Hi,
I am a newbie to ath9k drivers. Setting rates to 54M using iwconfig is not
working for ad-hoc mode. I could see only 1 Mbps throughput using iperf. Any
hint over this???

have not tested ?iperf with ad-hoc, ad-hoc is limited to legacy and handled by mac80211 protocol stack. is this working fine in station mode ?

Quoted 31 lines
Quoted 26 lines · Mohammed Shafi
Quoted 6 lines · Eric Bauman

Hello,

Is any configuration of the wireless standards to be used available? eg.
use only b, disable n etc.

Can you please elaborate. I could not understand.
with ath9k you cannot set 'b' mode or 'a' mode via iw/iwconfig commands

Quoted 9 lines

Thanks,
Eric

_______________________________________________
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

#6 lore raw
Quoted 1 line
Quoted 1 line

HT patch for IBSS is not yet officially merged

Does that mean if at least I disable 11n with the suggested patch and use b/g mode, I should be able to get the rate of 11/54Mbps with ad-hoc mode ???

Quoted 49 lines · Mohammed Shafi
Quoted 1 line · Sagar Bijwe

I didnt test it in station mode but i am desperately in the need of

setting

Quoted 2 lines

up a wireless test-bed of a few nodes in ad-hoc mode. For my research, i want to disable backoff as well as physical and

virtual

Quoted 2 lines

carrier sense. I have currently set cwmin and cwmax to 0 and AIFS to 1 (imitate beacon) to disable the backoff. To test this i guess ad-hoc mode

is

Quoted 1 line

suitable. I am looking for insights into which modes and rates are

supported

Quoted 2 lines

over ath9k chipsets and how multiple antennas will have impact over my experimentation.

The problems is adhoc is limited to only legacy rate and the HT patch for IBSS is not yet officially merged. And I doubt will ath9k rate control to be any effect for IBSS.

Quoted 7 lines

Thanks
-Sagar

Quoted 2 lines · Mohammded Shafi

On Fri, Feb 25, 2011 at 2:12 PM, Sagar Bijwe <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines

Hi,
I am a newbie to ath9k drivers. Setting rates to 54M using iwconfig is not
working for ad-hoc mode. I could see only 1 Mbps throughput using

iperf.

Quoted 9 lines
Quoted 9 lines
Quoted 2 lines

Any
hint over this???

have not tested iperf with ad-hoc, ad-hoc is limited to legacy and handled by mac80211 protocol stack. is this working fine in station mode ?

Quoted 2 lines

On Fri, Feb 25, 2011 at 1:25 PM, Mohammed Shafi <

shafi.ath9k at gmail.com>

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines · wrote:

On Thu, Feb 24, 2011 at 9:58 PM, Eric Bauman <[email protected]

Quoted 3 lines · wrote:

Hello,

Is any configuration of the wireless standards to be used

Quoted 27 lines

available?

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

eg.
use only b, disable n etc.

Can you please elaborate. I could not understand. with ath9k you cannot set 'b' mode or 'a' mode via iw/iwconfig

commands

Quoted 18 lines
Quoted 16 lines
Quoted 16 lines
Quoted 14 lines
Quoted 10 lines

Thanks,
Eric

_______________________________________________
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/20110225/6dd30da5/attachment.htm

#9 lore raw
In reply to Mohammed Shafi
Quoted 12 lines · Mohammed Shafi
Quoted 10 lines · Eric Bauman

Hello,

Quoted 2 lines · Mohammed Shafi

Can you please elaborate. I could not understand.
with ath9k you cannot set 'b' mode or 'a' mode via iw/iwconfig commands

To clarify, of 802.11[a,b,g,n] is there any way to disable, say, 802.11n?

For example, some other driver allows disabling of 802.11n by passing a parameter to the module upon loading.

Quoted 8 lines

Please do a hack in hw.c of ath9k

1872 ? ? ? ? if (ah->config.ht_enable)
1873 ? ? ? ? ? ? ? ? pCap->hw_caps |= ATH9K_HW_CAP_HT; 1874 ? ? ? ? else
1875 ? ? ? ? ? ? ? ? pCap->hw_caps &= ~ATH9K_HW_CAP_HT;

delete lines 1872, 1873, 1875

Also you need this additional check in xmit.c

(quoted diff) +0 -0

b/drivers/net/wireless/ath/ath9k/xmit.c
-1725,8 +1725,8 @@ static void ath_tx_start_dma(struct ath_softc *sc, struct ath_buf *bf,

         u8 tidno;

         spin_lock_bh(&txctl->txq->axq_lock);

- if (ieee80211_is_data_qos(hdr->frame_control) && txctl->an) {
+ if ((sc->sc_flags & SC_OP_TXAGGR) && txctl->an &&

  +               ieee80211_is_data_qos(hdr->frame_control)) {
                  tidno = ieee80211_get_qos_ctl(hdr)[0] &
                          IEEE80211_QOS_CTL_TID_MASK;
                  tid = ATH_AN_2_TID(txctl->an, tidno);
Quoted 18 lines

thanks,
shafi

Quoted 9 lines

Thanks,
Eric

_______________________________________________
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