Search Linux Wireless

Re: Question about ath9k/mac80211 Driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Larry,
     Thanks for the response.  It appears that "set bitrates" is not
possible with my version of iw (0.9.19) - I get a big long help screen
when I try that command:

 "iw dev wlan0 set bitrates legacy-2.4 1 2 5.5 11"
...the options printed out for "set" are:

        phy <phyname> set distance <distance>
        phy <phyname> set coverage <coverage class>
        phy <phyname> set netns <pid>
        phy <phyname> set rts <rts threshold|off>
        phy <phyname> set frag <fragmentation threshold|off>
        dev <devname> set channel <channel> [HT20|HT40+|HT40-]
        phy <phyname> set channel <channel> [HT20|HT40+|HT40-]
        dev <devname> set freq <freq> [HT20|HT40+|HT40-]
        phy <phyname> set freq <freq> [HT20|HT40+|HT40-]
        phy <phyname> set name <new name>
        dev <devname> set type <type>
        dev <devname> set meshid <meshid>
        dev <devname> set monitor <flag>*
        dev <devname> set mesh_param <param> <value>

 ...also there's the issue of "basic rates" and "supported rates" I
would need the supported rates appropriate for the mode (such as 'b')
to show in the beacon also.

Thanks again for the response.

-Patrick


On Thu, Aug 23, 2012 at 9:31 AM, Larry Finger <Larry.Finger@xxxxxxxxxxxx> wrote:
> On 08/23/2012 11:19 AM, Patrick Connolly wrote:
>>
>> Mohammed,
>>       Thanks very much for the response.
>>
>>     Yes I get "Operation not supported":
>>
>> # iwconfig wlan0 modu 11b
>> Error for wireless request "Set Modulation" (8B2F) :
>>      SET failed on device wlan0 ; Operation not supported.
>>
>>     ...so what does this mean; what are my options here?  In view of
>> the fact that the capability of changing modes (from 'g' to 'b'
>> ...etc.) is an essential requirement, am I using the wrong driver
>> ...is there a different driver that supports this chip?  Or is it that
>> there's no driver that supports this chip so that I would have to put
>> this functionality into ath9k myself if I want it?
>
>
> Adding that functionality should not be necessary. The simple command
>
> iw dev $WIFIDEV set bitrates legacy-2.4 1 2 5.5 11
>
> will restrict the device to 802.11b rates, which I think is what you want.
> This command does not involve the device driver, but sets the appropriate
> parameters in mac80211.
>
> Larry
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux