Changes between Version 39 and Version 40 of expansion/gw16159


Ignore:
Timestamp:
01/12/2026 11:42:44 PM (3 days ago)
Author:
Tim Harvey
Comment:

updated build script and details for morse_driver v1.16

Legend:

Unmodified
Added
Removed
Modified
  • expansion/gw16159

    v39 v40  
    9898DESTDIR=$2
    9999
    100 MORSE_VER=1.12.4
     100MORSE_VER=1.16.4
    101101LIBNL_VER=libnl3_11_0
    102 OPENSSL_VER=openssl-3.4.0
     102OPENSSL_VER=openssl-3.5.0
     103LIBUSB_VER=v1.0.28
    103104COUNTRY=US
    104105mkdir -p $DESTDIR/usr/sbin
     
    108109
    109110# get repos of what we will build
    110 [ -d morse_driver ] || git clone --recurse-submodules https://github.com/Gateworks/morse_driver.git -b gateworks-venice
     111[ -d morse_driver ] || git clone --recurse-submodules https://github.com/Gateworks/morse_driver.git -b 1.16.4-gateworks
     112[ -d morse-firmware ] || git clone https://github.com/MorseMicro/morse-firmware.git -b 1.16
    111113[ -d libnl ] || git clone https://github.com/thom311/libnl.git -b $LIBNL_VER
    112114[ -d openssl ] || git clone https://github.com/openssl/openssl.git -b $OPENSSL_VER
    113115[ -d hostap ] || git clone https://github.com/MorseMicro/hostap.git -b $MORSE_VER
    114116[ -d morse_cli ] || git clone https://github.com/MorseMicro/morse_cli.git -b $MORSE_VER
    115 
    116 echo "Building mm6108 driver..."
     117[ -d libusb ] || git clone https://github.com/libusb/libusb.git -b $LIBUSB_VER
     118
     119echo "Building morse_driver..."
    117120ARGS="KERNEL_SRC=$1 \
    118121        CONFIG_MORSE_SDIO=y \
     122        CONFIG_MORSE_USB=y \
    119123        CONFIG_MORSE_USER_ACCESS=y \
    120124        CONFIG_MORSE_VENDOR_COMMAND=y \
     
    123127        CONFIG_MORSE_COUNTRY=$COUNTRY \
    124128        CONFIG_MORSE_RC=y \
     129        CONFIG_MORSE_MONITOR=y \
     130        CONFIG_MORSE_DEBUGFS=y \
    125131        CONFIG_WLAN_VENDOR_MORSE=m"
    126132make -C morse_driver $ARGS
     
    128134
    129135# firmware:
    130 #  - mm6108 firmware
     136#  - mm610x firmware
    131137#  - board configuration file (BCF) that provides driver with calibration constants and chip gpio config
    132 echo "Copying mm6108 firmware..."
     138echo "Copying firmware..."
    133139mkdir -p $2/lib/firmware/morse
    134 wget http://dev.gateworks.com/firmware/gw16159/mm6108.bin -O $2/lib/firmware/morse/mm6108.bin
    135 wget http://dev.gateworks.com/firmware/gw16159/LICENSE -O $2/lib/firmware/morse/LICENSE
    136 wget "http://dev.gateworks.com/firmware/gw16159/HY103760XB_SX-SDMAH-R2(US)_20240807_5V0.bin" -O $2/lib/firmware/morse/bcf_sxsdmah_fem5p0.bin
     140# GW16159 sdmah/sdio/mm6108
     141cp morse-firmware/firmware/mm6108.bin $2/lib/firmware/morse
     142wget http://dev.gateworks.com/firmware/gw16159/$MORSE_VER/LICENSE -O $2/lib/firmware/morse/LICENSE
     143wget "http://dev.gateworks.com/firmware/gw16159/$MORSE_VER/bcf_default.bin" -O $2/lib/firmware/morse/bcf_default.bin
     144# GW16167 mm8108/usb
     145cp morse-firmware/firmware/mm8108b2-rl.bin $2/lib/firmware/morse
     146cp morse-firmware/bcf/morsemicro/bcf_mf15457.bin $2/lib/firmware/morse/bcf_boardtype_0804.bin
    137147
    138148[ -d $OUTDIR/include/libnl3 ] || {
     149        echo "Building libnl..."
    139150        cd libnl
    140151        ./autogen.sh
    141152        ./configure --host=$ARCH CC=${CROSS_COMPILE}gcc --prefix=$OUTDIR --disable-shared
    142153        make clean
    143         make -j32
     154        make -j$(nproc)
    144155        make install
    145156        cd ..
     
    147158
    148159[ -d $OUTDIR/include/openssl ] || {
     160        echo "Building openssl..."
    149161        cd openssl
    150162        ./Configure linux-generic32 no-shared no-dso no-async -DL_ENDIAN --prefix=$OUTDIR --openssldir=$OUTDIR
    151163        # needed no-async to build latest openssl against uclib
    152         make -j32 \
     164        make -j$(nproc) \
    153165                CC=${CROSS_COMPILE}gcc \
    154166                RANLIB=${CROSS_COMPILE}ranlib \
     
    161173}
    162174
     175# libusb
     176[ -d $OUTDIR/include/libusb ] || {
     177        echo "Building libusb..."
     178        cd libusb
     179        ./autogen.sh --disable-udev
     180        ./configure --host=$ARCH CC=${CROSS_COMPILE}gcc --prefix=$OUTDIR --disable-shared --enable-examples-build --disable-log --disable-udev
     181        make -j$(nproc) \
     182                CFLAGS="-Wunused-parameter" \
     183                CC=${CROSS_COMPILE}gcc \
     184                RANLIB=${CROSS_COMPILE}ranlib \
     185                LD=${CROSS_COMPILE}ld \
     186                MAKEDEPPROG=${CROSS_COMPILE}gcc \
     187                PROCESSOR=ARM
     188        make install
     189        cd ..
     190}
     191
    163192# wpa_supplicant
    164 [ -r hostap/wpa_supplicant/wpa_supplicant_s1g.bin ] || {
     193[ -r hostap/wpa_supplicant/wpa_supplicant_s1g ] || {
     194        echo "Building wpa_supplicant_s1g..."
    165195        cp hostap/wpa_supplicant/defconfig hostap/wpa_supplicant/.config
     196        disables="CONFIG_BGSCAN_SIMPLE"
     197        enables="CONFIG_DRIVER_NL80211_QCA \
     198                CONFIG_WPS_NFC CONFIG_SAE_PK \
     199                CONFIG_EAP_MD5 \
     200                CONFIG_EAP_MSCHAPV2 \
     201                CONFIG_EAP_TLS \
     202                CONFIG_EAP_TLSV1_3 \
     203                CONFIG_EAP_PEAP \
     204                CONFIG_EAP_TTLS \
     205                CONFIG_EAP_GTC \
     206                CONFIG_EAP_PWD \
     207                CONFIG_WPS_ER \
     208                CONFIG_WPS_REG_DISABLE_OPEN \
     209                CONFIG_WPS_NFC \
     210                CONFIG_SAE_PK \
     211                CONFIG_DEBUG_SYSLOG_FACILITY \
     212                CONFIG_MESH \
     213                CONFIG_BGSCAN_SIMPLE \
     214                "
     215        for opt in $enables; do
     216                sed -i -e "s/^#$opt=y/$opt=y/" hostap/wpa_supplicant/.config
     217        done
     218        for opt in $disables; do
     219                sed -i -e "s/^$opt=y/#$opt=y/" hostap/wpa_supplicant/.config
     220        done
    166221        make -C hostap/wpa_supplicant/ clean
    167         CFLAGS="-I $OUTDIR/include/libnl3 -I $OUTDIR/include" \
    168                 LDFLAGS="-L $OUTDIR/lib/ --static" \
    169                 DESTDIR="$OUTDIR/sbin" \
    170                 BINDIR=/usr/sbin \
    171                 LIBS="-lnl-3 -lm -lpthread -lcrypto -lssl" \
    172                 CC=${CROSS_COMPILE}gcc \
    173                 make -j32 -C hostap/wpa_supplicant/ CONFIG_MESH=y
     222        PKG_CONFIG_PATH="$OUTDIR/lib/pkgconfig" \
     223        CFLAGS="-D_GNU_SOURCE -I $OUTDIR/include/libnl3 -I $OUTDIR/include -Wno-deprecated-declarations" \
     224        LDFLAGS="-L $OUTDIR/lib/ --static" \
     225        DESTDIR="$OUTDIR/sbin" \
     226        BINDIR=/usr/sbin \
     227        LIBS="-lnl-3 -lm -lpthread -lcrypto -lssl" \
     228        CC=${CROSS_COMPILE}gcc \
     229                make -j$(nproc) -C hostap/wpa_supplicant/
    174230}
    175231cp hostap/wpa_supplicant/{wpa_supplicant_s1g,wpa_cli_s1g,wpa_passphrase_s1g} $DESTDIR/usr/sbin/
    176232
    177 # hosapd
    178 [ -r hostap/hostapd/hostapd_s1g.bin ] || {
     233# hostapd
     234[ -r hostap/hostapd/hostapd_s1g ] || {
     235        echo "Building hostapd_s1g..."
    179236        cp hostap/hostapd/defconfig hostap/hostapd/.config
     237        disables=""
     238        enables="CONFIG_DRIVER_NL80211_QCA \
     239                CONFIG_EAP \
     240                CONFIG_EAP_MD5 \
     241                CONFIG_EAP_EKE \
     242                CONFIG_EAP_MSCHAPV2 \
     243                CONFIG_EAP_PEAP \
     244                CONFIG_EAP_TLS \
     245                CONFIG_EAP_TTLS \
     246                CONFIG_EAP_GTC \
     247                CONFIG_EAP_SIM \
     248                CONFIG_EAP_AKA \
     249                CONFIG_EAP_AKA_PRIME \
     250                CONFIG_EAP_PAX \
     251                CONFIG_EAP_PSK \
     252                CONFIG_EAP_PWD \
     253                CONFIG_EAP_SAKE \
     254                CONFIG_EAP_GPSK \
     255                CONFIG_EAP_GPSK_SHA256 \
     256                CONFIG_EAP_FAST \
     257                CONFIG_EAP_TEAP \
     258                CONFIG_WPS \
     259                CONFIG_WPS_UPNP \
     260                CONFIG_WPS_NFC \
     261                CONFIG_EAP_IKEV2 \
     262                CONFIG_EAP_TNC \
     263                CONFIG_RADIUS_SERVER \
     264                CONFIG_SAE \
     265                CONFIG_SAE_PK \
     266                CONFIG_TLSV11 \
     267                CONFIG_TLSV12 \
     268                "
     269        for opt in $enables; do
     270                sed -i -e "s/^#$opt=y/$opt=y/" hostap/hostapd/.config
     271        done
     272        for opt in $disables; do
     273                sed -i -e "s/^$opt=y/#$opt=y/" hostap/hostapd/.config
     274        done
    180275        make -C hostap/hostapd/ clean
    181         CFLAGS="-I $OUTDIR/include/libnl3 -I $OUTDIR/include" \
    182                 LDFLAGS="-L $OUTDIR/lib/ --static" \
    183                 DESTDIR="$OUTDIR/sbin" \
    184                 BINDIR=/usr/sbin \
    185                 LIBS="-lnl-3 -lm -lpthread -lcrypto -lssl" \
    186                 CC=${CROSS_COMPILE}gcc \
    187                 make -j32 -C hostap/hostapd/
     276        PKG_CONFIG_PATH="$OUTDIR/lib/pkgconfig" \
     277        CFLAGS="-D_GNU_SOURCE -I $OUTDIR/include/libnl3 -I $OUTDIR/include -Wno-deprecated-declarations" \
     278        LDFLAGS="-L $OUTDIR/lib/ --static" \
     279        DESTDIR="$OUTDIR/sbin" \
     280        BINDIR=/usr/sbin \
     281        LIBS="-lnl-3 -lm -lpthread -lcrypto -lssl" \
     282        CC=${CROSS_COMPILE}gcc \
     283                make -j$(nproc) -C hostap/hostapd/
    188284}
    189285cp hostap/hostapd/{hostapd_s1g,hostapd_cli_s1g} $DESTDIR/usr/sbin/
     
    191287# morse_cli
    192288[ -r morse_cli/morse_cli.bin ] || {
     289        echo "Building morse_cli..."
    193290        make -C morse_cli clean
    194         CFLAGS="-I $OUTDIR/include/libnl3 -I $OUTDIR/include" \
    195                 LDFLAGS="-L $OUTDIR/lib/ --static" \
    196                 CC=${CROSS_COMPILE}gcc \
     291        PKG_CONFIG_PATH="$OUTDIR/lib/pkgconfig" \
     292        CFLAGS="-I $OUTDIR/include/libnl3 -I $OUTDIR/include/libusb-1.0 -I $OUTDIR/include" \
     293        LDFLAGS="-L $OUTDIR/lib/ --static" \
     294        CC=${CROSS_COMPILE}gcc \
    197295        make \
    198296                CONFIG_MORSE_TRANS_NL80211=1 \
    199297                CONFIG_MORSE_STATIC=1 \
    200                 -j32 -C morse_cli
     298                -j$(nproc) -C morse_cli
    201299}
    202300cp morse_cli/morse_cli $DESTDIR/usr/sbin/
    203301
    204302# module parameters
    205 echo "options morse country=$COUNTRY enable_ext_xtal_init=1 bcf=bcf_sxsdmah_fem5p0.bin" > $DESTDIR/etc/modprobe.d/morse.conf
     303echo "options morse country=$COUNTRY enable_ext_xtal_init=1" > $DESTDIR/etc/modprobe.d/morse.conf
     304
    206305EOF
    207306chmod +x custom_kernel_mm6108
     
    235334# modprobe mac80211
    236335# modprobe dot11ah
    237 [   37.240328] dot11ah: module verification failed: signature and/or required key missing - tainting kernel
    238 [   37.251882] Morse Micro Dot11ah driver registration. Version 0-rel_1_12_4_2024_Jun_11-6-g63cd0768
    239 # modprobe morse bcf=bcf_default.bin country=US
    240 [   37.285877] morse micro driver registration. Version 0-rel_1_12_4_2024_Jun_11-6-g63cd0768
    241 [   37.299842] morse_sdio mmc0:0001:1: sdio new func 1 vendor 0x325b device 0x306 block 0x8/0x8
    242 [   37.308556] morse_sdio mmc0:0001:2: sdio new func 2 vendor 0x325b device 0x306 block 0x200/0x200
    243 [   37.317515] morse_of_probe MORSE_SDIO_RW_ADDR_BOUNDARY_MASK=0xffff0004
    244 [   37.324088] morse_sdio mmc0:0001:2: Device node not found
    245 [   37.329517] morse_sdio mmc0:0001:2: No pin configs found, using defaults...
    246 [   37.336503] morse_sdio mmc0:0001:2: mm_wake_gpio=3 mm_ps_async_gpio=7 mm_reset_gpio=5 mm_spi_irq_gpio=0
    247 [   37.357195] morse_sdio mmc0:0001:2: Loaded firmware from morse/mm6108.bin, size 433044, crc32 0x436ba524
    248 [   37.367241] morse_sdio mmc0:0001:2: Loaded BCF from morse/bcf_default.bin, size 1127, crc32 0xd9cd0bd3
    249 [   37.927510] morse_ieee80211_init tx_sk_pacing_shift=7
    250 [   37.932604] morse_ps_init async_gpio=7 irq=35
    251 [   37.937046] morse_ps_init request_irq irq=0 ret=35
    252 [   37.942141] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    253 [   37.956407] morse_sdio mmc0:0001:2: Driver loaded with kernel module parameters
    254 [   37.963794] morse_sdio mmc0:0001:2:     enable_1mhz_probes                      : Y
    255 [   37.971548] morse_sdio mmc0:0001:2:     enable_hw_scan                          : Y
    256 [   37.971558] morse_sdio mmc0:0001:2:     enable_pv1                              : N
    257 [   37.986917] morse_sdio mmc0:0001:2:     enable_page_slicing                     : N
    258 [   37.994630] morse_sdio mmc0:0001:2:     log_modparams_on_boot                   : Y
    259 [   38.002335] morse_sdio mmc0:0001:2:     enable_mcast_at_op_bw                   : N
    260 [   38.010038] morse_sdio mmc0:0001:2:     enable_mcast_whitelist                  : Y
    261 [   38.017716] morse_sdio mmc0:0001:2:     ocs_type                                : 1
    262 [   38.025382] morse_sdio mmc0:0001:2:     enable_auto_mpsw                        : Y
    263 [   38.033051] morse_sdio mmc0:0001:2:     duty_cycle_probe_retry_threshold        : 2500
    264 [   38.040979] morse_sdio mmc0:0001:2:     duty_cycle_mode                         : 0
    265 [   38.048646] morse_sdio mmc0:0001:2:     enable_auto_duty_cycle                  : Y
    266 [   38.056313] morse_sdio mmc0:0001:2:     dhcpc_lease_update_script               : /morse/scripts/dhcpc_update.sh
    267 [   38.066499] morse_sdio mmc0:0001:2:     enable_ibss_probe_filtering             : Y
    268 [   38.074165] morse_sdio mmc0:0001:2:     enable_dhcpc_offload                    : N
    269 [   38.081837] morse_sdio mmc0:0001:2:     enable_arp_offload                      : N
    270 [   38.089504] morse_sdio mmc0:0001:2:     enable_bcn_change_seq_monitor           : 0
    271 [   38.097173] morse_sdio mmc0:0001:2:     enable_cac                              : 0
    272 [   38.104842] morse_sdio mmc0:0001:2:     max_mc_frames                           : 10
    273 [   38.112599] morse_sdio mmc0:0001:2:     tx_max_power_mbm                        : 2200
    274 [   38.120529] morse_sdio mmc0:0001:2:     enable_twt                              : Y
    275 [   38.128193] morse_sdio mmc0:0001:2:     enable_mac80211_connection_monitor      : N
    276 [   38.135866] morse_sdio mmc0:0001:2:     enable_airtime_fairness                 : N
    277 [   38.143532] morse_sdio mmc0:0001:2:     enable_raw                              : Y
    278 [   38.151198] morse_sdio mmc0:0001:2:     max_aggregation_count                   : 0
    279 [   38.158863] morse_sdio mmc0:0001:2:     max_rate_tries                          : 1
    280 [   38.166528] morse_sdio mmc0:0001:2:     max_rates                               : 3
    281 [   38.174194] morse_sdio mmc0:0001:2:     enable_watchdog_reset                   : N
    282 [   38.181863] morse_sdio mmc0:0001:2:     watchdog_interval_secs                  : 30
    283 [   38.189615] morse_sdio mmc0:0001:2:     enable_watchdog                         : Y
    284 [   38.197283] morse_sdio mmc0:0001:2:     country                                 : US
    285 [   38.205040] morse_sdio mmc0:0001:2:     enable_cts_to_self                      : N
    286 [   38.212707] morse_sdio mmc0:0001:2:     enable_rts_8mhz                         : N
    287 [   38.220374] morse_sdio mmc0:0001:2:     enable_trav_pilot                       : Y
    288 [   38.228038] morse_sdio mmc0:0001:2:     enable_sgi_rc                           : Y
    289 [   38.235701] morse_sdio mmc0:0001:2:     enable_mbssid_ie                        : N
    290 [   38.243371] morse_sdio mmc0:0001:2:     virtual_sta_max                         : 0
    291 [   38.251035] morse_sdio mmc0:0001:2:     thin_lmac                               : 0
    292 [   38.258703] morse_sdio mmc0:0001:2:     enable_dynamic_ps_offload               : Y
    293 [   38.266373] morse_sdio mmc0:0001:2:     enable_ps                               : 2
    294 [   38.274038] morse_sdio mmc0:0001:2:     enable_subbands                         : 2
    295 [   38.281707] morse_sdio mmc0:0001:2:     enable_survey                           : Y
    296 [   38.289373] morse_sdio mmc0:0001:2:     mcs10_mode                              : 0
    297 [   38.297041] morse_sdio mmc0:0001:2:     mcs_mask                                : 1023
    298 [   38.304966] morse_sdio mmc0:0001:2:     no_hwcrypt                              : 0
    299 [   38.312630] morse_sdio mmc0:0001:2:     enable_ext_xtal_init                    : Y
    300 [   38.320294] morse_sdio mmc0:0001:2:     enable_otp_check                        : 1
    301 [   38.327962] morse_sdio mmc0:0001:2:     bcf                                     : bcf_default.bin
    302 [   38.336849] morse_sdio mmc0:0001:2:     serial                                  : default
    303 [   38.345040] morse_sdio mmc0:0001:2:     debug_mask                              : 8
    304 [   38.352708] morse_sdio mmc0:0001:2:     tx_status_lifetime_ms                   : 15000
    305 [   38.360723] morse_sdio mmc0:0001:2:     tx_queued_lifetime_ms                   : 1000
    306 [   38.368651] morse_sdio mmc0:0001:2:     max_txq_len                             : 32
    307 [   38.376403] morse_sdio mmc0:0001:2:     default_cmd_timeout_ms                  : 600
    308 [   38.384242] morse_sdio mmc0:0001:2:     enable_short_bcn_as_dtim_override       : -1
    309 [   38.392000] morse_sdio mmc0:0001:2:     fw_bin_file                             :
    310 [   38.399581] morse_sdio mmc0:0001:2:     sdio_reset_time                         : 400
    311 [   38.407420] morse_sdio mmc0:0001:2:     macaddr_suffix                          : 00:00:00
    312 [   38.415697] morse_sdio mmc0:0001:2:     macaddr_octet                           : 255
    313 [   38.423538] morse_sdio mmc0:0001:2:     max_total_vendor_ie_bytes               : 514
    314 [   38.431379] morse_sdio mmc0:0001:2:     coredump_include                        : 1
    315 [   38.439047] morse_sdio mmc0:0001:2:     coredump_method                         : 1
    316 [   38.446714] morse_sdio mmc0:0001:2:     enable_coredump                         : Y
    317 [   38.454381] morse_sdio mmc0:0001:2:     sdio_clk_debugfs                        :
    318 [   38.461968] morse_sdio mmc0:0001:2:     enable_mm_vendor_ie                     : Y
    319 [   38.475337] uaccess char driver major number is 237
    320 [   38.481173] morse_io: Device node '/dev/morse_io' created successfully
     336[    8.227402] Morse Micro Dot11ah driver registration. Version v1.16.4-gdec5bc215b88# modprobe morse bcf=bcf_default.bin country=US
     337[    8.859749] morse micro driver registration. Version v1.16.4-gdec5bc215b88
     338[    8.869267] morse_sdio mmc0:0001:1: sdio new func 1 vendor 0x325b device 0x306 block 0x8/0x8
     339[    8.884404] morse_sdio mmc0:0001:2: sdio new func 2 vendor 0x325b device 0x306 block 0x200/0x200
     340[    8.884548] morse_sdio mmc0:0001:2: morse_of_probe: Device node not found
     341[    8.893804] morse_sdio mmc0:0001:2: morse_of_probe: No pin configs found
     342[    9.471810] morse_sdio mmc0:0001:2: Loaded firmware from morse/mm6108.bin, size 459124, crc32 0x51d355b9
     343[    9.473234] morse_sdio mmc0:0001:2: Loaded BCF from morse/bcf_default.bin, size 763, crc32 0xb9a1e2de
     344[    9.590998] morse_sdio mmc0:0001:2: morse_mac_init: WARNING enable_ps modparam must only be used for testing - use iw set power_save
     345[    9.613859] morse_sdio mmc0:0001:2: Driver loaded with kernel module parameters
     346[    9.613883] morse_sdio mmc0:0001:2:     slow_clock_mode                         : 0
     347[    9.613889] morse_sdio mmc0:0001:2:     enable_1mhz_probes                      : Y
     348[    9.613895] morse_sdio mmc0:0001:2:     enable_sched_scan                       : Y
     349[    9.613901] morse_sdio mmc0:0001:2:     enable_hw_scan                          : Y
     350[    9.613906] morse_sdio mmc0:0001:2:     enable_pv1                              : N
     351[    9.613912] morse_sdio mmc0:0001:2:     enable_page_slicing                     : N
     352[    9.613918] morse_sdio mmc0:0001:2:     log_modparams_on_boot                   : Y
     353[    9.613923] morse_sdio mmc0:0001:2:     enable_mcast_rate_control               : N
     354[    9.613929] morse_sdio mmc0:0001:2:     enable_mcast_whitelist                  : Y
     355[    9.613935] morse_sdio mmc0:0001:2:     ocs_type                                : 1
     356[    9.613941] morse_sdio mmc0:0001:2:     enable_wiphy                            : N
     357[    9.613946] morse_sdio mmc0:0001:2:     enable_auto_mpsw                        : Y
     358[    9.613953] morse_sdio mmc0:0001:2:     duty_cycle_probe_retry_threshold        : 2500
     359[    9.613958] morse_sdio mmc0:0001:2:     duty_cycle_mode                         : 0
     360[    9.613964] morse_sdio mmc0:0001:2:     enable_auto_duty_cycle                  : Y
     361[    9.613970] morse_sdio mmc0:0001:2:     dhcpc_lease_update_script               : /morse/scripts/dhcpc_update.sh
     362[    9.613976] morse_sdio mmc0:0001:2:     enable_ibss_probe_filtering             : Y
     363[    9.613982] morse_sdio mmc0:0001:2:     enable_dhcpc_offload                    : N
     364[    9.613987] morse_sdio mmc0:0001:2:     enable_arp_offload                      : N
     365[    9.613993] morse_sdio mmc0:0001:2:     enable_bcn_change_seq_monitor           : N
     366[    9.613998] morse_sdio mmc0:0001:2:     enable_cac                              : N
     367[    9.614004] morse_sdio mmc0:0001:2:     max_mc_frames                           : 10
     368[    9.614010] morse_sdio mmc0:0001:2:     tx_max_power_mbm                        : 2200
     369[    9.614016] morse_sdio mmc0:0001:2:     enable_twt                              : Y
     370[    9.614022] morse_sdio mmc0:0001:2:     enable_mac80211_connection_monitor      : N
     371[    9.614027] morse_sdio mmc0:0001:2:     enable_airtime_fairness                 : N
     372[    9.614033] morse_sdio mmc0:0001:2:     enable_raw                              : Y
     373[    9.614038] morse_sdio mmc0:0001:2:     max_aggregation_count                   : 0
     374[    9.614044] morse_sdio mmc0:0001:2:     max_rate_tries                          : 1
     375[    9.614049] morse_sdio mmc0:0001:2:     max_rates                               : 4
     376[    9.614055] morse_sdio mmc0:0001:2:     enable_watchdog_reset                   : N
     377[    9.614061] morse_sdio mmc0:0001:2:     watchdog_interval_secs                  : 30
     378[    9.614067] morse_sdio mmc0:0001:2:     enable_watchdog                         : Y
     379[    9.614073] morse_sdio mmc0:0001:2:     country                                 : US
     380[    9.614078] morse_sdio mmc0:0001:2:     enable_cts_to_self                      : N
     381[    9.614084] morse_sdio mmc0:0001:2:     enable_rts_8mhz                         : N
     382[    9.614089] morse_sdio mmc0:0001:2:     enable_trav_pilot                       : Y
     383[    9.614095] morse_sdio mmc0:0001:2:     enable_sgi_rc                           : Y
     384[    9.614100] morse_sdio mmc0:0001:2:     enable_mbssid_ie                        : N
     385[    9.614106] morse_sdio mmc0:0001:2:     virtual_sta_max                         : 0
     386[    9.614112] morse_sdio mmc0:0001:2:     thin_lmac                               : N
     387[    9.614117] morse_sdio mmc0:0001:2:     enable_dynamic_ps_offload               : Y
     388[    9.614123] morse_sdio mmc0:0001:2:     enable_ps                               : 0
     389[    9.614129] morse_sdio mmc0:0001:2:     enable_subbands                         : 2
     390[    9.614134] morse_sdio mmc0:0001:2:     enable_survey                           : Y
     391[    9.614140] morse_sdio mmc0:0001:2:     mcs10_mode                              : 0
     392[    9.614146] morse_sdio mmc0:0001:2:     mcs_mask                                : 1023
     393[    9.614152] morse_sdio mmc0:0001:2:     no_hwcrypt                              : N
     394[    9.614157] morse_sdio mmc0:0001:2:     enable_ext_xtal_init                    : Y
     395[    9.614163] morse_sdio mmc0:0001:2:     enable_otp_check                        : Y
     396[    9.614169] morse_sdio mmc0:0001:2:     bcf                                     :
     397[    9.614175] morse_sdio mmc0:0001:2:     serial                                  : default
     398[    9.614180] morse_sdio mmc0:0001:2:     debug_mask                              : 8
     399[    9.614187] morse_sdio mmc0:0001:2:     tx_status_lifetime_ms                   : 15000
     400[    9.614192] morse_sdio mmc0:0001:2:     tx_queued_lifetime_ms                   : 1000
     401[    9.614198] morse_sdio mmc0:0001:2:     max_txq_len                             : 32
     402[    9.614204] morse_sdio mmc0:0001:2:     default_cmd_timeout_ms                  : 600
     403[    9.614210] morse_sdio mmc0:0001:2:     reattach_hw                             : N
     404[    9.614216] morse_sdio mmc0:0001:2:     hw_reload_after_stop                    : 5
     405[    9.614222] morse_sdio mmc0:0001:2:     enable_short_bcn_as_dtim_override       : -1
     406[    9.614228] morse_sdio mmc0:0001:2:     fw_bin_file                             :
     407[    9.614234] morse_sdio mmc0:0001:2:     sdio_reset_time                         : 400
     408[    9.614240] morse_sdio mmc0:0001:2:     macaddr_suffix                          : 00:00:00
     409[    9.614246] morse_sdio mmc0:0001:2:     macaddr_octet                           : 255
     410[    9.614252] morse_sdio mmc0:0001:2:     max_total_vendor_ie_bytes               : 514
     411[    9.614259] morse_sdio mmc0:0001:2:     coredump_include                        : 1
     412[    9.614265] morse_sdio mmc0:0001:2:     coredump_method                         : 1
     413[    9.614270] morse_sdio mmc0:0001:2:     enable_coredump                         : Y
     414[    9.614276] morse_sdio mmc0:0001:2:     sdio_clk_debugfs                        :
     415[    9.614282] morse_sdio mmc0:0001:2:     enable_mm_vendor_ie                     : Y
     416[    9.614287] morse_sdio mmc0:0001:2:     fixed_guard                             : 0
     417[    9.614293] morse_sdio mmc0:0001:2:     fixed_ss                                : 1
     418[    9.614299] morse_sdio mmc0:0001:2:     fixed_bw                                : 2
     419[    9.614305] morse_sdio mmc0:0001:2:     fixed_mcs                               : 4
     420[    9.614310] morse_sdio mmc0:0001:2:     enable_fixed_rate                       : N
     421[    9.615157] morse_io: Device node '/dev/morse_io' created successfully
     422[    9.616514] usbcore: registered new interface driver morse_usb
     423successfully
    321424# ls -l /sys/class/net/wlan0
    322425lrwxrwxrwx 1 root root 0 Nov 21 00:59 /sys/class/net/wlan0 -> ../../devices/platform/soc@0/30800000.bus/30b40000.mmc/mmc_host/mmc0/mmc0
    323426:0001/mmc0:0001:2/net/wlan0
     427# ls -l /sys/class/net/morse0
     428lrwxrwxrwx 1 root root 0 Jan 12 23:31 /sys/class/net/morse0 -> ../../devices/virtual/net/morse0
    324429}}}
    325430
     
    338443HW Version: MM6108-A1
    339444# morse_cli --interface=wlan0 version
    340 Morse_cli Version: rel_1_12_5_2024_Jul_25-4-g3541610
    341 FW Version: rel_1_12_4_2024_Jun_11
     445Morse_cli Version: rel_1_16_4_2025_Sep_18
     446FW Version: rel_1_16_4_2025_Sep_18
    342447# morse_cli channel
    343448Full Channel Information
     
    686791        ieee80211w=2
    687792        beacon_int=1000
     793        # 1.16.4 wpa_supplicant_s1g needs dtim_period=1
     794        dtim_period=1
    688795}
    689796EOF