Multissid - 4.14.80-bpi-r2

Hello,

this is my first post. I tried configure multi ssid on soft from Frank-w kitchen.

Linux debian 4.14.80-bpi-r2-main #177 SMP Sun Nov 11 10:03:58 CET 2018 armv7l GNU/Linux

but second ssid won`t start below log after start wifi.sh

  • init combo device
  • Opened combo device
  • get device id : 30243
  • set device id : 30243
  • do module init: 30243
  • failed to init module
  • open device node succeed.(Node:/dev/stpwmt, fd:3)
  • chip id is 0x7623
  • chiId:0x7623, setting to property((null))
  • chiId:0x7623
  • run SOC chip flow
  • create pwr on thread ok
  • enter power on connsys flowpatch name pre-fix:ROMv2_lm_patch
  • fwVersion:0x8a00
  • /etc/firmware/ROMv2_lm_patch_1_0_hdr.bin
  • fw Ver in patch: 0x8a00
  • read patch info:0x22,0x00,0x06,0x00
  • gpatchnum = [2]
  • gdwonseq = [2]
  • /etc/firmware/ROMv2_lm_patch_1_1_hdr.bin
  • fw Ver in patch: 0x8a00
  • read patch info:0x21,0x00,0x0e,0xf0
  • gdwonseq = [1]
  • cmd(srh_patch) resp(ok)
  • 11: ap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
  • link/ether 02:c3:06:00:03:30 brd ff:ff:ff:ff:ff:ff
    
  • Done, all good, ready to lauch hostapd
  • Configuration file: /etc/hostapd/hostapd_ap0.conf
  • ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
  • Using interface ap0 with hwaddr 02:c3:06:00:03:30 and ssid “BANAN”
  • Failed to create interface ap0_0: -95 (Operation not supported)
  • Failed to add BSS (BSSID=02:c3:06:00:03:31)
  • Interface initialization failed
  • ap0: interface state COUNTRY_UPDATE->DISABLED
  • ap0: AP-DISABLED
  • ap0: interface state DISABLED->DISABLED
  • ap0: AP-DISABLED
  • hostapd_free_hapd_data: Interface ap0_0 wasn’t started
  • ap0: AP-DISABLED
  • hostapd_free_hapd_data: Interface ap0 wasn’t started
  • nl80211: deinit ifname=ap0 disabled_11b_rates=0

maybe somebody will help with it.

Internal card can open only one accesspoint,so only one ssid. For a secon one you need an additional wifo-card. I have a 7612 pcie-card to open a second ap (separate hostapd-config) on 5ghz.

THX Frank,

That limitation follows from software or hardware?

1 Like

Nice to see a datasheet for this chip…i’m not sure if it is sw/hw related but for multi-bssi you need to operate on different channels and only a few wifi-chips can do this…

But nice to know that hw supports btle…so at least this is driver-limitation

https://datasheet4u.com/datasheet-pdf-file/960584/MediaTek/MT6625L/1 maybe that will help

seems to be the same document as above…there is only described that BTLE is supported with frequency-ranges, but not how to activate it via code (i need the register-adresses and values + order for activation)

ftp://ftp.apertus.org/drivers/DOC/MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v3.3.pdf

this is internal manual from Mediatek. there is part about multi ssid but is nothing about Bluetooth.

i don’t know if the hardware supports multibssid…this document seems to be for another chip

btw. here is the driver for internal wifi: https://github.com/frank-w/BPI-R2-4.14/blob/5355237a18389b572124e4ad564f831da8d5c402/drivers/misc/mediatek/connectivity/common/conn_soc/linux/pub/wmt_chrdev_wifi.c#L317 maybe you can test a bit in debug-mode