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.

Wilink8 Testing tools

Hi,

     I am following on script available at zedboard.org/.../wilink-8-adaptor.

     In this script they are downloading TIInit_11.8.32.bts and gatttool and finally they are putting these stuffs in the rootfs(root file system).

     I am trying to integrate the wilink8 wifi module with Zedboard. Mine query is

     1- what are these two stuffs that i have written above? and

     2- what is the purpose?

     3- Why i need to put them in mine root file system? and

     4-  Is it mandatory to put them ??

     Please illustrate this to me.

Regards

Aditya

  • So i am adding to mine above questions . I found on the internet that TIInit_11.8.32.bts required for bluetooth support on WiLink8 module from
    Texas Instruments and Gatttool is a tool distributed along with Bluez, the default linux bluetooth stack, to interact with Bluetooth Low Energy (BLE) devices.
    But mine primary focus is to work with Wifi interface of Wilink8 module. So in that case i would like to ask following:
    1- Like TIInit_11.8.32.bts, do i need to put something in mine rootfs if i am working on Wifi.
    2- If it is please tell me the source???

    Regards
    Aditya
  • Hi,

    Wilink8 wifi drivers are part of the latest linux kernel.
    What is the host processor your are using with wilink8?

    Best Regards,
    Eyal
  • Sir,
    Thanks for your such a quick reply. Actually i am using the Zedboard which is having Zync series SoC from Xilinx and it supports ARM-cortex A9 processor.From your answer it seems that i need not to put those stuffs in mine root file system if i want to primarily work only with WiFi . But if i put those things also then it will only extra thing that i may use in future. But right now for the WiFi stuff it is not required at all.

    Please suggest me

    Regards
    Aditya
  • Hi,

    In case you zedboard comes already with a file system that includes the wilink8 support then probably everything is there already.
    When it boots up, what is the output of "ifconfig -a"?
    do you have the wlan0 interface there already?

    BR,
    Eyal
  • Hi,

    Should we keep this thread open?

    BR,
    Eyal
  • Hello Sir,

                     Yes please keep it open for some time. 

    Actually sir i tried many things and did not get success. As i am using Xilinx Linux Kernel and as you know in market always new versions kept on coming and also their respective patches and also there are many TI drivers. So t think mine problem is related to somehow applying the correct patch. As in mine previous posts i told that i was using some scripts in which i was executing  "checkout tags/ol_r8.a9.14". So could u please tell me that which TI version i am checking out???

    In more general after executing the following command

    git clone git://git.ti.com/wilink8-wlan/build-utilites.git
    cd build-utilities
    cp set-env.sample set-env
    ,/build wl18xx.sh init

    How to know that which TI driver version i have installed and do i need to run the folowing or not:-

    ./build_wl18xx.sh update R8.7_SP1 

    Because i am doubting that i am not able to apply the correct patch for mine kernel and there is no meaning of doing hit and trial.

    Please Guide me.

    Regards

    Aditya

    .
     

  • hi ,
    - First you need to make sure setup-env points to your kernel and compiler.
    - 'init' will clone all git repositories
    - 'update R8.7_SP1' will checkout appropriate tag and build all necessary components .
    - if ROOTFS is set to DEFAULT , build will not overwrite your binaries . All binaries will be in fs/

    Saurabh
  • Sir,

          Thanks for reply. As what u suggested above to me , I am trying to do the same things but i think mine sequence is not correct. Here i am writing mine steps please have look and suggest me and correct me.

    1- cd ~/Documents
    2-git clone git://git.ti.com/wilink8-wlan/build-utilites.git
    3-cd build-utilites
    4-cp setup-env.sample setup-env(The content of mine setupenv file i will share below):-

    # if DEFAULT toolchain path is set toolchain will be downloaded to ./toolchain.
    export TOOLCHAIN_PATH=DEFAULT
    # if DEAFULT path to root filesystem is set ./fs folder will be used.
    export ROOTFS=DEFAULT
    #if DEFAULT kernel path is set - kernel will be downloaded (set branch to match kernel version)
    export KERNEL_PATH=DEFAULT

    export CROSS_COMPILE=arm-none-linux-gnueabi-
    export ARCH=arm
    [ "$TOOLCHAIN_PATH" != "DEFAULT" ] && export PATH=$TOOLCHAIN_PATH:$PATH

    5-./build_wl18xx.sh init

    6-git clone github.com/.../u-boot-xlnx.git

    7-make command execute to get the uboot.elf(Here i will get mine uboot.elf file)

    8-git clone git://github.com/Xilinx/linux-xlnx(To clone the Xilinx-linux from github)

    9-cd linux-xlnx

    11- make menuconfig to enable the necessary settings

    10-   rm -r drivers/net/wireless/ti/*
            cp -r ~/Documents/build-utilites/src/driver/drivers/net/wireless/ti/* drivers/net/wireless/ti/

    11-make uimage

    12-make modules

    So these are the steps i followed.

    So where is the mistake in the sequences. Could you please explain to me.

    Regards

    Aditya

  • hi , in setup-env you need to set TOOLCHAIN_PATH to the ARM compiler that you use to compile your kernel ; set KERNEL_PATH to xilinx kernel

    Saurabh
  • Hi Sir,
    Actually i am going to write , i have posted alreday but i do not know why it gave me a msg that your msg will be verified by moderator and then it will be sent. So in the case you got the following post already then ignore this or plz read this and advice me. Mine system is able to boot but ifconfig wlan0 up is not showing anythig. Here i will send mine serial console dump. Please have a look on suggest me;-

    [ 1.010981] e0000000.serial: ttyPS1 at MMIO 0xe0000000 (irq = 59, base_baud = 6249999) is a xuartps
    [ 1.020428] xdevcfg f8007000.ps7-dev-cfg: ioremap 0xf8007000 to e086c000
    [ 1.029580] brd: module loaded
    [ 1.036771] loop: module loaded
    [ 1.044200] libphy: XEMACPS mii bus: probed
    [ 1.049026] xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54
    [ 1.057419] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.064170] ehci-pci: EHCI PCI platform driver
    [ 1.071446] zynq-dr e0002000.ps7-usb: Unable to init USB phy, missing?
    [ 1.078059] usbcore: registered new interface driver usb-storage
    [ 1.084694] mousedev: PS/2 mouse device common for all mice
    [ 1.090485] i2c /dev entries driver
    [ 1.094815] Bluetooth: HCI UART driver ver 2.2
    [ 1.099176] Bluetooth: HCI H4 protocol initialized
    [ 1.104001] Bluetooth: HCI Three-wire UART (H5) protocol initialized
    [ 1.110374] zynq-edac f8006000.ps7-ddrc: ecc not enabled
    [ 1.115830] cpufreq_cpu0: failed to get cpu0 regulator: -19
    [ 1.121384] cpufreq: __cpufreq_add_dev: CPU0: Running at unlisted freq: 666666 KHz
    [ 1.128885] cpufreq: __cpufreq_add_dev: CPU0: Unlisted initial frequency changed to: 666667 KHz
    [ 1.137818] Xilinx Zynq CpuIdle Driver started
    [ 1.142524] sdhci: Secure Digital Host Controller Interface driver
    [ 1.148614] sdhci: Copyright(c) Pierre Ossman
    [ 1.152991] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.158811] sdhci-arasan e0100000.ps7-sdio: No vmmc regulator found
    [ 1.165027] sdhci-arasan e0100000.ps7-sdio: No vqmmc regulator found
    [ 1.210920] mmc0: SDHCI controller on e0100000.ps7-sdio [e0100000.ps7-sdio] using ADMA
    [ 1.219966] sdhci-arasan e0101000.ps7-sdio: No vqmmc regulator found
    [ 1.260635] mmc0: new high speed SDHC card at address 0007
    [ 1.266429] mmcblk0: mmc0:0007 SD04G 3.70 GiB
    [ 1.272144] mmcblk0: p1 p2
    [ 1.340930] mmc1: SDHCI controller on e0101000.ps7-sdio [e0101000.ps7-sdio] using ADMA
    [ 1.349154] usbcore: registered new interface driver usbhid
    [ 1.354666] usbhid: USB HID core driver
    [ 1.360288] TCP: cubic registered
    [ 1.363564] NET: Registered protocol family 17
    [ 1.368080] Bluetooth: RFCOMM TTY layer initialized
    [ 1.372914] Bluetooth: RFCOMM socket layer initialized
    [ 1.378008] Bluetooth: RFCOMM ver 1.11
    [ 1.381779] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 1.387021] Bluetooth: BNEP filters: protocol multicast
    [ 1.392262] Bluetooth: BNEP socket layer initialized
    [ 1.397183] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [ 1.403104] Bluetooth: HIDP socket layer initialized
    [ 1.408216] Registering SWP/SWPB emulation handler
    [ 1.418167] wlan-en-regulator: disabling
    [ 1.422491] RAMDISK: gzip image found at block 0
    [ 2.961068] VFS: Mounted root (ext2 filesystem) on device 1:0.
    [ 2.966946] devtmpfs: mounted
    [ 2.970108] Freeing unused kernel memory: 216K (c06b4000 - c06ea000)
    INIT: version 2.88 booting
    Starting udev
    [ 3.197394] udevd[586]: starting version 182
    bootlogd: cannot allocate pseudo tty: No such file or directory
    [ 3.714048] random: dd urandom read with 22 bits of entropy available
    Populating dev cache
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Tue Nov 1 14:23:14 UTC 2016
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    INIT: Entering runlevel: 5
    Configuring network interfaces... udhcpc (v1.22.1) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, forking to background
    done.
    Starting system message bus: dbus.
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Starting syslogd/klogd: done

    **************************************************************
    *** WiLinkTM 8: Enabling WLAN interface...
    ifconfig: SIOCGIFFLAGS: No such device

    *** WiLinkTM 8: Scan for local SSIDs...
    dev <devname> ibss join <SSID> <freq in MHz> [HT20|HT40+|HT40-|NOHT|5MHZ|10MHZ] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [key d:0:abcde]
    Join the IBSS cell with the given SSID, if it doesn't exist create
    join/create a cell on a different frequency. When a fixed BSSID is
    requested use that BSSID and do not adopt another cell's BSSID even
    if it has higher TSF and the same SSID. If an IBSS is created, create
    Scan on the given frequencies and probe for the given SSIDs
    SSIDs (or wildcard if not given) unless passive scanning is requested.
    dev <devname> auth <SSID> <bssid> <type:open|shared> <freq in MHz> [key 0:abcde d:1:6162636465]
    dev <devname> connect [-w] <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1:6162636465]
    Join the network with the given SSID (and frequency, BSSID).

    *** WiLinkTM 8: Connect to Wireless A/P (X-Fest2014-IoT)...
    Usage: iw [options] command
    Options:
    --debug enable netlink debugging
    --version show version (3.15)
    Commands:
    help [command]
    Print usage for all or a specific command, e.g.
    "help wowlan" or "help wowlan enable".

    event [-t] [-r] [-f]
    Monitor events from the kernel.
    -t - print timestamp
    -r - print relative timstamp
    -f - print full frame for auth/assoc etc.

    features


    commands
    list all known commands and their decimal & hex value

    phy
    list
    List all wireless devices and their capabilities.

    phy <phyname> info
    Show capabilities for the specified wireless device.

    dev
    List all network interfaces for wireless hardware.

    dev <devname> info
    Show information for this interface.

    dev <devname> del
    Remove this virtual interface

    dev <devname> interface add <name> type <type> [mesh_id <meshid>] [4addr on|off] [flags <flag>*]
    phy <phyname> interface add <name> type <type> [mesh_id <meshid>] [4addr on|off] [flags <flag>*]
    Add a new virtual interface with the given configuration.
    Valid interface types are: managed, ibss, monitor, mesh, wds.

    The flags are only used for monitor interfaces, valid flags are:
    none: no special flags
    fcsfail: show frames with FCS errors
    control: show control frames
    otherbss: show frames from other BSSes
    cook: use cooked mode
    active: use active mode (ACK incoming unicast packets)

    The mesh_id is used only for mesh mode.

    dev <devname> ibss join <SSID> <freq in MHz> [HT20|HT40+|HT40-|NOHT|5MHZ|10MHZ] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [key d:0:abcde]
    Join the IBSS cell with the given SSID, if it doesn't exist create
    it on the given frequency. When fixed frequency is requested, don't
    join/create a cell on a different frequency. When a fixed BSSID is
    requested use that BSSID and do not adopt another cell's BSSID even
    if it has higher TSF and the same SSID. If an IBSS is created, create
    it with the specified basic-rates, multicast-rate and beacon-interval.

    dev <devname> ibss leave
    Leave the current IBSS cell.

    dev <devname> station set <MAC address> plink_action <open|block>
    Set mesh peer link action for this station (peer).

    dev <devname> station set <MAC address> vlan <ifindex>
    Set an AP VLAN for this station.

    dev <devname> station set <MAC address> mesh_power_mode <active|light|deep>
    Set link-specific mesh power mode for this station

    dev <devname> station dump
    List all stations known, e.g. the AP on managed interfaces

    dev <devname> station del <MAC address>
    Remove the given station entry (use with caution!)

    dev <devname> station get <MAC address>
    Get information for a specific station.

    dev <devname> survey dump
    List all gathered channel survey data

    dev <devname> mesh leave
    Leave a mesh.

    dev <devname> mesh join <mesh ID> [mcast-rate <rate in Mbps>] [beacon-interval <time in TUs>] [dtim-period <value>] [vendor_sync on|off] [<param>=<value>]*
    Join a mesh with the given mesh ID with mcast-rate and mesh parameters.

    dev <devname> mpath dump
    List known mesh paths.

    dev <devname> mpath set <destination MAC address> next_hop <next hop MAC address>
    Set an existing mesh path's next hop.

    dev <devname> mpath new <destination MAC address> next_hop <next hop MAC address>
    Create a new mesh path (instead of relying on automatic discovery).

    dev <devname> mpath del <MAC address>
    Remove the mesh path to the given node.

    dev <devname> mpath get <MAC address>
    Get information on mesh path to the given node.

    dev <devname> scan [-u] [freq <freq>*] [ies <hex as 00:11:..>] [meshid <meshid>] [lowpri,flush,ap-force] [ssid <ssid>*|passive]
    Scan on the given frequencies and probe for the given SSIDs
    (or wildcard if not given) unless passive scanning is requested.
    If -u is specified print unknown data in the scan results.
    Specified (vendor) IEs must be well-formed.

    dev <devname> scan trigger [freq <freq>*] [ies <hex as 00:11:..>] [meshid <meshid>] [lowpri,flush,ap-force] [ssid <ssid>*|passive]
    Trigger a scan on the given frequencies with probing for the given
    SSIDs (or wildcard if not given) unless passive scanning is requested.

    dev <devname> scan dump [-u]
    Dump the current scan results. If -u is specified, print unknown
    data in scan results.

    reg get
    Print out the kernel's current regulatory domain information.

    reg set <ISO/IEC 3166-1 alpha2>
    Notify the kernel about the current regulatory domain.

    dev <devname> auth <SSID> <bssid> <type:open|shared> <freq in MHz> [key 0:abcde d:1:6162636465]
    Authenticate with the given network.


    dev <devname> connect [-w] <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1:6162636465]
    Join the network with the given SSID (and frequency, BSSID).
    With -w, wait for the connect to finish or fail.

    dev <devname> disconnect
    Disconnect from the current network.

    dev <devname> link
    Print information about the current link, if any.

    dev <devname> offchannel <freq> <duration>
    Leave operating channel and go to the given channel for a while.

    dev <devname> cqm rssi <threshold|off> [<hysteresis>]
    Set connection quality monitor RSSI threshold.


    phy <phyname> wowlan show
    Show WoWLAN status.

    phy <phyname> wowlan disable
    Disable WoWLAN.

    phy <phyname> wowlan enable [any] [disconnect] [magic-packet] [gtk-rekey-failure] [eap-identity-request] [4way-handshake] [rfkill-release] [tcp <config-file>] [patterns [offset1+]<pattern1> ...]
    Enable WoWLAN with the given triggers.
    Each pattern is given as a bytestring with '-' in places where any byte
    may be present, e.g. 00:11:22:-:44 will match 00:11:22:33:44 and
    00:11:22:33:ff:44 etc.
    Offset and pattern should be separated by '+', e.g. 18+43:34:00:12 will match '43:34:00:12' after 18 bytes of offset in Rx packet.

    The TCP configuration file contains:
    source=ip[:port]
    dest=ip:port@mac
    data=<hex data packet>
    data.interval=seconds
    [wake=<hex packet with masked out bytes indicated by '-'>]
    [data.seq=len,offset[,start]]
    [data.tok=len,offset,<token stream>]

    phy <phyname> coalesce show
    Show coalesce status.

    phy <phyname> coalesce disable
    Disable coalesce.

    phy <phyname> coalesce enable <config-file>
    Enable coalesce with given configuration.
    The configuration file contains coalesce rules:
    delay=<delay>
    condition=<condition>
    patterns=<[offset1+]<pattern1>,<[offset2+]<pattern2>,...>
    delay=<delay>
    condition=<condition>
    patterns=<[offset1+]<pattern1>,<[offset2+]<pattern2>,...>
    ...
    delay: maximum coalescing delay in msec.
    condition: 1/0 i.e. 'not match'/'match' the patterns
    patterns: each pattern is given as a bytestring with '-' in
    places where any byte may be present, e.g. 00:11:22:-:44 will
    match 00:11:22:33:44 and 00:11:22:33:ff:44 etc. Offset and
    pattern should be separated by '+', e.g. 18+43:34:00:12 will
    match '43:34:00:12' after 18 bytes of offset in Rx packet.


    dev <devname> roc start <freq> <time in ms>


    wdev <idx> p2p stop


    wdev <idx> p2p start


    phy <phyname> set antenna <bitmap> | all | <tx bitmap> <rx bitmap>
    Set a bitmap of allowed antennas to use for TX and RX.
    The driver may reject antenna configurations it cannot support.

    dev <devname> set txpower <auto|fixed|limit> [<tx power in mBm>]
    Specify transmit power level and setting type.

    phy <phyname> set txpower <auto|fixed|limit> [<tx power in mBm>]
    Specify transmit power level and setting type.

    phy <phyname> set distance <distance>
    Set appropriate coverage class for given link distance in meters.
    Valid values: 0 - 114750

    phy <phyname> set coverage <coverage class>
    Set coverage class (1 for every 3 usec of air propagation time).
    Valid values: 0 - 255.

    phy <phyname> set netns <pid>
    Put this wireless device into a different network namespace

    phy <phyname> set retry [short <limit>] [long <limit>]
    Set retry limit.

    phy <phyname> set rts <rts threshold|off>
    Set rts threshold.

    phy <phyname> set frag <fragmentation threshold|off>
    Set fragmentation threshold.

    dev <devname> set channel <channel> [HT20|HT40+|HT40-]
    phy <phyname> set channel <channel> [HT20|HT40+|HT40-]
    dev <devname> set freq <freq> [HT20|HT40+|HT40-]
    dev <devname> set freq <control freq> [20|40|80|80+80|160] [<center freq 1>] [<center freq 2>]
    phy <phyname> set freq <freq> [HT20|HT40+|HT40-]
    Set frequency/channel the hardware is using, including HT
    configuration.

    phy <phyname> set name <new name>
    Rename this wireless device.

    dev <devname> set mcast_rate <rate in Mbps>
    Set the multicast bitrate.

    dev <devname> set peer <MAC address>
    Set interface WDS peer.

    dev <devname> set noack_map <map>
    Set the NoAck map for the TIDs. (0x0009 = BE, 0x0006 = BK, 0x0030 = VI, 0x00C0 = VO)

    dev <devname> set 4addr <on|off>
    Set interface 4addr (WDS) mode.

    dev <devname> set type <type>
    Set interface type/mode.
    Valid interface types are: managed, ibss, monitor, mesh, wds.

    dev <devname> set meshid <meshid>
    dev <devname> set monitor <flag>*
    Set monitor flags. Valid flags are:
    none: no special flags
    fcsfail: show frames with FCS errors
    control: show control frames
    otherbss: show frames from other BSSes
    cook: use cooked mode
    active: use active mode (ACK incoming unicast packets)

    dev <devname> set mesh_param <param>=<value> [<param>=<value>]*
    Set mesh parameter (run command without any to see available ones).

    dev <devname> set power_save <on|off>
    Set power save state to on or off.

    dev <devname> set bitrates [legacy-<2.4|5> <legacy rate in Mbps>*] [ht-mcs-<2.4|5> <MCS index>*] [vht-mcs-<2.4|5> <NSS:MCSx,MCSy... | NSS:MCSx-MCSy>*] [sgi-2.4|lgi-2.4] [sgi-5|lgi-5]
    Sets up the specified rate masks.
    Not passing any arguments would clear the existing mask (if any).

    dev <devname> get mesh_param [<param>]
    Retrieve mesh parameter (run command without any to see available ones).

    dev <devname> get power_save <param>
    Retrieve power save state.


    Commands that use the netdev ('dev') can also be given the
    'wdev' instead to identify the device.

    You can omit the 'phy' or 'dev' if the identification is unique,
    e.g. "iw wlan0 info" or "iw phy0 info". (Don't when scripting.)

    Do NOT screenscrape this tool, we don't consider its output stable.


    *** WiLinkTM 8: Verify connection to Wireless A/P...
    Usage: iw [options] command
    Options:
    --debug enable netlink debugging
    --version show version (3.15)
    Commands:
    help [command]
    Print usage for all or a specific command, e.g.
    "help wowlan" or "help wowlan enable".

    event [-t] [-r] [-f]
    Monitor events from the kernel.
    -t - print timestamp
    -r - print relative timstamp
    -f - print full frame for auth/assoc etc.

    features


    commands
    list all known commands and their decimal & hex value

    phy
    list
    List all wireless devices and their capabilities.

    phy <phyname> info
    Show capabilities for the specified wireless device.

    dev
    List all network interfaces for wireless hardware.

    dev <devname> info
    Show information for this interface.

    dev <devname> del
    Remove this virtual interface

    dev <devname> interface add <name> type <type> [mesh_id <meshid>] [4addr on|off] [flags <flag>*]
    phy <phyname> interface add <name> type <type> [mesh_id <meshid>] [4addr on|off] [flags <flag>*]
    Add a new virtual interface with the given configuration.
    Valid interface types are: managed, ibss, monitor, mesh, wds.

    The flags are only used for monitor interfaces, valid flags are:
    none: no special flags
    fcsfail: show frames with FCS errors
    control: show control frames
    otherbss: show frames from other BSSes
    cook: use cooked mode
    active: use active mode (ACK incoming unicast packets)

    The mesh_id is used only for mesh mode.

    dev <devname> ibss join <SSID> <freq in MHz> [HT20|HT40+|HT40-|NOHT|5MHZ|10MHZ] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [key d:0:abcde]
    Join the IBSS cell with the given SSID, if it doesn't exist create
    it on the given frequency. When fixed frequency is requested, don't
    join/create a cell on a different frequency. When a fixed BSSID is
    requested use that BSSID and do not adopt another cell's BSSID even
    if it has higher TSF and the same SSID. If an IBSS is created, create
    it with the specified basic-rates, multicast-rate and beacon-interval.

    dev <devname> ibss leave
    Leave the current IBSS cell.

    dev <devname> station set <MAC address> plink_action <open|block>
    Set mesh peer link action for this station (peer).

    dev <devname> station set <MAC address> vlan <ifindex>
    Set an AP VLAN for this station.

    dev <devname> station set <MAC address> mesh_power_mode <active|light|deep>
    Set link-specific mesh power mode for this station

    dev <devname> station dump
    List all stations known, e.g. the AP on managed interfaces

    dev <devname> station del <MAC address>
    Remove the given station entry (use with caution!)

    dev <devname> station get <MAC address>
    Get information for a specific station.

    dev <devname> survey dump
    List all gathered channel survey data

    dev <devname> mesh leave
    Leave a mesh.

    dev <devname> mesh join <mesh ID> [mcast-rate <rate in Mbps>] [beacon-interval <time in TUs>] [dtim-period <value>] [vendor_sync on|off] [<param>=<value>]*
    Join a mesh with the given mesh ID with mcast-rate and mesh parameters.

    dev <devname> mpath dump
    List known mesh paths.

    dev <devname> mpath set <destination MAC address> next_hop <next hop MAC address>
    Set an existing mesh path's next hop.

    dev <devname> mpath new <destination MAC address> next_hop <next hop MAC address>
    Create a new mesh path (instead of relying on automatic discovery).

    dev <devname> mpath del <MAC address>
    Remove the mesh path to the given node.

    dev <devname> mpath get <MAC address>
    Get information on mesh path to the given node.

    dev <devname> scan [-u] [freq <freq>*] [ies <hex as 00:11:..>] [meshid <meshid>] [lowpri,flush,ap-force] [ssid <ssid>*|passive]
    Scan on the given frequencies and probe for the given SSIDs
    (or wildcard if not given) unless passive scanning is requested.
    If -u is specified print unknown data in the scan results.
    Specified (vendor) IEs must be well-formed.

    dev <devname> scan trigger [freq <freq>*] [ies <hex as 00:11:..>] [meshid <meshid>] [lowpri,flush,ap-force] [ssid <ssid>*|passive]
    Trigger a scan on the given frequencies with probing for the given
    SSIDs (or wildcard if not given) unless passive scanning is requested.

    dev <devname> scan dump [-u]
    Dump the current scan results. If -u is specified, print unknown
    data in scan results.

    reg get
    Print out the kernel's current regulatory domain information.

    reg set <ISO/IEC 3166-1 alpha2>
    Notify the kernel about the current regulatory domain.

    dev <devname> auth <SSID> <bssid> <type:open|shared> <freq in MHz> [key 0:abcde d:1:6162636465]
    Authenticate with the given network.


    dev <devname> connect [-w] <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1:6162636465]
    Join the network with the given SSID (and frequency, BSSID).
    With -w, wait for the connect to finish or fail.

    dev <devname> disconnect
    Disconnect from the current network.

    dev <devname> link
    Print information about the current link, if any.

    dev <devname> offchannel <freq> <duration>
    Leave operating channel and go to the given channel for a while.

    dev <devname> cqm rssi <threshold|off> [<hysteresis>]
    Set connection quality monitor RSSI threshold.


    phy <phyname> wowlan show
    Show WoWLAN status.

    phy <phyname> wowlan disable
    Disable WoWLAN.

    phy <phyname> wowlan enable [any] [disconnect] [magic-packet] [gtk-rekey-failure] [eap-identity-request] [4way-handshake] [rfkill-release] [tcp <config-file>] [patterns [offset1+]<pattern1> ...]
    Enable WoWLAN with the given triggers.
    Each pattern is given as a bytestring with '-' in places where any byte
    may be present, e.g. 00:11:22:-:44 will match 00:11:22:33:44 and
    00:11:22:33:ff:44 etc.
    Offset and pattern should be separated by '+', e.g. 18+43:34:00:12 will match '43:34:00:12' after 18 bytes of offset in Rx packet.

    The TCP configuration file contains:
    source=ip[:port]
    dest=ip:port@mac
    data=<hex data packet>
    data.interval=seconds
    [wake=<hex packet with masked out bytes indicated by '-'>]
    [data.seq=len,offset[,start]]
    [data.tok=len,offset,<token stream>]

    phy <phyname> coalesce show
    Show coalesce status.

    phy <phyname> coalesce disable
    Disable coalesce.

    phy <phyname> coalesce enable <config-file>
    Enable coalesce with given configuration.
    The configuration file contains coalesce rules:
    delay=<delay>
    condition=<condition>
    patterns=<[offset1+]<pattern1>,<[offset2+]<pattern2>,...>
    delay=<delay>
    condition=<condition>
    patterns=<[offset1+]<pattern1>,<[offset2+]<pattern2>,...>
    ...
    delay: maximum coalescing delay in msec.
    condition: 1/0 i.e. 'not match'/'match' the patterns
    patterns: each pattern is given as a bytestring with '-' in
    places where any byte may be present, e.g. 00:11:22:-:44 will
    match 00:11:22:33:44 and 00:11:22:33:ff:44 etc. Offset and
    pattern should be separated by '+', e.g. 18+43:34:00:12 will
    match '43:34:00:12' after 18 bytes of offset in Rx packet.


    dev <devname> roc start <freq> <time in ms>


    wdev <idx> p2p stop


    wdev <idx> p2p start


    phy <phyname> set antenna <bitmap> | all | <tx bitmap> <rx bitmap>
    Set a bitmap of allowed antennas to use for TX and RX.
    The driver may reject antenna configurations it cannot support.

    dev <devname> set txpower <auto|fixed|limit> [<tx power in mBm>]
    Specify transmit power level and setting type.

    phy <phyname> set txpower <auto|fixed|limit> [<tx power in mBm>]
    Specify transmit power level and setting type.

    phy <phyname> set distance <distance>
    Set appropriate coverage class for given link distance in meters.
    Valid values: 0 - 114750

    phy <phyname> set coverage <coverage class>
    Set coverage class (1 for every 3 usec of air propagation time).
    Valid values: 0 - 255.

    phy <phyname> set netns <pid>
    Put this wireless device into a different network namespace

    phy <phyname> set retry [short <limit>] [long <limit>]
    Set retry limit.

    phy <phyname> set rts <rts threshold|off>
    Set rts threshold.

    phy <phyname> set frag <fragmentation threshold|off>
    Set fragmentation threshold.

    dev <devname> set channel <channel> [HT20|HT40+|HT40-]
    phy <phyname> set channel <channel> [HT20|HT40+|HT40-]
    dev <devname> set freq <freq> [HT20|HT40+|HT40-]
    dev <devname> set freq <control freq> [20|40|80|80+80|160] [<center freq 1>] [<center freq 2>]
    phy <phyname> set freq <freq> [HT20|HT40+|HT40-]
    Set frequency/channel the hardware is using, including HT
    configuration.

    phy <phyname> set name <new name>
    Rename this wireless device.

    dev <devname> set mcast_rate <rate in Mbps>
    Set the multicast bitrate.

    dev <devname> set peer <MAC address>
    Set interface WDS peer.

    dev <devname> set noack_map <map>
    Set the NoAck map for the TIDs. (0x0009 = BE, 0x0006 = BK, 0x0030 = VI, 0x00C0 = VO)

    dev <devname> set 4addr <on|off>
    Set interface 4addr (WDS) mode.

    dev <devname> set type <type>
    Set interface type/mode.
    Valid interface types are: managed, ibss, monitor, mesh, wds.

    dev <devname> set meshid <meshid>
    dev <devname> set monitor <flag>*
    Set monitor flags. Valid flags are:
    none: no special flags
    fcsfail: show frames with FCS errors
    control: show control frames
    otherbss: show frames from other BSSes
    cook: use cooked mode
    active: use active mode (ACK incoming unicast packets)

    dev <devname> set mesh_param <param>=<value> [<param>=<value>]*
    Set mesh parameter (run command without any to see available ones).

    dev <devname> set power_save <on|off>
    Set power save state to on or off.

    dev <devname> set bitrates [legacy-<2.4|5> <legacy rate in Mbps>*] [ht-mcs-<2.4|5> <MCS index>*] [vht-mcs-<2.4|5> <NSS:MCSx,MCSy... | NSS:MCSx-MCSy>*] [sgi-2.4|lgi-2.4] [sgi-5|lgi-5]
    Sets up the specified rate masks.
    Not passing any arguments would clear the existing mask (if any).

    dev <devname> get mesh_param [<param>]
    Retrieve mesh parameter (run command without any to see available ones).

    dev <devname> get power_save <param>
    Retrieve power save state.


    Commands that use the netdev ('dev') can also be given the
    'wdev' instead to identify the device.

    You can omit the 'phy' or 'dev' if the identification is unique,
    e.g. "iw wlan0 info" or "iw phy0 info". (Don't when scripting.)

    Do NOT screenscrape this tool, we don't consider its output stable.


    *** WiLinkTM 8: Request IP address (DHCP) from Wireless A/P...
    udhcpc: SIOCGIFINDEX: No such device

    *** WiLinkTM 8: Connect script completed, turn-on USR LED...
    Starting Lighttpd Web Server: lighttpd.
    Starting tcf-agent: OK

    Poky (Yocto Project Reference Distro) 1.7.1 zedboard /dev/ttyPS0

    zedboard login: root

    Regrads
    Aditya
  • Seems like there are multiple threads discussing the same platform integration.
    Please follow up this thread:
    e2e.ti.com/.../553009

    Closing this one.
    BR,
    Eyal