This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

If possible to implement these IOCTLs (SIOCSIWRATE, SIOCSIWRETRY, SIOCGIWRETRY) on current wifi driver design???

Hi

The wifi driver do not support three IOCTLs (SIOCSIWRATE, SIOCSIWRETRY, SIOCGIWRETRY) currently.

If possible to implement these IOCTLs on current wifi driver design???

 

Austin

  • Hi Austin,

    I am not sure whether IOCTLs can be implemented or not. However, the following INI file parameters are used to configure number of transmission retries (SIOCSIWRETRY) in  the firmware. RatePolicyUserShortRetryLimit, RatePolicyUserLongRetryLimit (http://processors.wiki.ti.com/index.php/OMAP35x_Wireless_Connectivity_ini_File_Description_and_Parameters_User%27s_Guide).

    Thanks,

    Sinoj

  • Dear Sinoj:

    I think I give up these implement IOCTLs.

    Thanks your help.

     

    Austin

  • Hi Austin,

    As you have probably noticed, not all WEXT commands are supported in the current driver implementation.

    I guess more WEXT will be supported as part of the open source driver (mac802.11).

    There is no intention to add these factionalities to the current implementation but if you would like to specifically add the ones above, there are other options.

    To view which options are supported and which are not, please refer to aaray aWextHandlers[] under WlanDrvWext.c.

    Specifically to your questions:

    SIOCSIWRETRY and SIOCGIWRETRY refers to the retry value.

    To change the default number of retries for short frames (below RTS threshold), add to the ini file the following registry key: RatePolicyUserShortRetryLimit = x, where x is the new value you desire to configure. Btw, the default value is 10.

     To change the default number of retries for long frames (above RTS threshold), add to the ini file the following registry key: RatePolicyUserLongRetryLimit = x, where x is the new value you desire to configure. Btw, the default value is 10.

    SIOCSIWRATE anSIOCGIWRATE refers to the configured rate.

    To change the value you need to use the WLAN_CU utility (a.k.a. wlan cli). Just go to Management and then to Rate. Typing 'r' shows you the current rate and typing 'r rate' where rate is a number representing the rate, sets the requested rate.

    The mapping of each rate with its appropriate number is as follows:

    Rates: 1 Mbps(130 - basic),2 Mbps(132 - basic),5.5 Mbps(139 - basic),11 Mbps(150 -

    basic),22 Mbps(44),6 Mbps(12),9 Mbps(18),12 Mbps(24),18 Mbps(36),24 Mbps(48),36

    Mbps(72),48 Mbps(96),54 Mbps(108),6.5 Mbps(13),13 Mbps(26),19.5 Mbps(39),26

    Mbps(52),39 Mbps(78),52 Mbps(104),58.5 Mbps(117),65 Mbps(131)

     

    BR,

    Shlomi