Question about broadcasting a hotspot from the iMX8.
I’ve got the following command + error when I try to broadcast a network (connected to the device in an Apalis board over serial):
fio@maidbot-don-d8c0a6cf6807:~$ nmcli device wifi hotspot con-name host-device ssid Maidbot-4818 band bg password Nbjecpu5929
[ 35.870001] mwifiex_pcie 0000:01:00.0: info: successfully disconnected from 18:e8:29:65:68:02: reason code 3
[ 35.926006] +V3.3: disabling
[ 35.928894] +V3.3_AUDIO: disabling
[ 35.932346] +V1.8: disabling
[ 35.935261] pcie_switch: disabling
[ 36.066338] mwifiex_pcie 0000:01:00.0: CMD_RESP: cmd 0xf7 error, result=0x2
[ 36.077394] mwifiex_pcie 0000:01:00.0: CMD_RESP: cmd 0x112 error, result=0x1
[ 46.165971] mwifiex_pcie 0000:01:00.0: mwifiex_cmd_timeout_func: Timeout cmd id = 0xb0, act = 0x1
[ 46.174926] mwifiex_pcie 0000:01:00.0: num_data_h2c_failure = 0
[ 46.180873] mwifiex_pcie 0000:01:00.0: num_cmd_h2c_failure = 0
[ 46.186720] mwifiex_pcie 0000:01:00.0: is_cmd_timedout = 1
[ 46.192219] mwifiex_pcie 0000:01:00.0: num_tx_timeout = 0
[ 46.197632] mwifiex_pcie 0000:01:00.0: last_cmd_index = 2
[ 46.203046] mwifiex_pcie 0000:01:00.0: last_cmd_id: 5b 00 12 01 b0 00 28 00 28 00
[ 46.210557] mwifiex_pcie 0000:01:00.0: last_cmd_act: 01 00 01 00 01 00 13 00 13 00
[ 46.218142] mwifiex_pcie 0000:01:00.0: last_cmd_resp_index = 1
[ 46.223998] mwifiex_pcie 0000:01:00.0: last_cmd_resp_id: 5b 80 12 81 28 80 28 80 28 80
[ 46.231935] mwifiex_pcie 0000:01:00.0: last_event_index = 1
[ 46.237513] mwifiex_pcie 0000:01:00.0: last_event: 33 00 58 00 2b 00 1c 00 33 00
[ 46.244921] mwifiex_pcie 0000:01:00.0: data_sent=0 cmd_sent=1
[ 46.250678] mwifiex_pcie 0000:01:00.0: ps_mode=0 ps_state=0
[ 46.256311] mwifiex_pcie 0000:01:00.0: Failed to set AP configuration
[ 46.257377] mwifiex_pcie 0000:01:00.0: ===mwifiex driverinfo dump start===
[ 46.262799] mwifiex_pcie 0000:01:00.0: Failed to start AP
[ 46.269727] mwifiex_pcie 0000:01:00.0: info: MWIFIEX VERSION: mwifiex 1.0 (16.68.1.p195)
[ 46.283334] mwifiex_pcie 0000:01:00.0: PCIE register dump start
[ 46.289312] mwifiex_pcie 0000:01:00.0: pcie scratch register:
[ 46.295108] mwifiex_pcie 0000:01:00.0: reg:0xcf0, value=0xfedcba00
[ 46.295108] reg:0xcf8, value=0x18f0022
[ 46.295108] reg:0xcfc, value=0x1e1e207
[ 46.295108]
[ 46.310269] mwifiex_pcie 0000:01:00.0: PCIE register dump end
[ 46.310697] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
[ 46.316103] mwifiex_pcie 0000:01:00.0: ===mwifiex driverinfo dump end===
[ 46.322338] mwifiex_pcie 0000:01:00.0: deleting the crypto keys
[ 46.329046] mwifiex_pcie 0000:01:00.0: == mwifiex firmware dump start ==
[ 46.341880] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
[ 46.348172] mwifiex_pcie 0000:01:00.0: deleting the crypto keys
[ 46.354281] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
[ 46.360611] mwifiex_pcie 0000:01:00.0: deleting the crypto keys
[ 46.366647] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
[ 46.372947] mwifiex_pcie 0000:01:00.0: deleting the crypto keys
[ 46.379247] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
[ 46.385544] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
[ 46.391846] mwifiex_pcie 0000:01:00.0: wifi0: changing to 2 not supported
[ 46.398747] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
[ 46.405125] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
[ 46.411490] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
[ 46.417786] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
[ 46.429863] mwifiex_pcie 0000:01:00.0: wifi0: changing to 2 not supported
[ 46.438379] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
[ 46.444676] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
[ 46.451413] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
[ 46.457710] mwifiex_pcie 0000:01:00.0: PREP_CMD: FW is in bad state
I’ve also seen:
Error: Connection activation failed: (11) 802.1X supplicant took too long to authenticate.
But I’m not sure how to debug the issue from here. Wondering what else I could look at to figure out what the problem is? Is there an issue going through NetworkManager to broadcast an access point?