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.

wl18xx: Bringing up wifi on 5GHz on OMAP5432



Hi,

i am using OMAP5432 with linux kernel version 3.8.13-g89927f5 (followed gl-sdk-6)

wl18xx: wl18xx-fw-2.bin (taken from https://github.com/TI-OpenLink/wl18xx_fw)

i am trying to bring up wifi in 5GHz bandwidth frequncies using wpa_supplicant.

i have set operating channel in 5GHz (using supplicant conf), but after a successful connection, there is no data over the set operating channel instead the data transfer looks to be happening in 2.4GHz (Channel 1, verified using a wifi sniffer)

Even in the scan (using iw commands), only APs with 2.4GHz bandwidth frequencies are shown.

Questions:

1) How to bring up OMAP5432 EVM to use both 2.4GHz and 5GHz bandwidth frequencies?

2) Is the driver wl18xx-fw-2.bin an early stage driver which is yet to support 5GHz bandwidth frequencies?

3) using iwconfig, i could see only one interface (wlan0: b/g/n), if there is support for dual band, is it not supposed to show two interfaces (one for 2.4 GHz and one for 5GHz)?

-Srinivas.

  • Hi Srinivas,

    iwconfig will only give you one interface "wlan0" even if there is support for 2 bands.

    Can you try setting the frequency using the iwconfig command (eg: iwconfig wlan0 freq 36) ? Also what does "iwlist frequency" output?

    Also, where did you get the bin file from?

    Regards,

    Gigi Joseph.

  • Hello Gigi Joseph,

    Thanks for the reply.

    i got the .bin file from https://github.com/TI-OpenLink/wl18xx_fw

    please find the output for "iwlist frequency" and "iw list" in the below file.

    omap5-evm:~# iwlist frequency
    wlan0     32 channels in total; available frequencies :
              Channel 01 : 2.412 GHz
              Channel 02 : 2.417 GHz
              Channel 03 : 2.422 GHz
              Channel 04 : 2.427 GHz
              Channel 05 : 2.432 GHz
              Channel 06 : 2.437 GHz
              Channel 07 : 2.442 GHz
              Channel 08 : 2.447 GHz
              Channel 09 : 2.452 GHz
              Channel 10 : 2.457 GHz
              Channel 11 : 2.462 GHz
              Channel 36 : 5.18 GHz
              Channel 38 : 5.19 GHz
              Channel 40 : 5.2 GHz
              Channel 42 : 5.21 GHz
              Channel 44 : 5.22 GHz
              Channel 46 : 5.23 GHz
              Channel 48 : 5.24 GHz
              Channel 52 : 5.26 GHz
              Channel 56 : 5.28 GHz
              Channel 60 : 5.3 GHz
              Channel 64 : 5.32 GHz
              Channel 100 : 5.5 GHz
              Channel 104 : 5.52 GHz
              Channel 108 : 5.54 GHz
              Channel 112 : 5.56 GHz
              Channel 116 : 5.58 GHz
              Channel 132 : 5.66 GHz
              Channel 136 : 5.68 GHz
              Channel 140 : 5.7 GHz
              Channel 149 : 5.745 GHz
              Channel 153 : 5.765 GHz
    lo        no frequency information.
    
    eth0      no frequency information.
    
    _________________________________________________
    
    omap5-evm:~# iw list
    Wiphy phy0
            Band 1:
                    Capabilities: 0x1072
                            HT20/HT40
                            Static SM Power Save
                            RX Greenfield
                            RX HT20 SGI
                            RX HT40 SGI
                            No RX STBC
                            Max AMSDU length: 3839 bytes
                            DSSS/CCK HT40
                    Maximum RX AMPDU length 16383 bytes (exponent: 0x001)
                    Minimum RX AMPDU time spacing: 16 usec (0x07)
                    HT TX/RX MCS rate indexes supported: 0-7
                    Frequencies:
                            * 2412 MHz [1] (25.0 dBm)
                            * 2417 MHz [2] (25.0 dBm)
                            * 2422 MHz [3] (25.0 dBm)
                            * 2427 MHz [4] (25.0 dBm)
                            * 2432 MHz [5] (25.0 dBm)
                            * 2437 MHz [6] (25.0 dBm)
                            * 2442 MHz [7] (25.0 dBm)
                            * 2447 MHz [8] (25.0 dBm)
                            * 2452 MHz [9] (25.0 dBm)
                            * 2457 MHz [10] (25.0 dBm)
                            * 2462 MHz [11] (25.0 dBm)
                            * 2467 MHz [12] (disabled)
                            * 2472 MHz [13] (disabled)
                            * 2484 MHz [14] (disabled)
                    Bitrates (non-HT):
                            * 1.0 Mbps
                            * 2.0 Mbps (short preamble supported)
                            * 5.5 Mbps (short preamble supported)
                            * 11.0 Mbps (short preamble supported)
                            * 6.0 Mbps
                            * 9.0 Mbps
                            * 12.0 Mbps
                            * 18.0 Mbps
                            * 24.0 Mbps
                            * 36.0 Mbps
                            * 48.0 Mbps
                            * 54.0 Mbps
            Band 2:
                    Capabilities: 0x72
                            HT20/HT40
                            Static SM Power Save
                            RX Greenfield
                            RX HT20 SGI
                            RX HT40 SGI
                            No RX STBC
                            Max AMSDU length: 3839 bytes
                            No DSSS/CCK HT40
                    Maximum RX AMPDU length 16383 bytes (exponent: 0x001)
                    Minimum RX AMPDU time spacing: 16 usec (0x07)
                    HT TX/RX MCS rate indexes supported: 0-7
                    Frequencies:
                            * 5035 MHz [7] (disabled)
                            * 5040 MHz [8] (disabled)
                            * 5045 MHz [9] (disabled)
                            * 5055 MHz [11] (disabled)
                            * 5060 MHz [12] (disabled)
                            * 5080 MHz [16] (disabled)
                            * 5170 MHz [34] (disabled)
                            * 5180 MHz [36] (17.0 dBm)
                            * 5190 MHz [38] (17.0 dBm)
                            * 5200 MHz [40] (17.0 dBm)
                            * 5210 MHz [42] (17.0 dBm)
                            * 5220 MHz [44] (17.0 dBm)
                            * 5230 MHz [46] (17.0 dBm)
                            * 5240 MHz [48] (17.0 dBm)
                            * 5260 MHz [52] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                            * 5280 MHz [56] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                            * 5300 MHz [60] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                            * 5320 MHz [64] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                            * 5500 MHz [100] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                            * 5520 MHz [104] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                            * 5540 MHz [108] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                            * 5560 MHz [112] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                            * 5580 MHz [116] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                            * 5600 MHz [120] (disabled)
                            * 5620 MHz [124] (disabled)
                            * 5640 MHz [128] (disabled)
                            * 5660 MHz [132] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                            * 5680 MHz [136] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                            * 5700 MHz [140] (20.0 dBm) (passive scanning, no IBSS, radar detection)
                            * 5745 MHz [149] (25.0 dBm)
                            * 5765 MHz [153] (25.0 dBm)
                            * 5785 MHz [157] (25.0 dBm)
                            * 5805 MHz [161] (25.0 dBm)
                            * 5825 MHz [165] (25.0 dBm)
                    Bitrates (non-HT):
                            * 6.0 Mbps
                            * 9.0 Mbps
                            * 12.0 Mbps
                            * 18.0 Mbps
                            * 24.0 Mbps
                            * 36.0 Mbps
                            * 48.0 Mbps
                            * 54.0 Mbps
            max # scan SSIDs: 1
            max scan IEs length: 441 bytes
            Coverage class: 0 (up to 0m)
            Supported Ciphers:
                    * WEP40 (00-0f-ac:1)
                    * WEP104 (00-0f-ac:5)
                    * TKIP (00-0f-ac:2)
                    * CCMP (00-0f-ac:4)
                    * WPI-SMS4 (00-14-72:1)
            Available Antennas: TX 0 RX 0
            Supported interface modes:
                     * IBSS
                     * managed
                     * AP
                     * AP/VLAN
                     * monitor
                     * P2P-client
                     * P2P-GO
            software interface modes (can always be added):
                     * AP/VLAN
                     * monitor
            valid interface combinations:
                     * #{ managed } <= 3, #{ AP, P2P-client, P2P-GO } <= 1,
                       total <= 3, #channels <= 2
            Supported commands:
                     * new_interface
                     * set_interface
                     * new_key
                     * start_ap
                     * new_station
                     * new_mpath
                     * set_mesh_config
                     * set_bss
                     * authenticate
                     * associate
                     * deauthenticate
                     * disassociate
                     * join_ibss
                     * join_mesh
                     * remain_on_channel
                     * set_tx_bitrate_mask
                     * frame
                     * frame_wait_cancel
                     * set_wiphy_netns
                     * set_channel
                     * set_wds_peer
                     * start_sched_scan
                     * probe_client
                     * set_noack_map
                     * register_beacons
                     * Unknown command (89)
                     * Unknown command (92)
                     * testmode
                     * connect
                     * disconnect
            Supported TX frame types:
                     * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                     * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                     * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                     * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                     * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                     * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                     * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                     * Unknown mode (10): 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
            Supported RX frame types:
                     * IBSS: 0x40 0xb0 0xc0 0xd0
                     * managed: 0x40 0xd0
                     * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                     * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                     * mesh point: 0xb0 0xc0 0xd0
                     * P2P-client: 0x40 0xd0
                     * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                     * Unknown mode (10): 0x40 0xd0
            WoWLAN support:
                     * wake up on anything (device continues operating normally)
                     * wake up on pattern match, up to 5 patterns of 1-91 bytes
            Device supports AP-side u-APSD.
            HT Capability overrides:
                     * MCS: ff ff ff ff ff ff ff ff ff ff
                     * maximum A-MSDU length
                     * supported channel width
                     * short GI for 40 MHz
                     * max A-MPDU length exponent
                     * min MPDU start spacing
            Device supports TX status socket option.
            Device supports HT-IBSS.
    
    
    
    
    
    

    -Srinivas.

  • Gigi Joseph,

    Belwo is the link for the version of .bin file i am using

    https://github.com/TI-OpenLink/wl18xx_fw/releases/tag/ol_r8.a7.02

  • Hi Srinivas,

    What I meant is, if you do 'iwlist wlan0 frequency", you will know the available frequency and the current frequency.

    So, can you first do " iwconfig wlan0 freq 36", then confirm if the current freq is : 5G, set an AP in 5GHz (Chan#36) mode only, then do a scan and see if you can scan/connect to it? 

    Regards,

    Gigi Joseph.