All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Set wireless standard
@ 2011-02-24 16:28 Eric Bauman
  2011-02-25  7:55 ` Mohammed Shafi
  0 siblings, 1 reply; 10+ messages in thread
From: Eric Bauman @ 2011-02-24 16:28 UTC (permalink / raw)
  To: ath9k-devel

Hello,

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


Thanks,
Eric

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ath9k-devel] Set wireless standard
  2011-02-24 16:28 [ath9k-devel] Set wireless standard Eric Bauman
@ 2011-02-25  7:55 ` Mohammed Shafi
  2011-02-25  8:42   ` Sagar Bijwe
  2011-02-25 14:18   ` Eric Bauman
  0 siblings, 2 replies; 10+ messages in thread
From: Mohammed Shafi @ 2011-02-25  7:55 UTC (permalink / raw)
  To: ath9k-devel

On Thu, Feb 24, 2011 at 9:58 PM, Eric Bauman <baumane@livejournal.dk> wrote:
> 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

>
> Thanks,
> Eric
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ath9k-devel] Set wireless standard
  2011-02-25  7:55 ` Mohammed Shafi
@ 2011-02-25  8:42   ` Sagar Bijwe
  2011-02-25  8:46     ` Mohammed Shafi
  2011-02-25 14:18   ` Eric Bauman
  1 sibling, 1 reply; 10+ messages in thread
From: Sagar Bijwe @ 2011-02-25  8:42 UTC (permalink / raw)
  To: ath9k-devel

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???

On Fri, Feb 25, 2011 at 1:25 PM, Mohammed Shafi <shafi.ath9k@gmail.com>wrote:

> On Thu, Feb 24, 2011 at 9:58 PM, Eric Bauman <baumane@livejournal.dk>
> wrote:
> > 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
>
> >
> > 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/dd56e408/attachment-0001.htm 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ath9k-devel] Set wireless standard
  2011-02-25  8:42   ` Sagar Bijwe
@ 2011-02-25  8:46     ` Mohammed Shafi
  2011-02-25  8:55       ` Sagar Bijwe
  0 siblings, 1 reply; 10+ messages in thread
From: Mohammed Shafi @ 2011-02-25  8:46 UTC (permalink / raw)
  To: ath9k-devel

On Fri, Feb 25, 2011 at 2:12 PM, Sagar Bijwe <sag.bijwe@gmail.com> wrote:
> 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 ?

>
> On Fri, Feb 25, 2011 at 1:25 PM, Mohammed Shafi <shafi.ath9k@gmail.com>
> wrote:
>>
>> On Thu, Feb 24, 2011 at 9:58 PM, Eric Bauman <baumane@livejournal.dk>
>> wrote:
>> > 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
>>
>> >
>> > 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
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ath9k-devel] Set wireless standard
  2011-02-25  8:46     ` Mohammed Shafi
@ 2011-02-25  8:55       ` Sagar Bijwe
  2011-02-25 16:11         ` Mohammed Shafi
  0 siblings, 1 reply; 10+ messages in thread
From: Sagar Bijwe @ 2011-02-25  8:55 UTC (permalink / raw)
  To: ath9k-devel

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

On Fri, Feb 25, 2011 at 2:16 PM, Mohammded Shafi <shafi.ath9k@gmail.com>wrote:

> On Fri, Feb 25, 2011 at 2:12 PM, Sagar Bijwe <sag.bijwe@gmail.com> wrote:
> > 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 ?
>
> >
> > On Fri, Feb 25, 2011 at 1:25 PM, Mohammed Shafi <shafi.ath9k@gmail.com>
> > wrote:
> >>
> >> On Thu, Feb 24, 2011 at 9:58 PM, Eric Bauman <baumane@livejournal.dk>
> >> wrote:
> >> > 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
> >>
> >> >
> >> > 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 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ath9k-devel] Set wireless standard
  2011-02-25  7:55 ` Mohammed Shafi
  2011-02-25  8:42   ` Sagar Bijwe
@ 2011-02-25 14:18   ` Eric Bauman
  2011-02-25 15:19     ` Mohammed Shafi
  1 sibling, 1 reply; 10+ messages in thread
From: Eric Bauman @ 2011-02-25 14:18 UTC (permalink / raw)
  To: ath9k-devel

Hello,

