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.

Linux: WL1835MOD meshpoint mesh gets jammed

Other Parts Discussed in Thread: WL1835MOD, WL1271

Tool/software: Linux

After several weeks of work we still have issues with the meshpoint mesh network based on the WL1835MOD.

We have solved one issue: we can keep the mesh stable if nothing happens in the mesh.

We reached this point when changing the kernel to: https://git.ti.com/processor-sdk/processor-sdk-linux ) with BRANCH = "processor-sdk-linux-04.03.00".

But from the moment we reboot one device in the mesh, the whole mesh is jammed and the mesh doesn't return to his "complete" state.

We started with 9 meshpoints, we start all the devices. We get a meshpoint mesh with 9 devices that stays stable for 17 hours. Then we reboot one of the devices. A few seconds later the whole mesh is messed up. We still have a few meshpoints in the mesh, but the others are disappeared. Not only the one that has rebooted, but more than the half of the meshpoints has disappeared.

The meshpoints that have disappeared do not come back in the mesh. The one that has rebooted, one time he comes back in the mesh, the other time not.

Is this a normal behaviour of a meshpoint mesh? Or do the other devices have to come back?

We also have issues with the SAE authentication. We followed the description of  http://www.ti.com/lit/an/swaa166/swaa166.pdf .The meshpoints authenticate but you cannot reach the devices in the mesh.

We tried the buildscript described in http://processors.wiki.ti.com/index.php/WL18xx_System_Build_Scripts but these scripts doesn't work anymore. Some of the repository links used in the scripts are not existing anymore.

