Changes between Version 44 and Version 45 of expansion/gw16159


Ignore:
Timestamp:
07/29/2026 05:01:45 PM (2 hours ago)
Author:
Tim Harvey
Comment:

updated for mm6108-2.0.1 software release

Legend:

Unmodified
Added
Removed
Modified
  • expansion/gw16159

    v44 v45  
    9292 
    9393=== Driver
    94 The mm6108 on the GW16159 is supported by the open-source out-of-tree Linux kernel driver from !MorseMicro. This driver is included in the Gateworks Ubuntu pre-built images and the below instructions are only for if building is needed.
    95 
    96 Building with the Gateworks Venice BSP:
     94The mm6108 on the GW16159 is supported by the open-source out-of-tree Linux kernel driver from !MorseMicro. This driver is included in the Gateworks Ubuntu and OpenWrt pre-built images and the below instructions are only for if building is needed.
     95
     96Note that Gateworks has a [https://github.com/Gateworks/morse_driver/commits/mm6108-2.0.1-gateworks/ mm6108-2.0.1-gateworks] fork of the upstream !MorseMicro driver for the mm6108 that adds on top the following:
     97 * [https://github.com/Gateworks/morse_driver/commit/e42c404 .gitmodules: point mm_rate_control upstream]
     98 * [https://github.com/Gateworks/morse_driver/commit/1e008f2 wifi: morse: rename to mm6108_sdio]
     99 * [https://github.com/Gateworks/morse_driver/commit/dde327b wifi: morse: allow MORSE_VERSION to come from env]
     100 * [https://github.com/Gateworks/morse_driver/commit/60166fc wifi: morse: sdio: make gpios optional]
     101 * [https://github.com/Gateworks/morse_driver/commit/6cd8e2d wifi: morse: sdio: reduce ADMA below 64K for IMX SDHC]
     102
     103These patches are only needed if:
     104 - you want this driver to co-exist on a filesystem with the mm8108 driver (GW16167/GW16170)
     105 - you want to avoid a dt fragment that would otherwise provide power-gpios and reset-gpios as well as disable adma on the IMX SDHCI interface (sdhci-caps-mask = <0x0 0x00080000>)
     106
     107Building with the Gateworks Venice BSP (Ubuntu):
    97108  1. Add a 'custom_kernel_mm6108' script
    98109{{{#!bash
     
    100111#!/bin/bash -e
    101112
    102 DIR=$PWD/mm610x
     113MORSE_VER=mm6108-2.0.1
     114
     115DIR=$PWD/morse/$MORSE_VER
    103116OUTDIR=$DIR/out
    104117DESTDIR=$2
    105118
    106 MORSE_VER=1.16.4
    107119LIBNL_VER=libnl3_11_0
    108120OPENSSL_VER=openssl-3.5.0
     
    110122COUNTRY=US
    111123mkdir -p $DESTDIR/usr/sbin
    112 mkdir -p $DESTDIR/etc/modprobe.d
    113124mkdir -p $DIR
    114125cd $DIR
    115126
     127echo "Checking out code..."
    116128# get repos of what we will build
    117 [ -d morse_driver ] || git clone --recurse-submodules https://github.com/Gateworks/morse_driver.git -b 1.16.4-gateworks
    118 [ -d morse-firmware ] || git clone https://github.com/MorseMicro/morse-firmware.git -b 1.16
     129[ -d morse_driver ] || git clone --recurse-submodules https://github.com/Gateworks/morse_driver.git -b ${MORSE_VER}-gateworks
     130[ -d morse-firmware ] || git clone https://github.com/MorseMicro/morse-firmware.git -b $MORSE_VER
     131
     132echo "Building morse_driver..."
     133ARGS="KERNEL_SRC=$1 \
     134        MORSE_VERSION="${MORSE_VER}-gateworks-g$(git -C morse_driver rev-parse --verify HEAD 2>/dev/null | cut -c1-12)"
     135        CONFIG_MORSE_SDIO=y \
     136        CONFIG_MORSE_SDIO_ALIGNMENT=4 \
     137        CONFIG_MORSE_USER_ACCESS=y \
     138        CONFIG_MORSE_VENDOR_COMMAND=y \
     139        CONFIG_MORSE_POWERSAVE_MODE=0 \
     140        CONFIG_MORSE_COUNTRY=$COUNTRY \
     141        CONFIG_MORSE_RC=y \
     142        CONFIG_MORSE_MONITOR=y \
     143        CONFIG_MORSE_DEBUGFS=y \
     144        CONFIG_WLAN_VENDOR_MORSE=m" \
     145        KCFLAGS="-Wno-error=implicit-function-declaration"
     146make -j$(nproc) -C morse_driver $ARGS clean
     147make -j$(nproc) -C morse_driver $ARGS
     148make -j$(nproc) -C morse_driver $ARGS INSTALL_MOD_PATH=$2 modules_install
     149# module parameters
     150mkdir -p $DESTDIR/etc/modprobe.d
     151echo "options mm6108_sdio country=$COUNTRY enable_ext_xtal_init=1" > $DESTDIR/etc/modprobe.d/mm6108_sdio.conf
     152
     153# firmware:
     154echo "Copying firmware..."
     155mkdir -p $2/lib/firmware/morse
     156cp morse-firmware/firmware/mm6108.bin $2/lib/firmware/morse
     157# GW16159 mm6108/sdio
     158wget http://dev.gateworks.com/firmware/gw16159/1.16.4/bcf_default.bin -O $2/lib/firmware/morse/bcf_default.bin
     159
     160# userspace
    119161[ -d libnl ] || git clone https://github.com/thom311/libnl.git -b $LIBNL_VER
    120162[ -d openssl ] || git clone https://github.com/openssl/openssl.git -b $OPENSSL_VER
     
    123165[ -d libusb ] || git clone https://github.com/libusb/libusb.git -b $LIBUSB_VER
    124166
    125 echo "Building morse_driver..."
    126 ARGS="KERNEL_SRC=$1 \
    127         CONFIG_MORSE_SDIO=y \
    128         CONFIG_MORSE_USB=y \
    129         CONFIG_MORSE_USER_ACCESS=y \
    130         CONFIG_MORSE_VENDOR_COMMAND=y \
    131         CONFIG_MORSE_SDIO_ALIGNMENT=4 \
    132         CONFIG_MORSE_POWERSAVE_MODE=0 \
    133         CONFIG_MORSE_COUNTRY=$COUNTRY \
    134         CONFIG_MORSE_RC=y \
    135         CONFIG_MORSE_MONITOR=y \
    136         CONFIG_MORSE_DEBUGFS=y \
    137         CONFIG_WLAN_VENDOR_MORSE=m"
    138 make -C morse_driver $ARGS
    139 make -C morse_driver $ARGS INSTALL_MOD_PATH=$2 modules_install
    140 
    141 # firmware:
    142 #  - mm610x firmware
    143 #  - board configuration file (BCF) that provides driver with calibration constants and chip gpio config
    144 echo "Copying firmware..."
    145 mkdir -p $2/lib/firmware/morse
    146 # GW16159 sdmah/sdio/mm6108
    147 cp morse-firmware/firmware/mm6108.bin $2/lib/firmware/morse
    148 wget http://dev.gateworks.com/firmware/gw16159/$MORSE_VER/LICENSE -O $2/lib/firmware/morse/LICENSE
    149 wget "http://dev.gateworks.com/firmware/gw16159/$MORSE_VER/bcf_default.bin" -O $2/lib/firmware/morse/bcf_default.bin
    150 # GW16167 mm8108/usb
    151 cp morse-firmware/firmware/mm8108b2-rl.bin $2/lib/firmware/morse
    152 cp -P morse-firmware/bcf/morsemicro/* $2/lib/firmware/morse
    153 
    154167[ -d $OUTDIR/include/libnl3 ] || {
    155         echo "Building libnl..."
     168        echo "Building libnl..."
    156169        cd libnl
    157170        ./autogen.sh
    158171        ./configure --host=$ARCH CC=${CROSS_COMPILE}gcc --prefix=$OUTDIR --disable-shared
    159172        make clean
    160         make -j$(nproc)
     173        make -j$(nproc)
    161174        make install
    162175        cd ..
     
    164177
    165178[ -d $OUTDIR/include/openssl ] || {
    166         echo "Building openssl..."
     179        echo "Building openssl..."
    167180        cd openssl
    168181        ./Configure linux-generic32 no-shared no-dso no-async -DL_ENDIAN --prefix=$OUTDIR --openssldir=$OUTDIR
    169182        # needed no-async to build latest openssl against uclib
    170         make -j$(nproc) \
     183        make -j$(nproc) \
    171184                CC=${CROSS_COMPILE}gcc \
    172185                RANLIB=${CROSS_COMPILE}ranlib \
     
    181194# libusb
    182195[ -d $OUTDIR/include/libusb ] || {
    183         echo "Building libusb..."
    184         cd libusb
     196        echo "Building libusb..."
     197        cd libusb
    185198        ./autogen.sh --disable-udev
    186199        ./configure --host=$ARCH CC=${CROSS_COMPILE}gcc --prefix=$OUTDIR --disable-shared --enable-examples-build --disable-log --disable-udev
    187         make -j$(nproc) \
    188                 CFLAGS="-Wunused-parameter" \
     200        make -j$(nproc) \
     201                CFLAGS="-Wunused-parameter" \
    189202                CC=${CROSS_COMPILE}gcc \
    190203                RANLIB=${CROSS_COMPILE}ranlib \
     
    192205                MAKEDEPPROG=${CROSS_COMPILE}gcc \
    193206                PROCESSOR=ARM
    194         make install
    195         cd ..
     207        make install
     208        cd ..
    196209}
    197210
    198211# wpa_supplicant
    199212[ -r hostap/wpa_supplicant/wpa_supplicant_s1g ] || {
    200         echo "Building wpa_supplicant_s1g..."
    201         cp hostap/wpa_supplicant/defconfig hostap/wpa_supplicant/.config
    202         disables="CONFIG_BGSCAN_SIMPLE"
    203         enables="CONFIG_DRIVER_NL80211_QCA \
    204                 CONFIG_WPS_NFC CONFIG_SAE_PK \
    205                 CONFIG_EAP_MD5 \
    206                 CONFIG_EAP_MSCHAPV2 \
    207                 CONFIG_EAP_TLS \
    208                 CONFIG_EAP_TLSV1_3 \
    209                 CONFIG_EAP_PEAP \
    210                 CONFIG_EAP_TTLS \
    211                 CONFIG_EAP_GTC \
    212                 CONFIG_EAP_PWD \
    213                 CONFIG_WPS_ER \
    214                 CONFIG_WPS_REG_DISABLE_OPEN \
    215                 CONFIG_WPS_NFC \
    216                 CONFIG_SAE_PK \
    217                 CONFIG_DEBUG_SYSLOG_FACILITY \
    218                 CONFIG_MESH \
    219                 CONFIG_BGSCAN_SIMPLE \
    220                 "
    221         for opt in $enables; do
    222                 sed -i -e "s/^#$opt=y/$opt=y/" hostap/wpa_supplicant/.config
    223         done
    224         for opt in $disables; do
    225                 sed -i -e "s/^$opt=y/#$opt=y/" hostap/wpa_supplicant/.config
    226         done
    227         make -C hostap/wpa_supplicant/ clean
    228         PKG_CONFIG_PATH="$OUTDIR/lib/pkgconfig" \
    229         CFLAGS="-D_GNU_SOURCE -I $OUTDIR/include/libnl3 -I $OUTDIR/include -Wno-deprecated-declarations" \
    230         LDFLAGS="-L $OUTDIR/lib/ --static" \
    231         DESTDIR="$OUTDIR/sbin" \
    232         BINDIR=/usr/sbin \
    233         LIBS="-lnl-3 -lm -lpthread -lcrypto -lssl" \
    234         CC=${CROSS_COMPILE}gcc \
    235                 make -j$(nproc) -C hostap/wpa_supplicant/
     213        echo "Building wpa_supplicant_s1g..."
     214        cp hostap/wpa_supplicant/defconfig hostap/wpa_supplicant/.config
     215        disables="CONFIG_BGSCAN_SIMPLE"
     216        enables="CONFIG_DRIVER_NL80211_QCA \
     217                CONFIG_WPS_NFC CONFIG_SAE_PK \
     218                CONFIG_EAP_MD5 \
     219                CONFIG_EAP_MSCHAPV2 \
     220                CONFIG_EAP_TLS \
     221                CONFIG_EAP_TLSV1_3 \
     222                CONFIG_EAP_PEAP \
     223                CONFIG_EAP_TTLS \
     224                CONFIG_EAP_GTC \
     225                CONFIG_EAP_PWD \
     226                CONFIG_WPS_ER \
     227                CONFIG_WPS_REG_DISABLE_OPEN \
     228                CONFIG_WPS_NFC \
     229                CONFIG_SAE_PK \
     230                CONFIG_DEBUG_SYSLOG_FACILITY \
     231                CONFIG_MESH \
     232                CONFIG_BGSCAN_SIMPLE \
     233                "
     234        for opt in $enables; do
     235                sed -i -e "s/^#$opt=y/$opt=y/" hostap/wpa_supplicant/.config
     236        done
     237        for opt in $disables; do
     238                sed -i -e "s/^$opt=y/#$opt=y/" hostap/wpa_supplicant/.config
     239        done
     240        make -C hostap/wpa_supplicant/ clean
     241        PKG_CONFIG_PATH="$OUTDIR/lib/pkgconfig" \
     242        CFLAGS="-D_GNU_SOURCE \
     243                -Dexplicit_bzero\(p,l\)=memset\(\(p\),0,\(l\)\) \
     244                -I $PWD/morse_cli \
     245                -I $OUTDIR/include/libnl3 \
     246                -I $OUTDIR/include \
     247                -Wno-deprecated-declarations \
     248                -Wno-error=implicit-function-declaration" \
     249        LDFLAGS="-L $OUTDIR/lib/ --static" \
     250        DESTDIR="$OUTDIR/sbin" \
     251        BINDIR=/usr/sbin \
     252        LIBS="-lnl-3 -lm -lpthread -lcrypto -lssl" \
     253        CC=${CROSS_COMPILE}gcc \
     254                make -j$(nproc) -C hostap/wpa_supplicant/
    236255}
    237256cp hostap/wpa_supplicant/{wpa_supplicant_s1g,wpa_cli_s1g,wpa_passphrase_s1g} $DESTDIR/usr/sbin/
     
    239258# hostapd
    240259[ -r hostap/hostapd/hostapd_s1g ] || {
    241         echo "Building hostapd_s1g..."
    242         cp hostap/hostapd/defconfig hostap/hostapd/.config
    243         disables=""
    244         enables="CONFIG_DRIVER_NL80211_QCA \
    245                 CONFIG_EAP \
    246                 CONFIG_EAP_MD5 \
    247                 CONFIG_EAP_EKE \
    248                 CONFIG_EAP_MSCHAPV2 \
    249                 CONFIG_EAP_PEAP \
    250                 CONFIG_EAP_TLS \
    251                 CONFIG_EAP_TTLS \
    252                 CONFIG_EAP_GTC \
    253                 CONFIG_EAP_SIM \
    254                 CONFIG_EAP_AKA \
    255                 CONFIG_EAP_AKA_PRIME \
    256                 CONFIG_EAP_PAX \
    257                 CONFIG_EAP_PSK \
    258                 CONFIG_EAP_PWD \
    259                 CONFIG_EAP_SAKE \
    260                 CONFIG_EAP_GPSK \
    261                 CONFIG_EAP_GPSK_SHA256 \
    262                 CONFIG_EAP_FAST \
    263                 CONFIG_EAP_TEAP \
    264                 CONFIG_WPS \
    265                 CONFIG_WPS_UPNP \
    266                 CONFIG_WPS_NFC \
    267                 CONFIG_EAP_IKEV2 \
    268                 CONFIG_EAP_TNC \
    269                 CONFIG_RADIUS_SERVER \
    270                 CONFIG_SAE \
    271                 CONFIG_SAE_PK \
    272                 CONFIG_TLSV11 \
    273                 CONFIG_TLSV12 \
    274                 "
    275         for opt in $enables; do
    276                 sed -i -e "s/^#$opt=y/$opt=y/" hostap/hostapd/.config
    277         done
    278         for opt in $disables; do
    279                 sed -i -e "s/^$opt=y/#$opt=y/" hostap/hostapd/.config
    280         done
    281         make -C hostap/hostapd/ clean
    282         PKG_CONFIG_PATH="$OUTDIR/lib/pkgconfig" \
    283         CFLAGS="-D_GNU_SOURCE -I $OUTDIR/include/libnl3 -I $OUTDIR/include -Wno-deprecated-declarations" \
    284         LDFLAGS="-L $OUTDIR/lib/ --static" \
    285         DESTDIR="$OUTDIR/sbin" \
    286         BINDIR=/usr/sbin \
    287         LIBS="-lnl-3 -lm -lpthread -lcrypto -lssl" \
    288         CC=${CROSS_COMPILE}gcc \
    289                 make -j$(nproc) -C hostap/hostapd/
     260        echo "Building hostapd_s1g..."
     261        cp hostap/hostapd/defconfig hostap/hostapd/.config
     262        disables=""
     263        enables="CONFIG_DRIVER_NL80211_QCA \
     264                CONFIG_EAP \
     265                CONFIG_EAP_MD5 \
     266                CONFIG_EAP_EKE \
     267                CONFIG_EAP_MSCHAPV2 \
     268                CONFIG_EAP_PEAP \
     269                CONFIG_EAP_TLS \
     270                CONFIG_EAP_TTLS \
     271                CONFIG_EAP_GTC \
     272                CONFIG_EAP_SIM \
     273                CONFIG_EAP_AKA \
     274                CONFIG_EAP_AKA_PRIME \
     275                CONFIG_EAP_PAX \
     276                CONFIG_EAP_PSK \
     277                CONFIG_EAP_PWD \
     278                CONFIG_EAP_SAKE \
     279                CONFIG_EAP_GPSK \
     280                CONFIG_EAP_GPSK_SHA256 \
     281                CONFIG_EAP_FAST \
     282                CONFIG_EAP_TEAP \
     283                CONFIG_WPS \
     284                CONFIG_WPS_UPNP \
     285                CONFIG_WPS_NFC \
     286                CONFIG_EAP_IKEV2 \
     287                CONFIG_EAP_TNC \
     288                CONFIG_RADIUS_SERVER \
     289                CONFIG_SAE \
     290                CONFIG_SAE_PK \
     291                CONFIG_TLSV11 \
     292                CONFIG_TLSV12 \
     293                "
     294        for opt in $enables; do
     295                sed -i -e "s/^#$opt=y/$opt=y/" hostap/hostapd/.config
     296        done
     297        for opt in $disables; do
     298                sed -i -e "s/^$opt=y/#$opt=y/" hostap/hostapd/.config
     299        done
     300        make -C hostap/hostapd/ clean
     301        PKG_CONFIG_PATH="$OUTDIR/lib/pkgconfig" \
     302        CFLAGS="-D_GNU_SOURCE \
     303                -Dexplicit_bzero\(p,l\)=memset\(\(p\),0,\(l\)\) \
     304                -I $PWD/morse_cli \
     305                -I $OUTDIR/include/libnl3 \
     306                -I $OUTDIR/include \
     307                -Wno-deprecated-declarations \
     308                -Wno-error=implicit-function-declaration" \
     309        LDFLAGS="-L $OUTDIR/lib/ --static" \
     310        DESTDIR="$OUTDIR/sbin" \
     311        BINDIR=/usr/sbin \
     312        LIBS="-lnl-3 -lm -lpthread -lcrypto -lssl" \
     313        CC=${CROSS_COMPILE}gcc \
     314                make -j$(nproc) -C hostap/hostapd/
    290315}
    291316cp hostap/hostapd/{hostapd_s1g,hostapd_cli_s1g} $DESTDIR/usr/sbin/
     
    293318# morse_cli
    294319[ -r morse_cli/morse_cli.bin ] || {
    295         echo "Building morse_cli..."
    296         make -C morse_cli clean
    297         PKG_CONFIG_PATH="$OUTDIR/lib/pkgconfig" \
    298         CFLAGS="-I $OUTDIR/include/libnl3 -I $OUTDIR/include/libusb-1.0 -I $OUTDIR/include" \
    299         LDFLAGS="-L $OUTDIR/lib/ --static" \
    300         CC=${CROSS_COMPILE}gcc \
    301         make \
    302                 CONFIG_MORSE_TRANS_NL80211=1 \
    303                 CONFIG_MORSE_STATIC=1 \
    304                 -j$(nproc) -C morse_cli
     320        echo "Building morse_cli..."
     321        make -C morse_cli clean
     322        PKG_CONFIG_PATH="$OUTDIR/lib/pkgconfig" \
     323        CFLAGS="-I $OUTDIR/include/libnl3 -I $OUTDIR/include/libusb-1.0 -I $OUTDIR/include" \
     324        LDFLAGS="-L $OUTDIR/lib/ --static" \
     325        CC=${CROSS_COMPILE}gcc \
     326        make \
     327                CONFIG_MORSE_TRANS_NL80211=1 \
     328                CONFIG_MORSE_STATIC=1 \
     329                -j$(nproc) -C morse_cli
    305330}
    306331cp morse_cli/morse_cli $DESTDIR/usr/sbin/
    307 
    308 # module parameters
    309 echo "options morse country=$COUNTRY enable_ext_xtal_init=1" > $DESTDIR/etc/modprobe.d/morse.conf
    310332
    311333EOF
     
    339361# modprobe mac80211
    340362# modprobe dot11ah
    341 [    8.227402] Morse Micro Dot11ah driver registration. Version v1.16.4-gdec5bc215b88# modprobe morse country=US enable_ext_xtal_init=1
    342 [    8.859749] morse micro driver registration. Version v1.16.4-gdec5bc215b88
    343 [    8.869267] morse_sdio mmc0:0001:1: sdio new func 1 vendor 0x325b device 0x306 block 0x8/0x8
    344 [    8.884404] morse_sdio mmc0:0001:2: sdio new func 2 vendor 0x325b device 0x306 block 0x200/0x200
    345 [    8.884548] morse_sdio mmc0:0001:2: morse_of_probe: Device node not found
    346 [    8.893804] morse_sdio mmc0:0001:2: morse_of_probe: No pin configs found
    347 [    9.471810] morse_sdio mmc0:0001:2: Loaded firmware from morse/mm6108.bin, size 459124, crc32 0x51d355b9
    348 [    9.473234] morse_sdio mmc0:0001:2: Loaded BCF from morse/bcf_default.bin, size 763, crc32 0xb9a1e2de
    349 [    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
    350 [    9.613859] morse_sdio mmc0:0001:2: Driver loaded with kernel module parameters
    351 [    9.613883] morse_sdio mmc0:0001:2:     slow_clock_mode                         : 0
    352 [    9.613889] morse_sdio mmc0:0001:2:     enable_1mhz_probes                      : Y
    353 [    9.613895] morse_sdio mmc0:0001:2:     enable_sched_scan                       : Y
    354 [    9.613901] morse_sdio mmc0:0001:2:     enable_hw_scan                          : Y
    355 [    9.613906] morse_sdio mmc0:0001:2:     enable_pv1                              : N
    356 [    9.613912] morse_sdio mmc0:0001:2:     enable_page_slicing                     : N
    357 [    9.613918] morse_sdio mmc0:0001:2:     log_modparams_on_boot                   : Y
    358 [    9.613923] morse_sdio mmc0:0001:2:     enable_mcast_rate_control               : N
    359 [    9.613929] morse_sdio mmc0:0001:2:     enable_mcast_whitelist                  : Y
    360 [    9.613935] morse_sdio mmc0:0001:2:     ocs_type                                : 1
    361 [    9.613941] morse_sdio mmc0:0001:2:     enable_wiphy                            : N
    362 [    9.613946] morse_sdio mmc0:0001:2:     enable_auto_mpsw                        : Y
    363 [    9.613953] morse_sdio mmc0:0001:2:     duty_cycle_probe_retry_threshold        : 2500
    364 [    9.613958] morse_sdio mmc0:0001:2:     duty_cycle_mode                         : 0
    365 [    9.613964] morse_sdio mmc0:0001:2:     enable_auto_duty_cycle                  : Y
    366 [    9.613970] morse_sdio mmc0:0001:2:     dhcpc_lease_update_script               : /morse/scripts/dhcpc_update.sh
    367 [    9.613976] morse_sdio mmc0:0001:2:     enable_ibss_probe_filtering             : Y
    368 [    9.613982] morse_sdio mmc0:0001:2:     enable_dhcpc_offload                    : N
    369 [    9.613987] morse_sdio mmc0:0001:2:     enable_arp_offload                      : N
    370 [    9.613993] morse_sdio mmc0:0001:2:     enable_bcn_change_seq_monitor           : N
    371 [    9.613998] morse_sdio mmc0:0001:2:     enable_cac                              : N
    372 [    9.614004] morse_sdio mmc0:0001:2:     max_mc_frames                           : 10
    373 [    9.614010] morse_sdio mmc0:0001:2:     tx_max_power_mbm                        : 2200
    374 [    9.614016] morse_sdio mmc0:0001:2:     enable_twt                              : Y
    375 [    9.614022] morse_sdio mmc0:0001:2:     enable_mac80211_connection_monitor      : N
    376 [    9.614027] morse_sdio mmc0:0001:2:     enable_airtime_fairness                 : N
    377 [    9.614033] morse_sdio mmc0:0001:2:     enable_raw                              : Y
    378 [    9.614038] morse_sdio mmc0:0001:2:     max_aggregation_count                   : 0
    379 [    9.614044] morse_sdio mmc0:0001:2:     max_rate_tries                          : 1
    380 [    9.614049] morse_sdio mmc0:0001:2:     max_rates                               : 4
    381 [    9.614055] morse_sdio mmc0:0001:2:     enable_watchdog_reset                   : N
    382 [    9.614061] morse_sdio mmc0:0001:2:     watchdog_interval_secs                  : 30
    383 [    9.614067] morse_sdio mmc0:0001:2:     enable_watchdog                         : Y
    384 [    9.614073] morse_sdio mmc0:0001:2:     country                                 : US
    385 [    9.614078] morse_sdio mmc0:0001:2:     enable_cts_to_self                      : N
    386 [    9.614084] morse_sdio mmc0:0001:2:     enable_rts_8mhz                         : N
    387 [    9.614089] morse_sdio mmc0:0001:2:     enable_trav_pilot                       : Y
    388 [    9.614095] morse_sdio mmc0:0001:2:     enable_sgi_rc                           : Y
    389 [    9.614100] morse_sdio mmc0:0001:2:     enable_mbssid_ie                        : N
    390 [    9.614106] morse_sdio mmc0:0001:2:     virtual_sta_max                         : 0
    391 [    9.614112] morse_sdio mmc0:0001:2:     thin_lmac                               : N
    392 [    9.614117] morse_sdio mmc0:0001:2:     enable_dynamic_ps_offload               : Y
    393 [    9.614123] morse_sdio mmc0:0001:2:     enable_ps                               : 0
    394 [    9.614129] morse_sdio mmc0:0001:2:     enable_subbands                         : 2
    395 [    9.614134] morse_sdio mmc0:0001:2:     enable_survey                           : Y
    396 [    9.614140] morse_sdio mmc0:0001:2:     mcs10_mode                              : 0
    397 [    9.614146] morse_sdio mmc0:0001:2:     mcs_mask                                : 1023
    398 [    9.614152] morse_sdio mmc0:0001:2:     no_hwcrypt                              : N
    399 [    9.614157] morse_sdio mmc0:0001:2:     enable_ext_xtal_init                    : Y
    400 [    9.614163] morse_sdio mmc0:0001:2:     enable_otp_check                        : Y
    401 [    9.614169] morse_sdio mmc0:0001:2:     bcf                                     :
    402 [    9.614175] morse_sdio mmc0:0001:2:     serial                                  : default
    403 [    9.614180] morse_sdio mmc0:0001:2:     debug_mask                              : 8
    404 [    9.614187] morse_sdio mmc0:0001:2:     tx_status_lifetime_ms                   : 15000
    405 [    9.614192] morse_sdio mmc0:0001:2:     tx_queued_lifetime_ms                   : 1000
    406 [    9.614198] morse_sdio mmc0:0001:2:     max_txq_len                             : 32
    407 [    9.614204] morse_sdio mmc0:0001:2:     default_cmd_timeout_ms                  : 600
    408 [    9.614210] morse_sdio mmc0:0001:2:     reattach_hw                             : N
    409 [    9.614216] morse_sdio mmc0:0001:2:     hw_reload_after_stop                    : 5
    410 [    9.614222] morse_sdio mmc0:0001:2:     enable_short_bcn_as_dtim_override       : -1
    411 [    9.614228] morse_sdio mmc0:0001:2:     fw_bin_file                             :
    412 [    9.614234] morse_sdio mmc0:0001:2:     sdio_reset_time                         : 400
    413 [    9.614240] morse_sdio mmc0:0001:2:     macaddr_suffix                          : 00:00:00
    414 [    9.614246] morse_sdio mmc0:0001:2:     macaddr_octet                           : 255
    415 [    9.614252] morse_sdio mmc0:0001:2:     max_total_vendor_ie_bytes               : 514
    416 [    9.614259] morse_sdio mmc0:0001:2:     coredump_include                        : 1
    417 [    9.614265] morse_sdio mmc0:0001:2:     coredump_method                         : 1
    418 [    9.614270] morse_sdio mmc0:0001:2:     enable_coredump                         : Y
    419 [    9.614276] morse_sdio mmc0:0001:2:     sdio_clk_debugfs                        :
    420 [    9.614282] morse_sdio mmc0:0001:2:     enable_mm_vendor_ie                     : Y
    421 [    9.614287] morse_sdio mmc0:0001:2:     fixed_guard                             : 0
    422 [    9.614293] morse_sdio mmc0:0001:2:     fixed_ss                                : 1
    423 [    9.614299] morse_sdio mmc0:0001:2:     fixed_bw                                : 2
    424 [    9.614305] morse_sdio mmc0:0001:2:     fixed_mcs                               : 4
    425 [    9.614310] morse_sdio mmc0:0001:2:     enable_fixed_rate                       : N
    426 [    9.615157] morse_io: Device node '/dev/morse_io' created successfully
    427 [    9.616514] usbcore: registered new interface driver morse_usb
    428 successfully
     363morse micro driver registration. Version mm6108-2.0.1-gateworks-ge42c40463921
     364morse_sdio mmc2:0001:1: sdio new func 1 vendor 0x325b device 0x306 block 0x8/0x8
     365morse_sdio mmc2:0001:2: sdio new func 2 vendor 0x325b device 0x306 block 0x200/0x200
     366morse_sdio mmc2:0001:2: morse_of_probe: Device node not found
     367morse_sdio mmc2:0001:2: morse_of_probe: No pin configs found
     368morse_sdio mmc2:0001:2: Loaded firmware from morse/mm6108.bin, size 468304, crc32 0xbe7b5c8f
     369morse_sdio mmc2:0001:2: Loaded BCF from morse/bcf_default.bin, size 763, crc32 0xb9a1e2de
     370morse_sdio mmc2:0001:2: morse_mac_init: WARNING enable_ps modparam must only be used for testing - use iw set power_save
     371morse_sdio mmc2:0001:2: Driver loaded with kernel module parameters
     372morse_sdio mmc2:0001:2:     enable_pre_assoc_ps                     : N
     373morse_sdio mmc2:0001:2:     slow_clock_mode                         : 0
     374morse_sdio mmc2:0001:2:     enable_1mhz_probes                      : Y
     375morse_sdio mmc2:0001:2:     enable_sched_scan                       : Y
     376morse_sdio mmc2:0001:2:     enable_hw_scan                          : Y
     377morse_sdio mmc2:0001:2:     enable_pv1                              : N
     378morse_sdio mmc2:0001:2:     enable_page_slicing                     : N
     379morse_sdio mmc2:0001:2:     log_modparams_on_boot                   : Y
     380morse_sdio mmc2:0001:2:     enable_mcast_rate_control               : N
     381morse_sdio mmc2:0001:2:     enable_mcast_whitelist                  : Y
     382morse_sdio mmc2:0001:2:     ocs_type                                : 1
     383morse_sdio mmc2:0001:2:     enable_wiphy                            : N
     384morse_sdio mmc2:0001:2:     enable_auto_mpsw                        : Y
     385morse_sdio mmc2:0001:2:     duty_cycle_probe_retry_threshold        : 2500
     386morse_sdio mmc2:0001:2:     duty_cycle_mode                         : 0
     387morse_sdio mmc2:0001:2:     enable_auto_duty_cycle                  : Y
     388morse_sdio mmc2:0001:2:     dhcpc_lease_update_script               : /morse/scripts/dhcpc_update.sh
     389morse_sdio mmc2:0001:2:     enable_ibss_probe_filtering             : Y
     390morse_sdio mmc2:0001:2:     enable_dhcpc_offload                    : N
     391morse_sdio mmc2:0001:2:     enable_arp_offload                      : N
     392morse_sdio mmc2:0001:2:     enable_bcn_change_seq_monitor           : N
     393morse_sdio mmc2:0001:2:     enable_cac                              : N
     394morse_sdio mmc2:0001:2:     max_mc_frames                           : -1
     395morse_sdio mmc2:0001:2:     tx_max_power_mbm                        : 0
     396morse_sdio mmc2:0001:2:     enable_twt                              : Y
     397morse_sdio mmc2:0001:2:     enable_mac80211_connection_monitor      : N
     398morse_sdio mmc2:0001:2:     enable_airtime_fairness                 : 0
     399morse_sdio mmc2:0001:2:     max_aggregation_count                   : 0
     400morse_sdio mmc2:0001:2:     max_rate_tries                          : 1
     401morse_sdio mmc2:0001:2:     max_rates                               : 4
     402morse_sdio mmc2:0001:2:     watchdog_interval_secs                  : 30
     403morse_sdio mmc2:0001:2:     enable_watchdog                         : Y
     404morse_sdio mmc2:0001:2:     country                                 : US
     405morse_sdio mmc2:0001:2:     enable_cts_to_self                      : N
     406morse_sdio mmc2:0001:2:     enable_rts_8mhz                         : N
     407morse_sdio mmc2:0001:2:     enable_trav_pilot                       : Y
     408morse_sdio mmc2:0001:2:     enable_sgi_rc                           : Y
     409morse_sdio mmc2:0001:2:     enable_mbssid_ie                        : N
     410morse_sdio mmc2:0001:2:     virtual_sta_max                         : 0
     411morse_sdio mmc2:0001:2:     thin_lmac                               : N
     412morse_sdio mmc2:0001:2:     enable_subbands                         : 2
     413morse_sdio mmc2:0001:2:     enable_survey                           : Y
     414morse_sdio mmc2:0001:2:     mcs10_mode                              : 0
     415morse_sdio mmc2:0001:2:     mcs_mask                                : 1023
     416morse_sdio mmc2:0001:2:     no_hwcrypt                              : N
     417morse_sdio mmc2:0001:2:     enable_ext_xtal_init                    : Y
     418morse_sdio mmc2:0001:2:     enable_otp_check                        : Y
     419morse_sdio mmc2:0001:2:     bcf                                     :
     420morse_sdio mmc2:0001:2:     serial                                  : default
     421morse_sdio mmc2:0001:2:     debug_mask                              : 8
     422morse_sdio mmc2:0001:2:     tx_status_lifetime_ms                   : 15000
     423morse_sdio mmc2:0001:2:     tx_queued_lifetime_ms                   : 1000
     424morse_sdio mmc2:0001:2:     skbq_refill_margin                      : 8
     425morse_sdio mmc2:0001:2:     max_txq_len                             : 32
     426morse_sdio mmc2:0001:2:     default_cmd_timeout_ms                  : 600
     427morse_sdio mmc2:0001:2:     reattach_hw                             : N
     428morse_sdio mmc2:0001:2:     hw_reload_after_stop                    : 5
     429morse_sdio mmc2:0001:2:     enable_short_bcn_as_dtim_override       : -1
     430morse_sdio mmc2:0001:2:     rsn_beacon_mode                         : 0
     431morse_sdio mmc2:0001:2:     enable_dynamic_ps_offload               : Y
     432morse_sdio mmc2:0001:2:     enable_ps                               : 0
     433morse_sdio mmc2:0001:2:     fw_bin_file                             :
     434morse_sdio mmc2:0001:2:     sdio_reset_time                         : 400
     435morse_sdio mmc2:0001:2:     macaddr_suffix                          : 00:00:00
     436morse_sdio mmc2:0001:2:     macaddr_octet                           : 255
     437morse_sdio mmc2:0001:2:     max_total_vendor_ie_bytes               : 514
     438morse_sdio mmc2:0001:2:     hw_scan_replay_limit                    : 0
     439morse_sdio mmc2:0001:2:     hw_scan_prim_deconstruct                : 0
     440morse_sdio mmc2:0001:2:     coredump_include                        : 1
     441morse_sdio mmc2:0001:2:     coredump_method                         : 1
     442morse_sdio mmc2:0001:2:     enable_coredump                         : Y
     443morse_sdio mmc2:0001:2:     enable_hw_leds                          : Y
     444morse_sdio mmc2:0001:2:     enable_scan_result_cache                : N
     445morse_sdio mmc2:0001:2:     sdio_clk_debugfs                        :
     446morse_sdio mmc2:0001:2:     enable_mm_vendor_ie                     : Y
     447morse_sdio mmc2:0001:2:     fixed_guard                             : 0
     448morse_sdio mmc2:0001:2:     fixed_ss                                : 1
     449morse_sdio mmc2:0001:2:     fixed_bw                                : 2
     450morse_sdio mmc2:0001:2:     fixed_mcs                               : 4
     451morse_sdio mmc2:0001:2:     enable_fixed_rate                       : N
     452morse_io: Device node '/dev/morse_io' created successfully
    429453# ls -l /sys/class/net/wlan0
    430454lrwxrwxrwx 1 root root 0 Nov 21 00:59 /sys/class/net/wlan0 -> ../../devices/platform/soc@0/30800000.bus/30b40000.mmc/mmc_host/mmc0/mmc0
     
    797821        ieee80211w=2
    798822        beacon_int=1000
    799         # 1.16.4 wpa_supplicant_s1g needs dtim_period=1
    800823        dtim_period=1
    801824}