On 25/02/2011, Mohammed Shafi wrote:
> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ath9k-devel] Set wireless standard
  2011-02-25 14:18   ` Eric Bauman
@ 2011-02-25 15:19     ` Mohammed Shafi
  2011-03-21 13:04       ` Mohammed Shafi
  0 siblings, 1 reply; 10+ messages in thread
From: Mohammed Shafi @ 2011-02-25 15:19 UTC (permalink / raw)
  To: ath9k-devel

On Fri, Feb 25, 2011 at 7:48 PM, Eric Bauman <baumane@livejournal.dk> wrote:
> Hello,
>
> On 25/02/2011, Mohammed Shafi wrote:
>> 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

>
> Thanks,
> Eric
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ath9k-devel] Set wireless standard
  2011-02-25  8:55       ` Sagar Bijwe
@ 2011-02-25 16:11         ` Mohammed Shafi
  2011-02-25 17:26           ` Sagar Bijwe
  0 siblings, 1 reply; 10+ messages in thread
From: Mohammed Shafi @ 2011-02-25 16:11 UTC (permalink / raw)
  To: ath9k-devel

On Fri, Feb 25, 2011 at 2:25 PM, Sagar Bijwe <sag.bijwe@gmail.com> wrote:
> 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.

> Thanks
> -Sagar
>
> On Fri, Feb 25, 2011 at 2:16 PM, Mohammded Shafi <shafi.ath9k@gmail.com>
> wrote:
>>
>> On Fri, Feb 25, 2011 at 2:12 PM, Sagar Bijwe <sag.bijwe@gmail.com> wrote:
>> > 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 ?
>>
>> >
>> > On Fri, Feb 25, 2011 at 1:25 PM, Mohammed Shafi <shafi.ath9k@gmail.com>
>> > wrote:
>> >>
>> >> On Thu, Feb 24, 2011 at 9:58 PM, Eric Bauman <baumane@livejournal.dk>
>> >> wrote:
>> >> > 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
>> >>
>> >> >
>> >> > 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
>> >
>> >
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ath9k-devel] Set wireless standard
  2011-02-25 16:11         ` Mohammed Shafi
@ 2011-02-25 17:26           ` Sagar Bijwe
  0 siblings, 0 replies; 10+ messages in thread
From: Sagar Bijwe @ 2011-02-25 17:26 UTC (permalink / raw)
  To: ath9k-devel

>>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 ???


On Fri, Feb 25, 2011 at 9:41 PM, Mohammed Shafi <shafi.ath9k@gmail.com>wrote:

> On Fri, Feb 25, 2011 at 2:25 PM, Sagar Bijwe <sag.bijwe@gmail.com> wrote:
> > 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.
>
> > Thanks
> > -Sagar
> >
> > On Fri, Feb 25, 2011 at 2:16 PM, Mohammded Shafi <shafi.ath9k@gmail.com>
> > wrote:
> >>
> >> On Fri, Feb 25, 2011 at 2:12 PM, Sagar Bijwe <sag.bijwe@gmail.com>
> wrote:
> >> > 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 ?
> >>
> >> >
> >> > On Fri, Feb 25, 2011 at 1:25 PM, Mohammed Shafi <
> shafi.ath9k at gmail.com>
> >> > wrote:
> >> >>
> >> >> On Thu, Feb 24, 2011 at 9:58 PM, Eric Bauman <baumane@livejournal.dk
> >
> >> >> wrote:
> >> >> > 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
> >> >>
> >> >> >
> >> >> > 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 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [ath9k-devel] Set wireless standard
  2011-02-25 15:19     ` Mohammed Shafi
@ 2011-03-21 13:04       ` Mohammed Shafi
  0 siblings, 0 replies; 10+ messages in thread
From: Mohammed Shafi @ 2011-03-21 13:04 UTC (permalink / raw)
  To: ath9k-devel

On Fri, Feb 25, 2011 at 8:49 PM, Mohammed Shafi <shafi.ath9k@gmail.com> wrote:
> On Fri, Feb 25, 2011 at 7:48 PM, Eric Bauman <baumane@livejournal.dk> wrote:
>> Hello,
>>
>> On 25/02/2011, Mohammed Shafi wrote:
>>> 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

Also you need this additional check in xmit.c
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c
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);



>
> thanks,
> shafi
>
>>
>> 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
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-03-21 13:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 16:28 [ath9k-devel] Set wireless standard Eric Bauman
2011-02-25  7:55 ` Mohammed Shafi
2011-02-25  8:42   ` Sagar Bijwe
2011-02-25  8:46     ` Mohammed Shafi
2011-02-25  8:55       ` Sagar Bijwe
2011-02-25 16:11         ` Mohammed Shafi
2011-02-25 17:26           ` Sagar Bijwe
2011-02-25 14:18   ` Eric Bauman
2011-02-25 15:19     ` Mohammed Shafi
2011-03-21 13:04       ` Mohammed Shafi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.