athp
athp copied to clipboard
ifconfig wlan0 create wlandev athp0 wlanmode hostap steals console
If you run the following commands: kldload athp_QCA988X_hw2.0_board.bin kldload athp_QCA988X_hw2.0_firmware-2.bin kldload athp_QCA988X_hw2.0_firmware-3.bin kldload athp_QCA988X_hw2.0_firmware-4.bin kldload athp_QCA988X_hw2.0_firmware-5.bin kldload if_athp
ifconfig wlan0 create wlandev athp0 wlanmode hostap
if_athp will steal the console, it never detaches.
ctrl + t OUTPUT: load: 1.01 cmd: ifconfig 51338 [running] 9.25r 0.01u 4.87s 29% 152196k
hi,
hit ctrl-T too when this happens, let's see where it's stuck
-a
On Sun, 4 Nov 2018 at 20:36, Geramy [email protected] wrote:
If you run the following commands: kldload athp_QCA988X_hw2.0_board.bin kldload athp_QCA988X_hw2.0_firmware-2.bin kldload athp_QCA988X_hw2.0_firmware-3.bin kldload athp_QCA988X_hw2.0_firmware-4.bin kldload athp_QCA988X_hw2.0_firmware-5.bin kldload if_athp
if_athp will steal the console, it never detaches.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/erikarn/athp/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGl7eBK77yqlNmd-djS8YwQ-hZ3mrU2ks5ur8BcgaJpZM4YNwoG .
load: 1.01 cmd: ifconfig 51338 [running] 9.25r 0.01u 4.87s 29% 152196k
ps. not kldload atm, need to change configs to not get it to load on start.
Here is a better output after the work of moving the beacon buffer out of the create interface function.
root@OPNsense:~ # ifconfig wlan0 create wlandev athp0 wlanmode hostap athp0: ath10k_start: called; state=0 athp0: ath10k_start: state=1 athp0: ath10k_download_cal_dt: TODO: device tree check athp0: ath10k_wmi_event_service_ready_work: TODO: EEPROM code: 0x00000000 athp0: ath10k_regd_update: TODO: finish setup/chanlist! athp0: ath10k_start: finished; state is now 1 athp0: athp_update_slot: TODO; need to update! athp0: athp_node_alloc: called; mac=b4:82:c5:65:08:00 athp0: athp_vap_create: adding interface athp0: ath10k_add_interface: called athp0: ath10k_add_interface: TODO: initialise vap supported bitrates? athp0: ath10k_add_interface: TODO: see if peer_create mac is BSSID or MY MAC athp0: athp_vap_create: interface add done: vdev id=1 athp_getradiocaps: called; maxchans=1228 athp0: athp_getradiocaps: enabling HT/VHT rates athp_getradiocaps: done; maxchans=1228, nchans=278 PKTLOG [254234] WAL_DBGID_TX_AC_BUFFER_SET ( 0x3, 0x1e, 0x460, 0x460, 0 ) PKTLOG [254234] WAL_DBGID_TX_AC_BUFFER_SET ( 0x12, 0x1e, 0x460, 0x460, 0 ) PKTLOG [254234] WAL_DBGID_TX_AC_BUFFER_SET ( 0x45, 0x1e, 0x460, 0x460, 0 ) PKTLOG [254234] WAL_DBGID_TX_AC_BUFFER_SET ( 0x67, 0x1e, 0x460, 0x460, 0 ) PKTLOG [254239] WHAL_ERROR_RECV_STOPPCU ( 0x110298a, 0x3 ) PKTLOG [254239] WHAL_ERROR_RESET_PM ( ) PKTLOG [254246] WAL_DBGID_DEV_RESET ( 0x1, 0x1, 0x1 ) PKTLOG [254294] WAL_DBGID_DEV_RESET ( 0x1, 0x1, 0x1 ) PKTLOG [254294] ANI_DBGID_ENABLE ( 0x1 ) PKTLOG [254301] WAL_DBGID_DEV_RESET ( 0x1, 0x1, 0x1 ) load: 1.03 cmd: ifconfig 69541 [running] 60.44r 0.02u 26.99s 46% 1068148k load: 1.03 cmd: ifconfig 69541 [bo_wwait] 60.90r 0.02u 27.20s 48% 1076292k load: 1.03 cmd: ifconfig 69541 [bo_wwait] 61.23r 0.02u 27.35s 45% 1082320k load: 1.03 cmd: ifconfig 69541 [running] 61.52r 0.02u 27.49s 46% 1087580k load: 1.03 cmd: ifconfig 69541 [bo_wwait] 61.78r 0.02u 27.62s 48% 1092644k