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.

Unable to connect more than 4 clients on WIFI AP of Wilink8 183x Bluetooth+wifi combo module

Other Parts Discussed in Thread: WL1271

Hi,

I am unable to connect more than 4 clients to Wlan AP

The use case is as follows:

we are hosting a webserver and Gstreamer on TI imx6 board and running WIFI Module in AP mode.
we are to play videos on gateway board successfully but there is too much buffering lag when more than one client is connected.

Also. we cannot add more than 3 clients easily.

Please let me know if some changes in driver file may change the current performance scenario.

Our intent is to run video on 4 clients connected to wifi AP without any buffering lag.

Thanks
Ashish S
Harman Connected Services

  • hi , what version of wilink wifi driver are you running ?
    Saurabh
  • Hi Saurabh,

    Following are the details of Driver:

    root@imx6slzbha:~# dmesg | grep "wlcore"
    (stk) :ldisc_install = 0<6>wlcore: wl18xx driver version: ol_r8.a8.04_32
    wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    wlcore: loaded
    wlcore: driver version: ol_r8.a8.04_32
    wlcore: compilation time: Fri Jul 18 17:18:20 2014
    wlcore: PHY firmware version: Rev 8.2.0.0.195
    wlcore: firmware booted (Rev 8.8.0.0.13)
    wlcore: down
    wlcore: PHY firmware version: Rev 8.2.0.0.195
    wlcore: firmware booted (Rev 8.8.0.0.13)

    Thanks
  • hi , you are using an obsolete version of wilink 8 driver . please update to R8.7_SP1
    processors.wiki.ti.com/.../WL18xx_System_Build_Scripts

    Saurabh
  • Hi Saurabh,

    Do you mean that after this driver update, we would be able to connect more than 10 clients and stream videos without buffering on all of them.
  • Hi Saurabh,

    we are using poky distribution of Yocto 1.6.1.

    Please send me steps to build wlcore and wl18xx modules only.

    The steps that are given in the link are not running with our SDK toolchain as there is some mismatch.

    Thanks
    Ashish
  • hi , please consult following links to update wilink 8 on imx
    processors.wiki.ti.com/.../WL18xx_System_Build_Scripts
    processors.wiki.ti.com/.../WL18xx_First_Time_Getting_Started_Guide_(IMX6)

    Yes, you can connect up to 10 stations . FYI - This is soft AP implementation and is different from regular dedicated Access Point .
    You will need to check what is bandwidth requirement of each station and check if system can meet your requirements .
    soft AP are not designed to stream video simultaneously to 10 devices and many factors come into play - cpu utilization , wifi bandwidth , ota interference etc.

    Saurabh
  • Hi Saurabh,

    what can we do to improve performance according to our use case,
    We need to run videos smoothly on atleast 4 AP Clients.
    Is it possible with existing driver with some slight changes.???

    Thanks
    Ashish S
  • hi , I suggest you update driver to latest R8.7_SP1 and test . As i mentioned in previous post streaming video on 10 devices simultaneously using soft AP is bandwidth intensive task and lots of other parameters come into play .
    Saurabh
  • Hi Saurabh,

    I successfuly built wifi drivers to the latest R8.7_SPI and i copied the .ko,.bts and .conf files on the board at respective positions.
    But the driver is not getting probed, i am getting the following dmesg logs:

    Please assist with this issue.

    (stk) :ldisc_install = 0<4>cfg80211: Unknown symbol backport_genl_unregister_family (err 0)
    cfg80211: Unknown symbol __backport_genl_register_family (err 0)
    cfg80211: Unknown symbol backport_dependency_symbol (err 0)
    mac80211: Unknown symbol cfg80211_inform_bss_frame_data (err 0)
    mac80211: Unknown symbol cfg80211_sched_scan_results (err 0)
    mac80211: Unknown symbol cfg80211_rx_assoc_resp (err 0)
    mac80211: Unknown symbol cfg80211_rx_unexpected_4addr_frame (err 0)
    mac80211: Unknown symbol cfg80211_chandef_dfs_required (err 0)
    mac80211: Unknown symbol cfg80211_scan_done (err 0)
    mac80211: Unknown symbol cfg80211_sched_scan_stopped (err 0)
    mac80211: Unknown symbol cfg80211_remain_on_channel_expired (err 0)
    mac80211: Unknown symbol cfg80211_cac_event (err 0)
    mac80211: Unknown symbol ieee80211_amsdu_to_8023s (err 0)
    mac80211: Unknown symbol backport_rhashtable_insert_rehash (err 0)
    mac80211: Unknown symbol cfg80211_ref_bss (err 0)
    mac80211: Unknown symbol ieee80211_mandatory_rates (err 0)
    mac80211: Unknown symbol ieee80211_chandef_to_operating_class (err 0)
    mac80211: Unknown symbol cfg80211_chandef_valid (err 0)
    mac80211: Unknown symbol cfg80211_new_sta (err 0)
    mac80211: Unknown symbol cfg80211_calculate_bitrate (err 0)
    mac80211: Unknown symbol wiphy_new_nm (err 0)
    mac80211: Unknown symbol cfg80211_ready_on_channel (err 0)
    mac80211: Unknown symbol cfg80211_classify8021d (err 0)
    mac80211: Unknown symbol cfg80211_rx_mlme_mgmt (err 0)
    mac80211: Unknown symbol wiphy_register (err 0)
    mac80211: Unknown symbol cfg80211_put_bss (err 0)
    mac80211: Unknown symbol cfg80211_ch_switch_notify (err 0)
    mac80211: Unknown symbol crypto_backport_convert (err 0)
    mac80211: Unknown symbol cfg80211_tx_mlme_mgmt (err 0)
    mac80211: Unknown symbol backport_crypto_aead_reqsize (err 0)
    mac80211: Unknown symbol cfg80211_gtk_rekey_notify (err 0)
    mac80211: Unknown symbol cfg80211_check_combinations (err 0)
    mac80211: Unknown symbol cfg80211_tdls_oper_request (err 0)
    mac80211: Unknown symbol ieee80211_bss_get_ie (err 0)
    mac80211: Unknown symbol cfg80211_get_drvinfo (err 0)
    mac80211: Unknown symbol cfg80211_assoc_timeout (err 0)
    mac80211: Unknown symbol cfg80211_rx_spurious_frame (err 0)
    mac80211: Unknown symbol cfg80211_ibss_joined (err 0)
    mac80211: Unknown symbol cfg80211_chandef_compatible (err 0)
    mac80211: Unknown symbol cfg80211_iter_combinations (err 0)
    mac80211: Unknown symbol cfg80211_report_obss_beacon (err 0)
    mac80211: Unknown symbol cfg80211_michael_mic_failure (err 0)
    mac80211: Unknown symbol cfg80211_reg_can_beacon_relax (err 0)
    mac80211: Unknown symbol cfg80211_cqm_pktloss_notify (err 0)
    mac80211: Unknown symbol ieee80211_operating_class_to_band (err 0)
    mac80211: Unknown symbol cfg80211_del_sta_sinfo (err 0)
    mac80211: Unknown symbol wiphy_unregister (err 0)
    mac80211: Unknown symbol backport_rhashtable_init (err 0)
    mac80211: Unknown symbol ieee80211_radiotap_iterator_init (err 0)
    mac80211: Unknown symbol cfg80211_notify_new_peer_candidate (err 0)
    mac80211: Unknown symbol cfg80211_sched_scan_stopped_rtnl (err 0)
    mac80211: Unknown symbol cfg80211_get_bss (err 0)
    mac80211: Unknown symbol __ieee80211_get_channel (err 0)
    mac80211: Unknown symbol cfg80211_chandef_usable (err 0)
    mac80211: Unknown symbol rfc1042_header (err 0)
    mac80211: Unknown symbol cfg80211_cqm_beacon_loss_notify (err 0)
    mac80211: Unknown symbol cfg80211_mgmt_tx_status (err 0)
    mac80211: Unknown symbol cfg80211_ch_switch_started_notify (err 0)
    mac80211: Unknown symbol cfg80211_check_station_change (err 0)
    mac80211: Unknown symbol cfg80211_reg_can_beacon (err 0)
    mac80211: Unknown symbol cfg80211_find_ie (err 0)
    mac80211: Unknown symbol cfg80211_unregister_wdev (err 0)
    mac80211: Unknown symbol cfg80211_probe_status (err 0)
    mac80211: Unknown symbol ieee80211_data_to_8023 (err 0)
    mac80211: Unknown symbol cfg80211_stop_iface (err 0)
    mac80211: Unknown symbol ieee80211_radiotap_iterator_next (err 0)
    mac80211: Unknown symbol backport_skb_clone_sk (err 0)
    mac80211: Unknown symbol ieee80211_channel_to_frequency (err 0)
    mac80211: Unknown symbol cfg80211_rx_mgmt (err 0)
    mac80211: Unknown symbol backport_rhashtable_insert_slow (err 0)
    mac80211: Unknown symbol ieee80211_hdrlen (err 0)
    mac80211: Unknown symbol cfg80211_chandef_create (err 0)
    mac80211: Unknown symbol cfg80211_report_wowlan_wakeup (err 0)
    mac80211: Unknown symbol ieee80211_get_mesh_hdrlen (err 0)
    mac80211: Unknown symbol cfg80211_get_p2p_attr (err 0)
    mac80211: Unknown symbol backport_skb_complete_wifi_ack (err 0)
    mac80211: Unknown symbol ieee80211_frequency_to_channel (err 0)
    mac80211: Unknown symbol cfg80211_shutdown_all_interfaces (err 0)
    mac80211: Unknown symbol cfg80211_radar_event (err 0)
    mac80211: Unknown symbol bridge_tunnel_header (err 0)
    mac80211: Unknown symbol ieee80211_ie_split (err 0)
    mac80211: Unknown symbol ieee80211_ie_split_ric (err 0)
    mac80211: Unknown symbol backport_dependency_symbol (err 0)
    mac80211: Unknown symbol cfg80211_unlink_bss (err 0)
    mac80211: Unknown symbol wiphy_free (err 0)
    mac80211: Unknown symbol backport_rhashtable_destroy (err 0)
    mac80211: Unknown symbol cfg80211_cqm_rssi_notify (err 0)
    mac80211: Unknown symbol cfg80211_auth_timeout (err 0)
    mac80211: Unknown symbol cfg80211_rx_unprot_mlme_mgmt (err 0)
    wlcore: Unknown symbol ieee80211_connection_loss (err 0)
    wlcore: Unknown symbol ieee80211_iterate_interfaces (err 0)
    wlcore: Unknown symbol ieee80211_sched_scan_stopped (err 0)
    wlcore: Unknown symbol ieee80211_chswitch_done (err 0)
    wlcore: Unknown symbol ieee80211_free_hw (err 0)
    wlcore: Unknown symbol ieee80211_probereq_get (err 0)
    wlcore: Unknown symbol ieee80211_ap_probereq_get (err 0)
    wlcore: Unknown symbol ieee80211_nullfunc_get (err 0)
    wlcore: Unknown symbol ieee80211_pspoll_get (err 0)
    wlcore: Unknown symbol ieee80211_register_hw (err 0)
    wlcore: Unknown symbol ieee80211_restart_hw (err 0)
    wlcore: Unknown symbol ieee80211_get_hdrlen_from_skb (err 0)
    wlcore: Unknown symbol ieee80211_stop_rx_ba_session (err 0)
    wlcore: Unknown symbol ieee80211_wake_queue (err 0)
    wlcore: Unknown symbol ieee80211_find_sta (err 0)
    wlcore: Unknown symbol __cfg80211_alloc_reply_skb (err 0)
    wlcore: Unknown symbol wiphy_to_ieee80211_hw (err 0)
    wlcore: Unknown symbol ieee80211_queue_delayed_work (err 0)
    wlcore: Unknown symbol ieee80211_proberesp_get (err 0)
    wlcore: Unknown symbol ieee80211_remain_on_channel_expired (err 0)
    wlcore: Unknown symbol ieee80211_wake_queues (err 0)
    wlcore: Unknown symbol ieee80211_report_low_ack (err 0)
    wlcore: Unknown symbol ieee80211_free_txskb (err 0)
    wlcore: Unknown symbol ieee80211_alloc_hw_nm (err 0)
    wlcore: Unknown symbol cfg80211_vendor_cmd_reply (err 0)
    wlcore: Unknown symbol rfc1042_header (err 0)
    wlcore: Unknown symbol ieee80211_tx_status (err 0)
    wlcore: Unknown symbol ieee80211_stop_queue (err 0)
    wlcore: Unknown symbol ieee80211_ready_on_channel (err 0)
    wlcore: Unknown symbol ieee80211_stop_queues (err 0)
    wlcore: Unknown symbol ieee80211_cqm_beacon_loss_notify (err 0)
    wlcore: Unknown symbol cfg80211_find_ie (err 0)
    wlcore: Unknown symbol ieee80211_sched_scan_results (err 0)
    wlcore: Unknown symbol ieee80211_scan_completed (err 0)
    wlcore: Unknown symbol ieee80211_iterate_active_interfaces_atomic (err 0)
    wlcore: Unknown symbol ieee80211_channel_to_frequency (err 0)
    wlcore: Unknown symbol ieee80211_unregister_hw (err 0)
    wlcore: Unknown symbol ieee80211_beacon_get_tim (err 0)
    wlcore: Unknown symbol ieee80211_hdrlen (err 0)
    wlcore: Unknown symbol ieee80211_cqm_rssi_notify (err 0)
    wlcore: Unknown symbol ieee80211_frequency_to_channel (err 0)
    wlcore: Unknown symbol ieee80211_queue_work (err 0)
    wlcore: Unknown symbol ieee80211_sta_ps_transition (err 0)
    wlcore: Unknown symbol cfg80211_find_vendor_ie (err 0)
    wlcore: Unknown symbol ieee80211_csa_finish (err 0)
    wlcore: Unknown symbol ieee80211_rx_napi (err 0)
    wlcore_sdio: Unknown symbol backport_dependency_symbol (err 0)
    wl18xx: Unknown symbol ieee80211_connection_loss (err 0)
    wl18xx: Unknown symbol wl1271_cmd_send (err 0)
    wl18xx: Unknown symbol wl12xx_is_dummy_packet (err 0)
    wl18xx: Unknown symbol wlcore_event_roc_complete (err 0)
    wl18xx: Unknown symbol wlcore_scan_sched_scan_ssid_list (err 0)
    wl18xx: Unknown symbol wlcore_translate_addr (err 0)
    wl18xx: Unknown symbol wlcore_boot_run_firmware (err 0)
    wl18xx: Unknown symbol wlcore_set_scan_chan_params (err 0)
    wl18xx: Unknown symbol wl1271_debugfs_update_stats (err 0)
    wl18xx: Unknown symbol wl1271_format_buffer (err 0)
    wl18xx: Unknown symbol wlcore_free_hw (err 0)
    wl18xx: Unknown symbol ieee80211_get_hdrlen_from_skb (err 0)
    wl18xx: Unknown symbol wlcore_scan_sched_scan_results (err 0)
    wl18xx: Unknown symbol wl1271_free_tx_id (err 0)
    wl18xx: Unknown symbol wlcore_event_max_tx_failure (err 0)
    wl18xx: Unknown symbol wlcore_remove (err 0)
    wl18xx: Unknown symbol wlcore_disable_interrupts (err 0)
    wl18xx: Unknown symbol __cfg80211_alloc_event_skb (err 0)
    wl18xx: Unknown symbol wlcore_event_channel_switch (err 0)
    wl18xx: Unknown symbol __cfg80211_send_event_skb (err 0)
    wl18xx: Unknown symbol ieee80211_queue_delayed_work (err 0)
    wl18xx: Unknown symbol wl1271_ps_elp_sleep (err 0)
    wl18xx: Unknown symbol wlcore_enable_interrupts (err 0)
    wl18xx: Unknown symbol wlcore_set_partition (err 0)
    wl18xx: Unknown symbol wlcore_boot_upload_firmware (err 0)
    wl18xx: Unknown symbol wlcore_event_sched_scan_completed (err 0)
    wl18xx: Unknown symbol wl1271_cmd_configure (err 0)
    wl18xx: Unknown symbol ieee80211_change_rx_ba_max_subframes (err 0)
    wl18xx: Unknown symbol wlcore_get_native_channel_type (err 0)
    wl18xx: Unknown symbol wlcore_alloc_hw (err 0)
    wl18xx: Unknown symbol wlcore_probe (err 0)
    wl18xx: Unknown symbol wlcore_cmd_wait_for_event_or_timeout (err 0)
    wl18xx: Unknown symbol ieee80211_channel_to_frequency (err 0)
    wl18xx: Unknown symbol wlcore_event_rssi_trigger (err 0)
    wl18xx: Unknown symbol wlcore_rx_ba_max_subframes (err 0)
    wl18xx: Unknown symbol wlcore_event_fw_logger (err 0)
    wl18xx: Unknown symbol ieee80211_radar_detected (err 0)
    wl18xx: Unknown symbol wlcore_event_ba_rx_constraint (err 0)
    wl18xx: Unknown symbol wlcore_event_inactive_sta (err 0)
    wl18xx: Unknown symbol wlcore_event_dummy_packet (err 0)
    wl18xx: Unknown symbol wlcore_event_beacon_loss (err 0)
    wl18xx: Unknown symbol backport_dependency_symbol (err 0)
    wl18xx: Unknown symbol wlcore_set_key (err 0)
    wl18xx: Unknown symbol wl12xx_debug_level (err 0)
    wl18xx: Unknown symbol wl1271_ps_elp_wakeup (err 0)
    wl18xx: Unknown symbol wl12xx_cmd_build_probe_req (err 0)
    fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
    IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    root@imx6slzbha:~#


    Thanks
    Ashish S
  • hi , seems like drivers were not backported correctly . You need to make sure all variable are set correctly in setup-env - including kernel path . also use the verify script in build-utilities to make sure all necessary kernel flags are enabled

    Saurabh