Mainline Linux Driver HF-LPS170 (BL602)
#1
I took the original driver HF-LPS170_Linus_Driver_20201229.zip and adapted it for building in the kernel tree 5.11.y.

Code:
modinfo bl_fdrv.ko
filename:      /home/dev/images_build_kit/build/source/linux-next/drivers/net/wireless/hflps170/bl_fdrv.ko
license:        GPL
author:        Copyright(c) 2015-2016 BouffaloLab BouffaloLab S.A.S
version:        5.5.0.0
description:    BouffaloLab 11nac driver for Linux cfg80211
firmware:      bl_settings.ini
firmware:      fmacfw.bin
firmware:      ldpcram.bin
firmware:      fcuram.bin
firmware:      agcram.bin
srcversion:    29893D2D7D1077651D05265
alias:          sdio:c*v424Cd0606*
depends:        cfg80211
intree:        Y
name:          bl_fdrv
vermagic:      5.11.15 SMP preempt mod_unload aarch64
parm:          bl_filter_severity:used to filter severity (ulong)
parm:          bl_filter_module:used to filter module (ulong)
parm:          ht_on:Enable HT (Default: 1) (bool)
parm:          vht_on:Enable VHT (Default: 1) (bool)
parm:          mcs_map:VHT MCS map value  0: MCS0_7, 1: MCS0_8, 2: MCS0_9 (Default: 0) (int)
parm:          amsdu_maxnb:Maximum number of MSDUs inside an A-MSDU in TX: (Default: NX_TX_PAYLOAD_MAX) (int)
parm:          ps_on:Enable PowerSaving (Default: 1-Enabled) (bool)
parm:          tx_lft:Tx lifetime (ms) - setting it to 0 disables retries (Default: 100) (int)
parm:          ldpc_on:Enable LDPC (Default: 1) (bool)
parm:          vht_stbc:Enable VHT STBC in RX (Default: 1) (bool)
parm:          phycfg:0 <= phycfg <= 5 : RF Channel Conf (Default: 2(C0-A1-B2)) (int)
parm:          uapsd_timeout:UAPSD Timer timeout, in ms (Default: 300). If 0, UAPSD is disabled (int)
parm:          uapsd_queues:UAPSD Queues, integer value, must be seen as a bitfield
        Bit 0 = VO
        Bit 1 = VI
        Bit 2 = BK
        Bit 3 = BE
    -> uapsd_queues=7 will enable uapsd for VO, VI and BK queues (int)
parm:          ap_uapsd_on:Enable UAPSD in AP mode (Default: 1) (bool)
parm:          sgi:Advertise Short Guard Interval support (Default: 1) (bool)
parm:          sgi80:Advertise Short Guard Interval support for 80MHz (Default: 1) (bool)
parm:          use_2040:Use tweaked 20-40MHz mode (Default: 1) (bool)
parm:          use_80:Enable 80MHz (Default: 1) (bool)
parm:          custregd:Use permissive custom regulatory rules (for testing ONLY) (Default: 0) (bool)
parm:          nss:1 <= nss <= 2 : Supported number of Spatial Streams (Default: 1) (int)
parm:          bfmee:Enable Beamformee Capability (Default: 1-Enabled) (bool)
parm:          bfmer:Enable Beamformer Capability (Default: 0-Disabled) (bool)
parm:          mesh:Enable Meshing Capability (Default: 0-Disabled) (bool)
parm:          murx:Enable MU-MIMO RX Capability (Default: 1-Enabled) (bool)
parm:          mutx:Enable MU-MIMO TX Capability (Default: 1-Enabled) (bool)
parm:          mutx_on:Enable MU-MIMO transmissions (Default: 1-Enabled) (bool)
parm:          roc_dur_max:Maximum Remain on Channel duration (int)
parm:          listen_itv:Maximum listen interval (int)
parm:          listen_bcmc:Wait for BC/MC traffic following DTIM beacon (bool)
parm:          lp_clk_ppm:Low Power Clock accuracy of the local device (int)
parm:          tdls:Enable TDLS (Default: 1-Enabled) (bool)
donation   slarm64

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Linux vs NetBSD NIS passwords KC9UDX 14 432 07-14-2021, 08:21 PM
Last Post: KC9UDX
  Firmware BL602 on magic home controller daubsi 0 107 07-10-2021, 05:16 AM
Last Post: daubsi
  Article: Reverse Engineering WiFi on RISC-V BL602 lupyuen 4 650 07-08-2021, 09:20 PM
Last Post: lupyuen
  Article: Machine Learning on RISC-V BL602 with TensorFlow Lite lupyuen 0 202 06-21-2021, 06:52 AM
Last Post: lupyuen
  Article: BL602 Bootloader lupyuen 0 224 06-08-2021, 09:06 PM
Last Post: lupyuen
  Good calculator on the Linux Phone? And general lack of mobile responsive apps programmin 5 870 06-06-2021, 02:17 PM
Last Post: awaittrot
  Article: Simulate PineCone BL602 with WebAssembly, uLisp and Blockly lupyuen 0 268 05-27-2021, 07:37 AM
Last Post: lupyuen
  Article: uLisp and Blockly on PineCone BL602 RISC-V Board lupyuen 3 666 05-21-2021, 11:58 PM
Last Post: nimblemotors
  Article: PineCone BL602 Talks LoRaWAN lupyuen 0 305 05-11-2021, 12:12 AM
Last Post: lupyuen
  Article: Run Rust RISC-V Firmware with BL602 IoT SDK lupyuen 2 500 04-21-2021, 08:35 AM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)