Can anyone give me some hints how we can solve these issues?

  • Hi Paul.
    Can you pls elaborate on following

    "We have solved one issue: we can keep the mesh stable if nothing happens in the mesh."
    How did you fix this issue ?

    "We tried the buildscript described in processors.wiki.ti.com/.../WL18xx_System_Build_Scripts but these scripts doesn't work anymore. "
    I believe you are running the script on kernel 4.0.x - if yes, the scripts should run ok

    I recommend using build scripts and updating hostap/wpa_supplicant , driver modules etc. since they carry most mesh related mods

    Saurabh
  • Hi Saraubh

    Your Question: How did you fix this issue ?

    We changed the kernel. I came on the Processor SDK on your website: http://software-dl.ti.com/processor-sdk-linux/esd/AM335X/latest/index_FDS.html  Processor_SDK_Linux_Release_Notes" There I found this kernel: 

    Linux Kernel

    The kernel git repository, branch and commit id can be found below:

    Based on Version: 4.9.69

    URL: git://git.ti.com/processor-sdk/processor-sdk-linux.git

    Branch: processor-sdk-linux-04.03.00

    Commit ID: bfe793963ed7b2af3e1c3dd32e7275f449e6259d

    By using this kernel we arrived for the first time at a stable mesh.

    Concerning the build script: there are errors in it. Some repos in the script are not existing. But we could get the other data from teh script, the version of hostap, crda, uim, the frimware and the target scripts. We used the driver from the kernel, the kernel 4.9.69.

    Other data you ask:

    Host platform: Beaglebone Black Wireless

    OS: Linux - Yocto build system

    Wilink flavor: I think WL1835MOD, the device on the Beaglebone Black Wireless

    Wilink driver version: wlcore: PHY firmware version: Rev 8.2.0.0.240 , wlcore: firmware booted (Rev 8.9.0.0.76),  wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11), srcversion=B5F5593DBBBCB67CCC10F7F

    Wilink software version: R8.7

    Firmware version: 

    FRev 8.9.0.0.76
    FRev 8.2.0.0.240

    When booting we also see this error: wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2 . I don't know what this means.

     

    When I look at the strings from the Wilink driver version I see a lot of errors, does that mean anything special?:

    strings /lib/modules/4.9.69-sdk/kernel/drivers/net/wireless/ti/wl18xx/wl18xx.ko
    0u @
    num_rx_desc
    pwr_limit_reference_11_abg
    high_band_component_type
    high_band_component
    low_band_component_type
    low_band_component
    n_antennas_5
    n_antennas_2
    dc2dc
    checksum
    board_type
    ht_mode
    wl18xx
    firmware=ti-connectivity/wl18xx-fw-4.bin
    author=Luciano Coelho <coelho@ti.com>
    license=GPL v2
    parm=num_rx_desc_param:Number of Rx descriptors: u8 (default is 32)
    parmtype=num_rx_desc:int
    parm=pwr_limit_reference_11_abg:Power limit reference: u8 (default is 0xc8)
    parmtype=pwr_limit_reference_11_abg:int
    parm=high_band_component_type:High band component type: u8 (default is 0x09)
    parmtype=high_band_component_type:int
    parm=high_band_component:High band component: u8, (default is 0x01)
    parmtype=high_band_component:int
    parm=low_band_component_type:Low band component type: u8 (default is 0x05 or 0x06 depending on the board_type)
    parmtype=low_band_component_type:int
    parm=low_band_component:Low band component: u8 (default is 0x01)
    parmtype=low_band_component:int
    parm=n_antennas_5:Number of installed 5GHz antennas: 1 (default) or 2
    parmtype=n_antennas_5:int
    parm=n_antennas_2:Number of installed 2.4GHz antennas: 1 (default) or 2
    parmtype=n_antennas_2:int
    parm=dc2dc:External DC2DC: u8 (defaults to 0)
    parmtype=dc2dc:int
    parm=checksum:Enable TCP checksum: boolean (defaults to false)
    parmtype=checksum:bool
    parm=board_type:Board type: fpga, hdk (default), evb, com8 or dvp
    parmtype=board_type:charp
    parm=ht_mode:Force HT mode: wide or siso20
    parmtype=ht_mode:charp
    srcversion=B5F5593DBBBCB67CCC10F7F
    alias=platform:wl18xx
    depends=wlcore,mac80211,cfg80211
    intree=Y
    vermagic=4.9.69-sdk mod_unload modversions ARMv7 p2v8
    3wlcore: ERROR can't allocate hw
    7wlcore: using wide channel rate mask
    7wlcore: using MIMO channel rate mask
    7wlcore: tx_fill_hdr: hlid: %d len: %d life: %d mem: %d
    7wlcore: chip id 0x%x (185x PG20)
    ti-connectivity/wl18xx-fw-4.bin
    4wlcore: WARNING chip id 0x%x (185x PG10) is deprecated
    4wlcore: WARNING unsupported chip id: 0x%x
    7wlcore: mac80211 sta_rc_update wide %d
    /yocto/SoundTalks/yocto-rocko-bbb-mesh/build-bbb-wl18xx/tmp/work-shared/beaglebone/kernel-source/drivers/net/wireless/ti/wl18xx/main.c
    7wlcore: extra spare keys before: %d
    7wlcore: extra spare keys after: %d
    6wlcore: PHY firmware version: %s
    /yocto/SoundTalks/yocto-rocko-bbb-mesh/build-bbb-wl18xx/tmp/work-shared/beaglebone/kernel-source/drivers/net/wireless/ti/wl18xx/../wlcore/io.h
    3wlcore: ERROR wl18xx_plt_init: PLT FEM_DETECT not supported
    3wlcore: ERROR could not get configuration binary %s: %d
    3wlcore: ERROR %s configuration binary size is wrong, expected %zu got %zu
    3wlcore: ERROR configuration binary file magic number mismatch, expected 0x%0x got 0x%0x
    3wlcore: ERROR configuration binary file version not supported, expected 0x%08x got 0x%08x
    4wlcore: WARNING falling back to default config
    fpga
    com8
    3wlcore: ERROR invalid board type '%s'
    3wlcore: ERROR invalid board type '%d'
    default
    wide
    siso20
    3wlcore: ERROR invalid ht_mode '%s'
    7wlcore: using MIMO rate mask
    4wlcore: WARNING MAC address from fuse not available, using random locally administered addresses.
    UNKNOWN
    6wlcore: wl18xx HW: %s, PG %d.%d (ROM 0x%x)
    swallow
    spit
    7wlcore: clock freq %d (%d, %d, %d, %d, %s)
    7wlcore: chip id 0x%x
    6wlcore: using inverted interrupt logic: %d
    UNTRIMMED
    183xH
    183x or 180x
    187xH
    187x
    RDL11 - Not Supported
    180xD
    RDL13 - Not Supported (1893Q)
    18xxQ
    wl18xx_driver
    7wlcore: acx cfg bitmap %d blk %d spare %d field %d
    4wlcore: WARNING wl1271 bitmap config opt failed: %d
    7wlcore: acx checksum state
    4wlcore: WARNING failed to set Tx checksum state: %d
    7wlcore: acx clear statistics
    4wlcore: WARNING failed to clear firmware statistics: %d
    7wlcore: acx peer ht operation mode hlid %d bw %d
    4wlcore: WARNING acx peer ht operation mode failed: %d
    7wlcore: acx set cap ht_supp: %d ht_cap: %d rates: 0x%x
    4wlcore: WARNING acx ht capabilities setting failed: %d
    4wlcore: WARNING acx interrupt notify setting failed: %d
    4wlcore: WARNING acx rx ba activity filter setting failed: %d
    7wlcore: acx config ap sleep
    4wlcore: WARNING acx config ap-sleep failed: %d
    7wlcore: acx dynamic fw traces config %d
    4wlcore: WARNING acx config dynamic fw traces failed: %d
    7wlcore: acx time sync cfg: mode %d, addr: %pM
    4wlcore: WARNING acx time sync cfg failed: %d
    7wlcore: last released desc = %d, current idx = %d
    3wlcore: ERROR invalid desc release index %d
    /yocto/SoundTalks/yocto-rocko-bbb-mesh/build-bbb-wl18xx/tmp/work-shared/beaglebone/kernel-source/drivers/net/wireless/ti/wl18xx/tx.c
    4wlcore: WARNING illegal id in tx completion: %d
    3wlcore: ERROR last Tx rate invalid: %d
    7wlcore: tx status id %u skb 0x%p success %d
    /yocto/SoundTalks/yocto-rocko-bbb-mesh/build-bbb-wl18xx/tmp/work-shared/beaglebone/kernel-source/drivers/net/wireless/ti/wl18xx/io.c
    /yocto/SoundTalks/yocto-rocko-bbb-mesh/build-bbb-wl18xx/tmp/work-shared/beaglebone/kernel-source/drivers/net/wireless/ti/wl18xx/../wlcore/io.h
    4wlcore: WARNING illegal radar_debug_mode value!
    4wlcore: WARNING value is not in valid!
    4wlcore: WARNING illegal channel
    %s[%d] = %d
    wl18xx
    fw_stats
    clear_fw_stats
    error_error_frame_non_ctrl
    error_error_frame_ctrl
    error_error_frame_during_protection
    error_null_frame_tx_start
    error_null_frame_cts_start
    error_bar_retry
    error_num_frame_cts_nul_flid
    error_tx_abort_failure
    error_tx_resume_failure
    error_rx_cmplt_db_overflow_cnt
    error_elp_while_rx_exch
    error_elp_while_tx_exch
    error_elp_while_tx
    error_elp_while_nvic_pending
    error_rx_excessive_frame_len
    error_burst_mismatch
    error_tbc_exch_mismatch
    tx_tx_prepared_descs
    tx_tx_cmplt
    tx_tx_template_prepared
    tx_tx_data_prepared
    tx_tx_template_programmed
    tx_tx_data_programmed
    tx_tx_burst_programmed
    tx_tx_starts
    tx_tx_stop
    tx_tx_start_templates
    tx_tx_start_int_templates
    tx_tx_start_fw_gen
    tx_tx_start_data
    tx_tx_start_null_frame
    tx_tx_exch
    tx_tx_retry_template
    tx_tx_retry_data
    tx_tx_retry_per_rate
    tx_tx_exch_pending
    tx_tx_exch_expiry
    tx_tx_done_template
    tx_tx_done_data
    tx_tx_done_int_template
    tx_tx_cfe1
    tx_tx_cfe2
    tx_frag_called
    tx_frag_mpdu_alloc_failed
    tx_frag_init_called
    tx_frag_in_process_called
    tx_frag_tkip_called
    tx_frag_key_not_found
    tx_frag_need_fragmentation
    tx_frag_bad_mblk_num
    tx_frag_failed
    tx_frag_cache_hit
    tx_frag_cache_miss
    rx_rx_beacon_early_term
    rx_rx_out_of_mpdu_nodes
    rx_rx_hdr_overflow
    rx_rx_dropped_frame
    rx_rx_done
    rx_rx_defrag
    rx_rx_defrag_end
    rx_rx_cmplt
    rx_rx_pre_complt
    rx_rx_cmplt_task
    rx_rx_phy_hdr
    rx_rx_timeout
    rx_rx_rts_timeout
    rx_rx_timeout_wa
    rx_defrag_called
    rx_defrag_init_called
    rx_defrag_in_process_called
    rx_defrag_tkip_called
    rx_defrag_need_defrag
    rx_defrag_decrypt_failed
    rx_decrypt_key_not_found
    rx_defrag_need_decrypt
    rx_rx_tkip_replays
    rx_rx_xfr
    isr_irqs
    pwr_missing_bcns_cnt
    pwr_rcvd_bcns_cnt
    pwr_connection_out_of_sync
    pwr_cont_miss_bcns_spread
    pwr_rcvd_awake_bcns_cnt
    pwr_sleep_time_count
    pwr_sleep_time_avg
    pwr_sleep_cycle_avg
    pwr_sleep_percent
    pwr_ap_sleep_active_conf
    pwr_ap_sleep_user_conf
    pwr_ap_sleep_counter
    rx_filter_beacon_filter
    rx_filter_arp_filter
    rx_filter_mc_filter
    rx_filter_dup_filter
    rx_filter_data_filter
    rx_filter_ibss_filter
    rx_filter_protection_filter
    rx_filter_accum_arp_pend_requests
    rx_filter_max_arp_queue_dep
    rx_rate_rx_frames_per_rates
    aggr_size_tx_agg_rate
    aggr_size_tx_agg_len
    aggr_size_rx_size
    pipeline_hs_tx_stat_fifo_int
    pipeline_enc_tx_stat_fifo_int
    pipeline_enc_rx_stat_fifo_int
    pipeline_rx_complete_stat_fifo_int
    pipeline_pre_proc_swi
    pipeline_post_proc_swi
    pipeline_sec_frag_swi
    pipeline_pre_to_defrag_swi
    pipeline_defrag_to_rx_xfer_swi
    pipeline_dec_packet_in
    pipeline_dec_packet_in_fifo_full
    pipeline_dec_packet_out
    pipeline_pipeline_fifo_full
    diversity_num_of_packets_per_ant
    diversity_total_num_of_toggles
    thermal_irq_thr_low
    thermal_irq_thr_high
    thermal_tx_stop
    thermal_tx_resume
    thermal_false_irq
    thermal_adc_source_unexpected
    calib_fail_count
    calib_calib_count
    roaming_rssi_level
    dfs_num_of_radar_detections
    conf
    radar_detection
    radar_debug_mode
    dynamic_fw_traces
    7wlcore: cmd periodic scan stop
    3wlcore: ERROR failed to alloc memory to send sched scan stop
    3wlcore: ERROR failed to send sched scan stop command
    7wlcore: cmd sched_scan scan config
    /yocto/SoundTalks/yocto-rocko-bbb-mesh/build-bbb-wl18xx/tmp/work-shared/beaglebone/kernel-source/drivers/net/wireless/ti/wl18xx/scan.c
    7wlcore: short_interval: %d, long_interval: %d, num_short: %d
    3wlcore: ERROR 2.4GHz PROBE request template failed
    3wlcore: ERROR 5GHz PROBE request template failed
    3wlcore: ERROR SCAN failed
    7wlcore: cmd channel switch (count=%d)
    3wlcore: ERROR invalid channel switch band: %d
    3wlcore: ERROR failed to send channel switch command
    7wlcore: cmd smart config start group_bitmap=0x%x
    3wlcore: ERROR failed to send smart config start command
    7wlcore: cmd smart config stop
    3wlcore: ERROR failed to send smart config stop command
    7wlcore: cmd smart config set group key id=0x%x
    3wlcore: ERROR invalid group key size: %d
    3wlcore: ERROR failed to send smart config set group key cmd
    start
    stop
    7wlcore: cmd cac (channel %d) %s
    3wlcore: ERROR failed to send cac command
    7wlcore: cmd radar detection debug (chan %d)
    3wlcore: ERROR failed to send radar detection debug command
    7wlcore: cmd dfs master restart (role %d)
    3wlcore: ERROR failed to send dfs master restart command
    REGULAR
    CHIRP
    7wlcore: MBOX vector: 0x%x
    7wlcore: scan results: %d
    6wlcore: TIME_SYNC_EVENT_ID: clock_high %u, clock low %u
    6wlcore: radar event: channel %d type %s
    7wlcore: PERIODIC_SCAN_REPORT_EVENT (results %d)
    7wlcore: SMART_CONFIG_SYNC_EVENT_ID, freq: %d (chan: %d band %d)
    7wlcore: SMART_CONFIG_DECODE_EVENT_ID
    wl18xx
    module_layout
    S%]wl12xx_cmd_build_probe_req
    vkmalloc_caches
    0Iwl1271_ps_elp_wakeup
    Swl12xx_debug_level
    wlcore_set_key
    Rsimple_read_from_buffer
    generic_file_llseek
    debugfs_create_dir
    kwlcore_event_beacon_loss
    param_ops_int
    yget_random_bytes
    wlcore_event_dummy_packet
    wlcore_event_inactive_sta
    }wlcore_event_ba_rx_constraint
    ieee80211_radar_detected
    wlcore_event_fw_logger
    wlcore_event_rssi_trigger
    kmemdup
    ieee80211_channel_to_frequency
    wlcore_cmd_wait_for_event_or_timeout
    wlcore_probe
    ?.param_ops_bool
    wlcore_alloc_hw
    mutex_unlock
    debugfs_create_file
    - wwlcore_get_native_channel_type
    __platform_driver_register
    strcmp
    >Owl1271_cmd_configure
    param_ops_charp
    __memzero
    ZNu_memset
    2cancel_delayed_work
    default_llseek
    wlcore_event_sched_scan_completed
    wlcore_boot_upload_firmware
    'printk
    %wlcore_set_partition
    2strncpy
    5wlcore_enable_interrupts
    ynla_put
    warn_slowpath_null
    wl1271_ps_elp_sleep
    irq_get_irq_data
    arm_delay_ops
    skb_pull
    simple_open
    ieee80211_queue_delayed_work
    __cfg80211_send_event_skb
    skb_queue_tail
    kstrtoul_from_user
    wlcore_event_channel_switch
    __cfg80211_alloc_event_skb
    ywlcore_disable_interrupts
    kfree_skb
    wlcore_remove
    eieee80211_find_sta
    kstrtou8_from_user
    (#wlcore_event_max_tx_failure
    &wl1271_free_tx_id
    kmem_cache_alloc_trace
    ieee80211_stop_rx_ba_session
    wlcore_scan_sched_scan_results
    ieee80211_get_hdrlen_from_skb
    wlcore_free_hw
    Jmutex_lock_nested
    kfree
    wl1271_format_buffer
    memcpy
    wl1271_debugfs_update_stats
    wlcore_set_scan_chan_params
    request_firmware
    wXDawlcore_boot_run_firmware
    \~Iwlcore_translate_addr
    __aeabi_unwind_cpp_pr0
    wlcore_scan_sched_scan_ssid_list
    %queue_work_on
    snprintf
    wlcore_event_roc_complete
    memmove
    kwl12xx_is_dummy_packet
    platform_driver_unregister
    wl1271_cmd_send
    wlcore_cmd_generic_cfg
    release_firmware
    %ieee80211_connection_loss
    aeabi
    wl18xx_calc_tx_blocks
    wl18xx_set_tx_desc_blocks
    wl18xx_get_rx_buf_align
    wl18xx_get_rx_packet_len
    wl18xx_convert_fw_status
    wl18xx_set_rx_csum
    wl18xx_get_spare_blocks
    wl18xx_lnk_high_prio
    wl18xx_lnk_low_prio
    wl18xx_convert_hwaddr
    wl18xx_set_peer_cap
    wl18xx_probe
    .LANCHOR0
    .LANCHOR1
    .LC0
    wl18xx_sta_get_ap_rate_mask
    .LC1
    .LC2
    wl18xx_set_tx_desc_data_len
    .LC3
    wl18xx_identify_chip
    .LC5
    .LC4
    .LC6
    .LC7
    wl18xx_sta_rc_update
    .LC8
    .LC9
    wl18xx_set_host_cfg_bitmap
    wl18xx_set_key
    .LC11
    .LC10
    wl18xx_handle_static_data
    .LC12
    wl18xx_ack_event
    .LC13
    wl18xx_plt_init
    .LC14
    wl18xx_tx_immediate_completion
    wl18xx_trigger_cmd
    wl18xx_setup
    .LANCHOR2
    .LC20
    .LC21
    .LC22
    .LC23
    .LC24
    .LC27
    .LC28
    .LC29
    .LC26
    .LC15
    .LC19
    .LC18
    .LC17
    .LC16
    .LC30
    .LC25
    wl18xx_pre_pkt_send
    wl18xx_ap_get_mimo_wide_rate_mask
    .LC31
    wl18xx_set_tx_desc_csum
    wl18xx_get_mac
    .LC32
    wl18xx_get_pg_ver
    .LC34
    .LC33
    wl18xx_hw_init
    wl18xx_boot
    .LC35
    .LC36
    .LC37
    .LC38
    .LC39
    wl18xx_driver_init
    wl18xx_driver_exit
    wl18xx_id_table
    wl18xx_ptable
    wl18xx_rtable
    wl18xx_iface_combinations
    wl18xx_iface_limits
    wl18xx_iface_ap_limits
    wl18xx_conf
    wl18xx_default_priv_conf
    CSWTCH.126
    wl18xx_clk_table
    wl18xx_clk_table_coex
    __param_str_num_rx_desc
    __param_str_pwr_limit_reference_11_abg
    __param_str_high_band_component_type
    __param_str_high_band_component
    __param_str_low_band_component_type
    __param_str_low_band_component
    __param_str_n_antennas_5
    __param_str_n_antennas_2
    __param_str_dc2dc
    __param_str_checksum
    __param_str_board_type
    __param_str_ht_mode
    wl18xx_rate_to_idx_5ghz
    wl18xx_rate_to_idx_2ghz
    wl18xx_ops
    wl18xx_band_rate_to_idx
    num_rx_desc_param
    low_band_component_type_param
    high_band_component_param
    high_band_component_type_param
    pwr_limit_reference_11_abg_param
    n_antennas_2_param
    n_antennas_5_param
    dc2dc_param
    wl18xx_siso40_ht_cap_5ghz
    wl18xx_siso40_ht_cap_2ghz
    wl18xx_siso20_ht_cap
    wl18xx_mimo_ht_cap_2ghz
    low_band_component_param
    wl18xx_driver
    board_type_param
    ht_mode_param
    checksum_param
    __UNIQUE_ID_firmware78
    __UNIQUE_ID_author77
    __UNIQUE_ID_license76
    __UNIQUE_ID_num_rx_desc_param75
    __UNIQUE_ID_num_rx_desctype74
    __UNIQUE_ID_pwr_limit_reference_11_abg73
    __UNIQUE_ID_pwr_limit_reference_11_abgtype72
    __UNIQUE_ID_high_band_component_type71
    __UNIQUE_ID_high_band_component_typetype70
    __UNIQUE_ID_high_band_component69
    __UNIQUE_ID_high_band_componenttype68
    __UNIQUE_ID_low_band_component_type67
    __UNIQUE_ID_low_band_component_typetype66
    __UNIQUE_ID_low_band_component65
    __UNIQUE_ID_low_band_componenttype64
    __UNIQUE_ID_n_antennas_563
    __UNIQUE_ID_n_antennas_5type62
    __UNIQUE_ID_n_antennas_261
    __UNIQUE_ID_n_antennas_2type60
    __UNIQUE_ID_dc2dc59
    __UNIQUE_ID_dc2dctype58
    __UNIQUE_ID_checksum57
    __UNIQUE_ID_checksumtype56
    __UNIQUE_ID_board_type55
    __UNIQUE_ID_board_typetype54
    __UNIQUE_ID_ht_mode53
    __UNIQUE_ID_ht_modetype52
    __param_num_rx_desc
    __param_pwr_limit_reference_11_abg
    __param_high_band_component_type
    __param_high_band_component
    __param_low_band_component_type
    __param_low_band_component
    __param_n_antennas_5
    __param_n_antennas_2
    __param_dc2dc
    __param_checksum
    __param_board_type
    __param_ht_mode
    dynamic_fw_traces_write
    dynamic_fw_traces_read
    radar_debug_mode_read
    radar_debug_mode_write
    radar_detection_write
    dfs_num_of_radar_detections_read
    roaming_rssi_level_read
    calib_calib_count_read
    thermal_adc_source_unexpected_read
    thermal_false_irq_read
    thermal_tx_resume_read
    thermal_tx_stop_read
    thermal_irq_thr_high_read
    thermal_irq_thr_low_read
    diversity_total_num_of_toggles_read
    pipeline_dec_packet_out_read
    pipeline_dec_packet_in_fifo_full_read
    pipeline_dec_packet_in_read
    pipeline_defrag_to_rx_xfer_swi_read
    pipeline_pre_to_defrag_swi_read
    pipeline_sec_frag_swi_read
    pipeline_post_proc_swi_read
    pipeline_pre_proc_swi_read
    pipeline_rx_complete_stat_fifo_int_read
    pipeline_enc_rx_stat_fifo_int_read
    pipeline_enc_tx_stat_fifo_int_read
    pipeline_hs_tx_stat_fifo_int_read
    rx_filter_max_arp_queue_dep_read
    rx_filter_accum_arp_pend_requests_read
    rx_filter_protection_filter_read
    rx_filter_ibss_filter_read
    rx_filter_data_filter_read
    rx_filter_dup_filter_read
    rx_filter_mc_filter_read
    rx_filter_arp_filter_read
    rx_filter_beacon_filter_read
    pwr_ap_sleep_counter_read
    pwr_ap_sleep_user_conf_read
    pwr_ap_sleep_active_conf_read
    pwr_sleep_percent_read
    pwr_sleep_cycle_avg_read
    pwr_sleep_time_avg_read
    pwr_sleep_time_count_read
    pwr_rcvd_awake_bcns_cnt_read
    pwr_connection_out_of_sync_read
    pwr_rcvd_bcns_cnt_read
    pwr_missing_bcns_cnt_read
    isr_irqs_read
    rx_rx_xfr_read
    rx_rx_tkip_replays_read
    rx_defrag_need_decrypt_read
    rx_decrypt_key_not_found_read
    rx_defrag_decrypt_failed_read
    rx_defrag_need_defrag_read
    rx_defrag_tkip_called_read
    rx_defrag_in_process_called_read
    rx_defrag_init_called_read
    rx_defrag_called_read
    rx_rx_timeout_wa_read
    rx_rx_rts_timeout_read
    rx_rx_timeout_read
    rx_rx_phy_hdr_read
    rx_rx_cmplt_task_read
    rx_rx_pre_complt_read
    rx_rx_cmplt_read
    rx_rx_defrag_end_read
    rx_rx_defrag_read
    rx_rx_done_read
    rx_rx_dropped_frame_read
    rx_rx_hdr_overflow_read
    rx_rx_out_of_mpdu_nodes_read
    rx_rx_beacon_early_term_read
    tx_frag_cache_miss_read
    tx_frag_cache_hit_read
    tx_frag_failed_read
    tx_frag_bad_mblk_num_read
    tx_frag_need_fragmentation_read
    tx_frag_key_not_found_read
    tx_frag_tkip_called_read
    tx_frag_in_process_called_read
    tx_frag_init_called_read
    tx_frag_mpdu_alloc_failed_read
    tx_frag_called_read
    tx_tx_cfe2_read
    tx_tx_cfe1_read
    tx_tx_done_int_template_read
    tx_tx_done_data_read
    tx_tx_done_template_read
    tx_tx_exch_expiry_read
    tx_tx_exch_pending_read
    tx_tx_retry_data_read
    tx_tx_retry_template_read
    tx_tx_exch_read
    tx_tx_start_null_frame_read
    tx_tx_start_data_read
    tx_tx_start_fw_gen_read
    tx_tx_start_int_templates_read
    tx_tx_start_templates_read
    tx_tx_stop_read
    tx_tx_starts_read
    tx_tx_burst_programmed_read
    tx_tx_data_programmed_read
    tx_tx_template_programmed_read
    tx_tx_data_prepared_read
    tx_tx_template_prepared_read
    tx_tx_cmplt_read
    tx_tx_prepared_descs_read
    error_tbc_exch_mismatch_read
    error_burst_mismatch_read
    error_rx_excessive_frame_len_read
    error_elp_while_nvic_pending_read
    error_elp_while_tx_read
    error_elp_while_tx_exch_read
    error_elp_while_rx_exch_read
    error_rx_cmplt_db_overflow_cnt_read
    error_tx_resume_failure_read
    error_tx_abort_failure_read
    error_num_frame_cts_nul_flid_read
    error_bar_retry_read
    error_null_frame_cts_start_read
    error_null_frame_tx_start_read
    error_error_frame_during_protection_read
    error_error_frame_ctrl_read
    error_error_frame_non_ctrl_read
    calib_fail_count_read
    diversity_num_of_packets_per_ant_read
    pipeline_pipeline_fifo_full_read
    aggr_size_rx_size_read
    aggr_size_tx_agg_len_read
    aggr_size_tx_agg_rate_read
    rx_rate_rx_frames_per_rates_read
    pwr_cont_miss_bcns_spread_read
    tx_tx_retry_per_rate_read
    clear_fw_stats_write
    .LC40
    .LC41
    .LC42
    .LC43
    .LC44
    .LC45
    .LC46
    .LC47
    .LC48
    .LC49
    .LC50
    .LC51
    .LC52
    .LC53
    .LC54
    .LC55
    .LC56
    .LC57
    .LC58
    .LC59
    .LC60
    .LC61
    .LC62
    .LC63
    .LC64
    .LC65
    .LC66
    .LC67
    .LC68
    .LC69
    .LC70
    .LC71
    .LC72
    .LC73
    .LC74
    .LC75
    .LC76
    .LC77
    .LC78
    .LC79
    .LC80
    .LC81
    .LC82
    .LC83
    .LC84
    .LC85
    .LC86
    .LC87
    .LC88
    .LC89
    .LC90
    .LC91
    .LC92
    .LC93
    .LC94
    .LC95
    .LC96
    .LC97
    .LC98
    .LC99
    .LC100
    .LC101
    .LC102
    .LC103
    .LC104
    .LC105
    .LC106
    .LC107
    .LC108
    .LC109
    .LC110
    .LC111
    .LC112
    .LC113
    .LC114
    .LC115
    .LC116
    .LC117
    .LC118
    .LC119
    .LC120
    .LC121
    .LC122
    .LC123
    .LC124
    .LC125
    .LC126
    .LC127
    .LC128
    .LC129
    .LC130
    .LC131
    .LC132
    .LC133
    .LC134
    .LC135
    .LC136
    .LC137
    .LC138
    .LC139
    .LC140
    .LC141
    clear_fw_stats_ops
    error_error_frame_non_ctrl_ops
    error_error_frame_ctrl_ops
    error_error_frame_during_protection_ops
    error_null_frame_tx_start_ops
    error_null_frame_cts_start_ops
    error_bar_retry_ops
    error_num_frame_cts_nul_flid_ops
    error_tx_abort_failure_ops
    error_tx_resume_failure_ops
    error_rx_cmplt_db_overflow_cnt_ops
    error_elp_while_rx_exch_ops
    error_elp_while_tx_exch_ops
    error_elp_while_tx_ops
    error_elp_while_nvic_pending_ops
    error_rx_excessive_frame_len_ops
    error_burst_mismatch_ops
    error_tbc_exch_mismatch_ops
    tx_tx_prepared_descs_ops
    tx_tx_cmplt_ops
    tx_tx_template_prepared_ops
    tx_tx_data_prepared_ops
    tx_tx_template_programmed_ops
    tx_tx_data_programmed_ops
    tx_tx_burst_programmed_ops
    tx_tx_starts_ops
    tx_tx_stop_ops
    tx_tx_start_templates_ops
    tx_tx_start_int_templates_ops
    tx_tx_start_fw_gen_ops
    tx_tx_start_data_ops
    tx_tx_start_null_frame_ops
    tx_tx_exch_ops
    tx_tx_retry_template_ops
    tx_tx_retry_data_ops
    tx_tx_retry_per_rate_ops
    tx_tx_exch_pending_ops
    tx_tx_exch_expiry_ops
    tx_tx_done_template_ops
    tx_tx_done_data_ops
    tx_tx_done_int_template_ops
    tx_tx_cfe1_ops
    tx_tx_cfe2_ops
    tx_frag_called_ops
    tx_frag_mpdu_alloc_failed_ops
    tx_frag_init_called_ops
    tx_frag_in_process_called_ops
    tx_frag_tkip_called_ops
    tx_frag_key_not_found_ops
    tx_frag_need_fragmentation_ops
    tx_frag_bad_mblk_num_ops
    tx_frag_failed_ops
    tx_frag_cache_hit_ops
    tx_frag_cache_miss_ops
    rx_rx_beacon_early_term_ops
    rx_rx_out_of_mpdu_nodes_ops
    rx_rx_hdr_overflow_ops
    rx_rx_dropped_frame_ops
    rx_rx_done_ops
    rx_rx_defrag_ops
    rx_rx_defrag_end_ops
    rx_rx_cmplt_ops
    rx_rx_pre_complt_ops
    rx_rx_cmplt_task_ops
    rx_rx_phy_hdr_ops
    rx_rx_timeout_ops
    rx_rx_rts_timeout_ops
    rx_rx_timeout_wa_ops
    rx_defrag_called_ops
    rx_defrag_init_called_ops
    rx_defrag_in_process_called_ops
    rx_defrag_tkip_called_ops
    rx_defrag_need_defrag_ops
    rx_defrag_decrypt_failed_ops
    rx_decrypt_key_not_found_ops
    rx_defrag_need_decrypt_ops
    rx_rx_tkip_replays_ops
    rx_rx_xfr_ops
    isr_irqs_ops
    pwr_missing_bcns_cnt_ops
    pwr_rcvd_bcns_cnt_ops
    pwr_connection_out_of_sync_ops
    pwr_cont_miss_bcns_spread_ops
    pwr_rcvd_awake_bcns_cnt_ops
    pwr_sleep_time_count_ops
    pwr_sleep_time_avg_ops
    pwr_sleep_cycle_avg_ops
    pwr_sleep_percent_ops
    pwr_ap_sleep_active_conf_ops
    pwr_ap_sleep_user_conf_ops
    pwr_ap_sleep_counter_ops
    rx_filter_beacon_filter_ops
    rx_filter_arp_filter_ops
    rx_filter_mc_filter_ops
    rx_filter_dup_filter_ops
    rx_filter_data_filter_ops
    rx_filter_ibss_filter_ops
    rx_filter_protection_filter_ops
    rx_filter_accum_arp_pend_requests_ops
    rx_filter_max_arp_queue_dep_ops
    rx_rate_rx_frames_per_rates_ops
    aggr_size_tx_agg_rate_ops
    aggr_size_tx_agg_len_ops
    aggr_size_rx_size_ops
    pipeline_hs_tx_stat_fifo_int_ops
    pipeline_enc_tx_stat_fifo_int_ops
    pipeline_enc_rx_stat_fifo_int_ops
    pipeline_rx_complete_stat_fifo_int_ops
    pipeline_pre_proc_swi_ops
    pipeline_post_proc_swi_ops
    pipeline_sec_frag_swi_ops
    pipeline_pre_to_defrag_swi_ops
    pipeline_defrag_to_rx_xfer_swi_ops
    pipeline_dec_packet_in_ops
    pipeline_dec_packet_in_fifo_full_ops
    pipeline_dec_packet_out_ops
    pipeline_pipeline_fifo_full_ops
    diversity_num_of_packets_per_ant_ops
    diversity_total_num_of_toggles_ops
    thermal_irq_thr_low_ops
    thermal_irq_thr_high_ops
    thermal_tx_stop_ops
    thermal_tx_resume_ops
    thermal_false_irq_ops
    thermal_adc_source_unexpected_ops
    calib_fail_count_ops
    calib_calib_count_ops
    roaming_rssi_level_ops
    dfs_num_of_radar_detections_ops
    radar_detection_ops
    radar_debug_mode_ops
    dynamic_fw_traces_ops
    __wl18xx_scan_stop
    wl18xx_adjust_channels
    __UNIQUE_ID_srcversion11
    __UNIQUE_ID_alias10
    __module_depends
    __UNIQUE_ID_intree9
    __UNIQUE_ID_vermagic8
    ____versions
    wl18xx_debugfs_add_files
    ieee80211_connection_loss
    release_firmware
    wl18xx_acx_time_sync_cfg
    wlcore_cmd_generic_cfg
    wl1271_cmd_send
    wl18xx_acx_set_checksum_state
    wl18xx_acx_peer_ht_operation_mode
    wl18xx_cmd_dfs_master_restart
    wl18xx_cmd_smart_config_stop
    platform_driver_unregister
    wl12xx_is_dummy_packet
    __this_module
    memmove
    wlcore_event_roc_complete
    snprintf
    queue_work_on
    wl18xx_scan_start
    wlcore_scan_sched_scan_ssid_list
    __aeabi_unwind_cpp_pr0
    wlcore_translate_addr
    wlcore_boot_run_firmware
    request_firmware
    wlcore_set_scan_chan_params
    wl1271_debugfs_update_stats
    cleanup_module
    wl18xx_cmd_channel_switch
    memcpy
    wl1271_format_buffer
    kfree
    mutex_lock_nested
    wlcore_free_hw
    ieee80211_get_hdrlen_from_skb
    wl18xx_acx_clear_statistics
    wlcore_scan_sched_scan_results
    wl18xx_acx_dynamic_fw_traces
    ieee80211_stop_rx_ba_session
    kmem_cache_alloc_trace
    wl18xx_cmd_smart_config_start
    wl18xx_acx_ap_sleep
    init_module
    wl1271_free_tx_id
    wlcore_event_max_tx_failure
    kstrtou8_from_user
    wl18xx_top_reg_write
    ieee80211_find_sta
    wlcore_remove
    kfree_skb
    wlcore_disable_interrupts
    wl18xx_acx_rx_ba_filter
    __cfg80211_alloc_event_skb
    wl18xx_cmd_set_cac
    wlcore_event_channel_switch
    kstrtoul_from_user
    skb_queue_tail
    wl18xx_cmd_smart_config_set_group_key
    __cfg80211_send_event_skb
    ieee80211_queue_delayed_work
    simple_open
    skb_pull
    arm_delay_ops
    irq_get_irq_data
    wl18xx_top_reg_read
    wl1271_ps_elp_sleep
    warn_slowpath_null
    wl18xx_scan_completed
    nla_put
    wlcore_enable_interrupts
    strncpy
    wlcore_set_partition
    printk
    wl18xx_acx_host_if_cfg_bitmap
    wlcore_boot_upload_firmware
    wlcore_event_sched_scan_completed
    default_llseek
    cancel_delayed_work
    memset
    __memzero
    param_ops_charp
    __mod_platform__wl18xx_id_table_device_table
    wl18xx_tx_immediate_complete
    wl1271_cmd_configure
    strcmp
    __platform_driver_register
    wlcore_get_native_channel_type
    debugfs_create_file
    mutex_unlock
    wl18xx_wait_for_event
    wlcore_alloc_hw
    wl18xx_process_mailbox_events
    param_ops_bool
    wlcore_probe
    wlcore_cmd_wait_for_event_or_timeout
    wl18xx_scan_sched_scan_stop
    ieee80211_channel_to_frequency
    kmemdup
    wlcore_event_rssi_trigger
    wl18xx_acx_set_peer_cap
    wl18xx_sched_scan_start
    wlcore_event_fw_logger
    ieee80211_radar_detected
    wlcore_event_ba_rx_constraint
    wl18xx_acx_interrupt_notify_config
    wlcore_event_inactive_sta
    wlcore_event_dummy_packet
    get_random_bytes
    wl18xx_cmd_radar_detection_debug
    param_ops_int
    wlcore_event_beacon_loss
    debugfs_create_dir
    generic_file_llseek
    simple_read_from_buffer
    wlcore_set_key
    wl12xx_debug_level
    wl1271_ps_elp_wakeup
    kmalloc_caches
    wl12xx_cmd_build_probe_req
    .symtab
    .strtab
    .shstrtab
    .note.gnu.build-id
    .rel.text
    .rel.init.text
    .rel.exit.text
    .rel.rodata
    .ARM.extab.init.text
    .rel.ARM.exidx.init.text
    .ARM.extab.exit.text
    .rel.ARM.exidx.exit.text
    .modinfo
    .rodata.str1.4
    .rel__param
    .ARM.extab
    .rel.data
    .rel.gnu.linkonce.this_module
    .rel.ARM.exidx
    __versions
    .bss
    .note.GNU-stack
    .ARM.attributes

    ------

    Hope you can help us with this issue.

    Thank you.

    Paul Becue, SoundTalks

     

  • Hi Paul,
    "Concerning the build script: there are errors in it. Some repos in the script are not existing. But we could get the other data from teh script, the version of hostap, crda, uim, the frimware and the target scripts. We used the driver from the kernel, the kernel 4.9.69."
    Build scripts do not support backports for kernel 4.9 - you will see error when it tries to build kernel modules against 4.9.x kernel. Everything else should build ok .

    "When booting we also see this error: wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2 . I don't know what this means."
    For now you can ignore this but fix it for final product. This file consists of MAC addresses for WiFi/BT interfaces. Absence of this file will not limit driver functionality .

    We tested mesh with kernel 4.4 . SDK kernel 4.9 is missing mesh related patches resulting in some issues. We are aware of this issue and currently evaluating how we can address it .

    Thanks
    Saurabh
  • Thank you Saurabh for your answer, but can you please say in more detail what kernel you have used. Is it from the repo: 

    git://git.ti.com/processor-sdk/processor-sdk-linux.git

    or from the repo: git://git.ti.com/wilink8-wlan/wilink8-wlan-ti-linux-kernel.git ?

    And what is the branch or the tag?

    We would have the commit that you say that works. Is this possible. Thank you.

    branches:

       wlcore-ti-linux-4.4.y

       master                          tracked
       processor-sdk-linux-02.00.00    tracked
       processor-sdk-linux-02.00.01    tracked

       linux-wireless-next-wlcore 

      processor-sdk-linux-01.00.00
     processor-sdk-linux-01.00.01
     processor-sdk-linux-02.00.00
     processor-sdk-linux-02.00.01
     processor-sdk-linux-02.00.02
     processor-sdk-linux-03.00.00
     processor-sdk-linux-03.01.00
     processor-sdk-linux-03.02.00
     processor-sdk-linux-03.03.00
     processor-sdk-linux-04.00.00
     processor-sdk-linux-04.01.00
     processor-sdk-linux-04.02.00
     processor-sdk-linux-04.03.00
     processor-sdk-linux-next
     processor-sdk-linux-rt-02.00.01
     processor-sdk-linux-rt-02.00.02
     processor-sdk-linux-rt-03.00.00
     processor-sdk-linux-rt-03.01.00
     processor-sdk-linux-rt-03.02.00
     processor-sdk-linux-rt-03.03.00
     processor-sdk-linux-rt-04.00.00
     processor-sdk-linux-rt-04.01.00
     processor-sdk-linux-rt-04.02.00
     processor-sdk-linux-rt-04.03.00
     processor-sdk-linux-rt-next
     ti-lsk-linux-4.4.y
     ti-rt-linux-4.4.y

    tags:

    v4.4
    v4.4-rc1
    v4.4-rc2
    v4.4-rc3
    v4.4-rc4
    v4.4-rc5
    v4.4-rc6
    v4.4-rc6-rt1
    v4.4-rc6-rt1-rebase
    v4.4-rc7
    v4.4-rc8
    v4.4-rt2
    v4.4-rt2-patches
    v4.4-rt2-rebase
    v4.4-rt3
    v4.4-rt3-patches
    v4.4-rt3-rebase
    v4.4.1
    v4.4.1-rt4
    v4.4.1-rt4-patches
    v4.4.1-rt4-rebase
    v4.4.1-rt5
    v4.4.1-rt5-patches
    v4.4.1-rt5-rebase
    v4.4.1-rt6
    v4.4.1-rt6-patches
    v4.4.1-rt6-rebase
    v4.4.10
    v4.4.11
    v4.4.12
    v4.4.12-rt18
    v4.4.12-rt18-patches
    v4.4.12-rt19
    v4.4.12-rt19-patches
    v4.4.12-rt19-rebase
    v4.4.12-rt20
    v4.4.13
    v4.4.13-rt21
    v4.4.14
    v4.4.14-rt22
    v4.4.15
    v4.4.15-rt23
    v4.4.16
    v4.4.16-rt24
    v4.4.17
    v4.4.17-rt25
    v4.4.18
    v4.4.18-rt26
    v4.4.19
    v4.4.19-rt27
    v4.4.2
    v4.4.2-rt7
    v4.4.2-rt7-patches
    v4.4.2-rt7-rebase
    v4.4.20
    v4.4.20-rt28
    v4.4.21
    v4.4.21-rt29
    v4.4.21-rt30
    v4.4.21-rt31
    v4.4.22
    v4.4.22-rt32
    v4.4.23
    v4.4.23-rt33
    v4.4.24
    v4.4.24-rt34
    v4.4.25
    v4.4.25-rt35
    v4.4.26
    v4.4.26-rt36
    v4.4.27
    v4.4.27-rt37
    v4.4.27-rt38
    v4.4.28
    v4.4.28-rt39
    v4.4.29
    v4.4.29-rt40
    v4.4.3
    v4.4.3-rt8
    v4.4.3-rt8-patches
    v4.4.3-rt9
    v4.4.3-rt9-patches
    v4.4.3-rt9-rebase
    v4.4.30
    v4.4.30-rt41
    v4.4.31
    v4.4.31-rt42
    v4.4.32
    v4.4.32-rt43
    v4.4.33
    v4.4.33-rt44
    v4.4.34
    v4.4.34-rt45
    v4.4.35
    v4.4.35-rt46
    v4.4.36
    v4.4.36-rt47
    v4.4.37
    v4.4.37-rt48
    v4.4.38
    v4.4.38-rt49
    v4.4.39
    v4.4.39-rt50
    v4.4.4
    v4.4.4-rt10
    v4.4.4-rt10-patches
    v4.4.4-rt11
    v4.4.4-rt11-patches
    v4.4.4-rt11-rebase
    v4.4.40
    v4.4.40-rt51
    v4.4.41
    v4.4.41-rt52
    v4.4.42
    v4.4.42-rt53
    v4.4.43
    v4.4.43-rt54
    v4.4.44
    v4.4.44-rt55
    v4.4.45
    v4.4.45-rt56
    v4.4.46
    v4.4.46-rt57
    v4.4.47
    v4.4.47-rt58
    v4.4.47-rt59
    v4.4.48
    v4.4.48-rt60
    v4.4.49
    v4.4.49-rt61
    v4.4.5
    v4.4.50
    v4.4.50-rt62
    v4.4.50-rt63
    v4.4.51
    v4.4.51-rt64
    v4.4.52
    v4.4.52-rt65
    v4.4.53
    v4.4.53-rt66
    v4.4.54
    v4.4.55
    v4.4.6
    v4.4.6-rt12
    v4.4.6-rt12-patches
    v4.4.6-rt12-rebase
    v4.4.6-rt13
    v4.4.6-rt13-patches
    v4.4.6-rt13-rebase
    v4.4.6-rt14
    v4.4.6-rt14-patches
    v4.4.6-rt14-rebase
    v4.4.7
    v4.4.7-rt15
    v4.4.7-rt15-patches
    v4.4.7-rt16
    v4.4.7-rt16-patches
    v4.4.7-rt16-rebase
    v4.4.8
    v4.4.9
    v4.4.9-rt17
    v4.4.9-rt17-patches
    v4.4.9-rt17-rebase

  • Hi Paul,
    We tested it on kernel 4.4
    git://git.ti.com/wilink8-wlan/wl18xx.git
    branch : upstream_44, tag R8.7_SP3

    Thanks
    Saurabh
  • Saurabh
    Thank you for this quick answer. I will test our build with this kernel. Does this kernel also compiles for an iMX6 processor. Probably yes, but do you know of tests for iMX6?
    Thank you.
    Paul Becue.
  • Hi Paul,
    We are not running tests on IMx6 at our end . build-utilties do have iMx related kernel patches that you can refer to .

    Saurabh