-
Notifications
You must be signed in to change notification settings - Fork 705
openwifi porting problem. #457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi |
I'm tring to debug it. error: root@analog:~/openwifi# ./inject_80211/inject_80211 -m n -r 0 -n 10 -s 64 sdr0 |
already sent.
builit my own image based on 1.4 and sdrpi hdl-hw project.
change hdl xdc.for my custome board. with vivado 2022 tool.
UBUNUTU,2022.2. sdrpi branch
ad9363/zynq020 designed by myself.
no reach this step
I want to port openwifi to my own board.
I use sdrpi branch.
And I can successful run openwifi. (wgd.sh.foden.sh),it can detect sdr0. but my phone cannot detect wifi.
I'm pretty sure my xdc file is ok because the config work well in plutosdr fw.
here is the infomation in linux.
I add ILA to monitor adc data for openwifi, looks like the adc clock is wrong
It is strange because I don't see where this clock come from.
the ila is driven by fclk3 of zynq ,250MHZ.
dmesg result:
[ 0.242169] zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
[ 0.247292] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 25, base_baud = 6249999) is a xuartps
[ 0.255233] console [ttyPS0] enabled
[ 0.259675] bootconsole [earlycon0] disabled
[ 0.323296] SCSI subsystem initialized
[ 0.325929] usbcore: registered new interface driver usbfs
[ 0.330147] usbcore: registered new interface driver hub
[ 0.335750] usbcore: registered new device driver usb
[ 0.340085] media: Linux media interface: v0.10
[ 0.343669] Linux video capture interface: v2.00
[ 0.347194] pps_core: LinuxPPS API ver. 1 registered
[ 0.350850] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.358892] PTP clock support registered
[ 0.362326] FPGA manager framework
[ 0.364932] Advanced Linux Sound Architecture Driver Initialized.
[ 0.370861] clocksource: Switched to clocksource arm_global_timer
[ 0.390640] NET: Registered protocol family 2
[ 0.394859] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.400638] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.406365] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.411650] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.416194] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.421366] NET: Registered protocol family 1
[ 0.424803] hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.
[ 0.431609] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 0.441045] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.449886] io scheduler noop registered
[ 0.452550] io scheduler deadline registered
[ 0.455550] io scheduler cfq registered (default)
[ 0.458942] io scheduler mq-deadline registered
[ 0.462309] io scheduler kyber registered
[ 0.467775] dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
[ 0.474123] dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
[ 0.492668] brd: module loaded
[ 0.502953] loop: module loaded
[ 0.509551] m25p80 spi1.0: found w25q128, expected n25q256a
[ 0.523471] m25p80 spi1.0: w25q128 (16384 Kbytes)
[ 0.526900] 6 ofpart partitions found on MTD device spi1.0
[ 0.531161] Creating 6 MTD partitions on "spi1.0":
[ 0.534646] 0x000000000000-0x0000000e0000 : "qspi-fsbl-uboot"
[ 0.540074] 0x0000000e0000-0x000000100000 : "qspi-uboot-env"
[ 0.545534] 0x000000100000-0x000000600000 : "qspi-linux"
[ 0.550577] 0x000000600000-0x000000620000 : "qspi-device-tree"
[ 0.556224] 0x000000620000-0x000001300000 : "qspi-rootfs"
[ 0.560308] mtd: partition "qspi-rootfs" extends beyond the end of device "spi1.0" -- size truncated to 0x9e0000
[ 0.570274] 0x000001300000-0x000002000000 : "qspi-bitstream"
[ 0.574947] mtd: partition "qspi-bitstream" is out of reach -- disabled
[ 0.581525] MACsec IEEE 802.1AE
[ 0.584018] libphy: Fixed MDIO Bus: probed
[ 0.588316] tun: Universal TUN/TAP device driver, 1.6
[ 0.594274] libphy: MACB_mii_bus: probed
[ 0.597686] macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 28 (00:0a:35:00:01:22)
[ 0.606481] RTL8211E Gigabit Ethernet e000b000.ethernet-ffffffff:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=e000b000.ethernet-ffffffff:00, irq=POLL)
[ 0.621321] macb e000c000.ethernet: invalid hw address, using random
[ 0.627217] libphy: MACB_mii_bus: probed
[ 0.630508] macb e000c000.ethernet eth1: Cadence GEM rev 0x00020118 at 0xe000c000 irq 29 (1a:7c:e0:e7:5a:ba)
[ 0.639225] Generic PHY e000c000.ethernet-ffffffff:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=e000c000.ethernet-ffffffff:00, irq=POLL)
[ 0.652036] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.657648] usbcore: registered new interface driver usb-storage
[ 0.662615] usbcore: registered new interface driver usbserial
[ 0.667334] usbcore: registered new interface driver usbserial_generic
[ 0.672728] usbserial: USB Serial support registered for generic
[ 0.677578] usbcore: registered new interface driver ftdi_sio
[ 0.682161] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 0.688495] chipidea-usb2 e0002000.usb: e0002000.usb supply vbus not found, using dummy regulator
[ 0.753393] ci_hdrc ci_hdrc.0: unable to init phy: -110
[ 0.757333] ci_hdrc: probe of ci_hdrc.0 failed with error -110
[ 0.763856] i2c /dev entries driver
[ 0.792914] IR NEC protocol handler initialized
[ 0.796133] IR RC5(x/sz) protocol handler initialized
[ 0.799864] IR RC6 protocol handler initialized
[ 0.803381] IR JVC protocol handler initialized
[ 0.806600] IR Sony protocol handler initialized
[ 0.809898] IR SANYO protocol handler initialized
[ 0.813355] IR Sharp protocol handler initialized
[ 0.816747] IR MCE Keyboard/mouse protocol handler initialized
[ 0.821342] IR XMP protocol handler initialized
[ 0.824974] usbcore: registered new interface driver uvcvideo
[ 0.829402] USB Video Class driver (1.1.1)
[ 0.832350] gspca_main: v2.14.0 registered
[ 0.836356] cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at e08f7000 with timeout 10s
[ 0.844151] Xilinx Zynq CpuIdle Driver started
[ 0.848036] sdhci: Secure Digital Host Controller Interface driver
[ 0.853125] sdhci: Copyright(c) Pierre Ossman
[ 0.856163] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.920876] mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA
[ 0.930799] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.936021] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.951761] usbcore: registered new interface driver usbhid
[ 0.956027] usbhid: USB HID core driver
[ 0.961591] ad7291: probe of 0-0020 failed with error -5
[ 0.966512] ad7291: probe of 0-002c failed with error -5
[ 0.980141] mmc0: new high speed SDHC card at address 0001
[ 0.988791] mmcblk0: mmc0:0001 SD16G 29.3 GiB
[ 0.992307] fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
[ 0.994305] Netfilter messages via NETLINK v0.30.
[ 0.994316] nfnl_acct: registering with nfnetlink.
[ 0.994418] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[ 0.994550] ctnetlink v0.93: registering with nfnetlink.
[ 1.004682] nf_tables: (c) 2007-2009 Patrick McHardy kaber@trash.net
[ 1.004695] nf_tables_compat: (c) 2012 Pablo Neira Ayuso pablo@netfilter.org
[ 1.004866] xt_time: kernel timezone is -0000
[ 1.005234] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.036970] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[ 1.042148] mmcblk0: p1 p2 p3
[ 1.044918] arp_tables: arp_tables: (C) 2002 David S. Miller
[ 1.049599] NET: Registered protocol family 17
[ 1.052963] Registering SWP/SWPB emulation handler
[ 1.061941] hctosys: unable to open rtc device (rtc0)
[ 1.065979] ALSA device list:
[ 1.067634] No soundcards found.
[ 1.758433] EXT4-fs (mmcblk0p2): recovery complete
[ 1.763054] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.769880] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.777121] devtmpfs: mounted
[ 1.780079] Freeing unused kernel memory: 1024K
[ 2.341376] systemd[1]: System time before build time, advancing clock.
[ 2.380187] systemd[1]: Failed to find module 'autofs4'
[ 2.808478] NET: Registered protocol family 10
[ 2.822858] Segment Routing with IPv6
[ 2.834886] cgroup: cgroup2: unknown option "memory_recursiveprot"
[ 2.861571] systemd[1]: systemd 247.3-7+rpi1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[ 2.883534] systemd[1]: Detected architecture arm.
[ 2.932054] systemd[1]: Set hostname to .
[ 4.922672] systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
[ 5.292982] systemd[1]: Queued start job for default target Graphical Interface.
[ 5.301578] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[ 5.312699] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[ 5.320600] systemd[1]: Created slice system-getty.slice.
[ 5.361736] systemd[1]: Created slice system-modprobe.slice.
[ 5.401661] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 5.441635] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 5.481382] systemd[1]: Created slice User and Session Slice.
[ 5.521457] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 5.561414] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[ 5.573129] systemd[1]: Reached target Slices.
[ 5.601218] systemd[1]: Reached target Swap.
[ 5.632022] systemd[1]: Listening on Syslog Socket.
[ 5.661709] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 5.701395] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 5.765790] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[ 5.773578] systemd[1]: Listening on Journal Socket (/dev/log).
[ 5.811978] systemd[1]: Listening on Journal Socket.
[ 5.849530] systemd[1]: Listening on udev Control Socket.
[ 5.881673] systemd[1]: Listening on udev Kernel Socket.
[ 5.921814] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 5.929284] systemd[1]: Condition check resulted in POSIX Message Queue File System being skipped.
[ 5.939893] systemd[1]: Mounting RPC Pipe File System...
[ 5.973874] systemd[1]: Mounting Kernel Debug File System...
[ 6.001640] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[ 6.009062] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[ 6.021909] systemd[1]: Starting Restore / save the current clock...
[ 6.065335] systemd[1]: Starting Set the console keyboard layout...
[ 6.079716] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
[ 6.104729] systemd[1]: Starting Load Kernel Module configfs...
[ 6.134207] systemd[1]: Starting Load Kernel Module drm...
[ 6.173640] systemd[1]: Starting Load Kernel Module fuse...
[ 6.205152] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 6.218419] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[ 6.232223] systemd[1]: Starting Journal Service...
[ 6.276768] systemd[1]: Starting Load Kernel Modules...
[ 6.333958] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 6.381741] systemd[1]: Starting Coldplug All udev Devices...
[ 6.419122] systemd[1]: run-rpc_pipefs.mount: Mount process exited, code=exited, status=32/n/a
[ 6.491014] systemd[1]: run-rpc_pipefs.mount: Failed with result 'exit-code'.
[ 6.542147] systemd[1]: Failed to mount RPC Pipe File System.
[ 6.611073] systemd[1]: Dependency failed for RPC security service for NFS server.
[ 6.643272] systemd[1]: rpc-svcgssd.service: Job rpc-svcgssd.service/start failed with result 'dependency'.
[ 6.691425] systemd[1]: Dependency failed for RPC security service for NFS client and server.
[ 6.721113] systemd[1]: rpc-gssd.service: Job rpc-gssd.service/start failed with result 'dependency'.
[ 6.772061] systemd[1]: Started Journal Service.
[ 7.270135] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 7.579805] systemd-journald[965]: Received client request to flush runtime journal.
[ 7.592453] systemd-journald[965]: File /var/log/journal/9a314adf4f7b4c659ada5035385c9b39/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 10.245771] random: crng init done
[ 11.312493] Registered mathworks_ip class
[ 11.341117] mwipcore 43c00000.mwipcore: Dev memory resource found at 43c00000 0000FFFF.
[ 11.341163] mwipcore 43c00000.mwipcore: 'mwipcore' device not found, creating
[ 11.341175] mwipcore 43c00000.mwipcore: Char dev region registered: major num:242
[ 11.341183] mwipcore 43c00000.mwipcore: 'mwipcore' device created
[ 14.990081] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 15.082501] 8021q: 802.1Q VLAN Support v1.8
[ 16.107744] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SS
[ 16.157838] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 19.161274] macb e000b000.ethernet eth0: link up (100/Full)
[ 19.161319] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 19.705701] systemd-journald[965]: File /var/log/journal/9a314adf4f7b4c659ada5035385c9b39/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 584.032632] ad9361 spi0.0: ad9361_probe : enter (ad9361)
[ 584.562000] ad9361 spi0.0: ad9361_probe : AD936x Rev 2 successfully initialized
[ 584.667482] xilinx-vdma 80400000.dma: Xilinx AXI DMA Engine Driver Probed!!
[ 584.668172] xilinx-vdma 80410000.dma: Xilinx AXI DMA Engine Driver Probed!!
[ 586.988560] cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (10.03.\x00) at 0x79020000 mapped to 0xe25f0000, probed ADC AD9361 as MASTER
[ 587.011874] cf_axi_dds 79024000.cf-ad9361-dds-core-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.01.b) at 0x79024000 mapped to 0xe0881000, probed DDS AD9361
[ 602.614640] tx_intf: loading out-of-tree module taints kernel.
[ 602.615439] sdr,tx_intf dev_probe match!
[ 602.615506] sdr,tx_intf dev_probe io start 0x83c0ffff83c00000 end 0x200dfbb5e9c name (null) flags 0x00000000 desc 0xffffffed
[ 602.615511] sdr,tx_intf dev_probe base_addr 0xe0b80000
[ 602.615515] sdr,tx_intf dev_probe tx_intf_driver_api_inst 0xbf058284
[ 602.615519] sdr,tx_intf dev_probe tx_intf_api 0xbf058284
[ 602.615523] sdr,tx_intf dev_probe succeed!
[ 602.615527] sdr,tx_intf hw_init mode 7
[ 602.615541] sdr,tx_intf hw_init mode TX_INTF_BW_20MHZ_AT_N_10MHZ_ANT1
[ 602.615547] sdr,tx_intf hw_init err 0
[ 602.761502] sdr,rx_intf dev_probe match!
[ 602.761569] sdr,rx_intf dev_probe io start 0x83c20000 end 0x83c2ffff name /fpga-axi@0/rx_intf@83c20000 flags 0x00000200 desc 0x00000000
[ 602.761574] sdr,rx_intf dev_probe base_addr 0xe0bc0000
[ 602.761579] sdr,rx_intf dev_probe rx_intf_driver_api_inst 0xbf069284
[ 602.761583] sdr,rx_intf dev_probe rx_intf_api 0xbf069284
[ 602.761586] sdr,rx_intf dev_probe succeed!
[ 602.761590] sdr,rx_intf hw_init mode 2
[ 602.761605] sdr,rx_intf hw_init mode DDC_BW_20MHZ_AT_0MHZ
[ 602.761613] sdr,rx_intf hw_init err 0
[ 602.889613] sdr,openofdm_tx dev_probe match!
[ 602.889681] sdr,openofdm_tx dev_probe io start 0x83c10000 end 0x83c1ffff name /fpga-axi@0/openofdm_tx@83c10000 flags 0x00000200 desc 0x00000000
[ 602.889686] sdr,openofdm_tx dev_probe base_addr 0xe0bf0000
[ 602.889691] sdr,openofdm_tx dev_probe openofdm_tx_driver_api_inst 0xbf09e284
[ 602.889695] sdr,openofdm_tx dev_probe openofdm_tx_api 0xbf09e284
[ 602.889699] sdr,openofdm_tx dev_probe succeed!
[ 602.889703] sdr,openofdm_tx hw_init mode 1
[ 602.889706] sdr,openofdm_tx hw_init mode OPENOFDM_TX_NORMAL
[ 602.889720] sdr,openofdm_tx hw_init err 0
[ 603.027616] sdr,openofdm_rx dev_probe match!
[ 603.027685] sdr,openofdm_rx dev_probe io start 0x83c30000 end 0x83c3ffff name /fpga-axi@0/openofdm_rx@83c30000 flags 0x00000200 desc 0x00000000
[ 603.027691] sdr,openofdm_rx dev_probe base_addr 0xe0c20000
[ 603.027695] sdr,openofdm_rx dev_probe openofdm_rx_driver_api_inst 0xbf193284
[ 603.027700] sdr,openofdm_rx dev_probe openofdm_rx_api 0xbf193284
[ 603.027703] sdr,openofdm_rx dev_probe succeed!
[ 603.027707] sdr,openofdm_rx hw_init mode 1
[ 603.027711] sdr,openofdm_rx hw_init mode OPENOFDM_RX_NORMAL
[ 603.027717] sdr,openofdm_rx hw_init input: power_thres 124 dc_running_sum_th 64 min_plateau 100
[ 603.027732] sdr,openofdm_rx hw_init err 0
[ 603.168154] sdr,xpu dev_probe match!
[ 603.168225] sdr,xpu dev_probe io start 0x83c40000 end 0x83c4ffff name /fpga-axi@0/xpu@83c40000 flags 0x00000200 desc 0x00000000
[ 603.168230] sdr,xpu dev_probe base_addr 0xe0c80000
[ 603.168235] sdr,xpu dev_probe xpu_driver_api_inst 0xbf199284
[ 603.168239] sdr,xpu dev_probe xpu_api 0xbf199284
[ 603.168242] sdr,xpu dev_probe reset tsf timer
[ 603.384121] sdr,xpu dev_probe XPU_REG_TSF_RUNTIME_VAL_LOW_read 1 72724 215868us
[ 603.384129] sdr,xpu dev_probe succeed!
[ 603.384134] sdr,xpu hw_init mode 1
[ 603.384152] sdr,xpu hw_init mode XPU_NORMAL
[ 603.384162] sdr,xpu hw_init err 0
[ 603.532944] sdr: no symbol version for openofdm_rx_api
[ 603.540605] sdr,sdr openwifi_dev_probe: match!
[ 603.540652] sdr,sdr custom_match_spi_dev ad9361-phy ad9361-phy 1
[ 603.540661] sdr,sdr bus_find_device ad9361-phy: ad9361. driver_data pointer d5557c10
[ 603.540666] sdr,sdr ad9361_spi_to_phy ad9361-phy: ad9361
[ 603.540698] sdr,sdr custom_match_platform_dev 79024000.cf-ad9361-dds-core-lpc
[ 603.540705] sdr,sdr openwifi_dev_probe: cf-ad9361-dds-core-lpc dds_st->version 00090162 chip_info->name AD9361
[ 603.540711] sdr,sdr openwifi_dev_probe: cf_axi_dds_datasel DATA_SEL_DMA
[ 603.540718] sdr,sdr openwifi_dev_probe: priv->rf_bw == 40000000Hz. bool for 20000000 0, 40000000 1
[ 603.540725] sdr,sdr openwifi_dev_probe: test_mode 0 AGGR_ENABLE 0 TX_OFFSET_TUNING_ENABLE 0 init_tx_att 0
[ 603.540730] sdr,sdr openwifi_set_antenna: tx_ant1 rx_ant1
[ 603.551192] sdr,sdr openwifi_set_antenna: ad9361_set_tx_atten ant0 0 OK
[ 603.551370] sdr,sdr openwifi_set_antenna: ad9361_set_tx_atten ant1 89750 OK
[ 603.551511] sdr,sdr openwifi_set_antenna: ad9361_ctrl_outs_setup en_mask 0xff index 0x16
[ 603.551520] sdr,sdr openwifi_set_antenna: TX_INTF_REG_ANT_SEL_write value 1
[ 603.551527] sdr,sdr openwifi_set_antenna: RX_INTF_REG_ANT_SEL_write value 0
[ 603.551585] sdr,sdr openwifi_dev_probe: ad9361_spi_read REG_CTRL_OUTPUT_POINTER 0x16
[ 603.551637] sdr,sdr openwifi_dev_probe: ad9361_spi_read REG_CTRL_OUTPUT_ENABLE 0xff
[ 603.551686] sdr,sdr openwifi_dev_probe: rfkill radio on
[ 603.551699] sdr,sdr openwifi_dev_probe: band_2GHz.n_channels 13 n_bitrates 12 band_5GHz.n_channels 11 n_bitrates 12
[ 603.551721] sdr,sdr openwifi_dev_probe: mac_addr 66:55:44:33:22:23
[ 603.551934] sdr,sdr openwifi_get_antenna: tx_ant1 rx_ant1
[ 603.551942] sdr,sdr openwifi_get_antenna: drv tx cfg 2 offset 0 drv rx cfg 2 offset 0 drv ctrl_out sel 16
[ 603.551950] sdr,sdr openwifi_get_antenna: fpga tx sel 1 rx sel 0
[ 603.557919] sdr,sdr openwifi_get_antenna: rf tx att0 0 tx att1 89750 ctrl_out sel 16
[ 603.703538] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 603.713805] sdr,sdr openwifi_dev_probe: ieee80211_register_hw 0
[ 603.713828] sdr,sdr openwifi_dev_probe: sysfs_create_bin_file 0
[ 603.713839] sdr,sdr openwifi_dev_probe: sysfs_create_group tx_intf_attribute_group 0
[ 603.713963] sdr,sdr openwifi_dev_probe: sysfs_create_group stat_attribute_group 0
[ 603.713977] ieee80211 phy0: hwaddr 665544332223, ZYNQ + ad9361
[ 603.714059] sdr,sdr openwifi_rfkill_init: wireless switch is on
[ 603.747127] sdr,sdr fpga-axi@0:sdr sdr0: renamed from wlan0
[ 1014.773841] sdr,sdr openwifi_set_antenna: tx_ant1 rx_ant1
[ 1014.774100] sdr,sdr openwifi_set_antenna: ad9361_set_tx_atten ant0 0 OK
[ 1014.774322] sdr,sdr openwifi_set_antenna: ad9361_set_tx_atten ant1 89750 OK
[ 1014.774403] sdr,sdr openwifi_set_antenna: ad9361_ctrl_outs_setup en_mask 0xff index 0x16
[ 1014.774412] sdr,sdr openwifi_set_antenna: TX_INTF_REG_ANT_SEL_write value 1
[ 1014.774418] sdr,sdr openwifi_set_antenna: RX_INTF_REG_ANT_SEL_write value 0
[ 1014.774479] sdr,sdr openwifi_start: rfkill radio on
[ 1014.774485] sdr,rx_intf hw_init mode 2
[ 1014.774499] sdr,rx_intf hw_init mode DDC_BW_20MHZ_AT_0MHZ
[ 1014.774507] sdr,rx_intf hw_init err 0
[ 1014.774511] sdr,tx_intf hw_init mode 2
[ 1014.774525] sdr,tx_intf hw_init mode TX_INTF_BW_20MHZ_AT_0MHZ_ANT0
[ 1014.774532] sdr,tx_intf hw_init err 0
[ 1014.774538] sdr,openofdm_tx hw_init mode 1
[ 1014.774541] sdr,openofdm_tx hw_init mode OPENOFDM_TX_NORMAL
[ 1014.774555] sdr,openofdm_tx hw_init err 0
[ 1014.774559] sdr,openofdm_rx hw_init mode 1
[ 1014.774563] sdr,openofdm_rx hw_init mode OPENOFDM_RX_NORMAL
[ 1014.774569] sdr,openofdm_rx hw_init input: power_thres 124 dc_running_sum_th 64 min_plateau 100
[ 1014.774583] sdr,openofdm_rx hw_init err 0
[ 1014.774587] sdr,xpu hw_init mode 1
[ 1014.774604] sdr,xpu hw_init mode XPU_NORMAL
[ 1014.774613] sdr,xpu hw_init err 0
[ 1014.774620] sdr,sdr openwifi_start: rx_intf_cfg 2 openofdm_rx_cfg 1 tx_intf_cfg 2 openofdm_tx_cfg 1
[ 1014.774625] sdr,sdr openwifi_start: rx_freq_offset_to_lo_MHz 0 tx_freq_offset_to_lo_MHz 0
[ 1014.775122] sdr,sdr openwifi_start: DMA channel setup successfully. priv->rx_chan 0xd54e9640 priv->tx_chan 0xd54a7440
[ 1014.775554] sdr,sdr openwifi_init_rx_ring: NUM_RX_BD 64 RX_BD_BUF_SIZE 2048 pkt existing flag are cleared!
[ 1014.775680] sdr,sdr openwifi_start: irq_rx 50
[ 1014.775727] sdr,sdr openwifi_start: irq_tx 52
[ 1014.775735] sdr,sdr openwifi_start: normal end
[ 1014.775743] sdr,sdr openwifi_add_interface start. vif for loop result 0
[ 1014.775752] sdr,sdr openwifi_add_interface end with vif idx 0 addr 66:55:44:33:22:23
[ 1014.775759] sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_ERP_CTS_PROT 0
[ 1014.775765] sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_ERP_SLOT 8 BSS_CHANGED_ERP_PREAMBLE 4 short slot 0
[ 1014.775804] sdr,sdr openwifi_conf_tx: [queue 0], aifs: 2, cw_min: 15, cw_max: 1023, txop: 0, aifs and txop ignored
[ 1014.775813] sdr,sdr openwifi_conf_tx: [queue 1], aifs: 2, cw_min: 15, cw_max: 1023, txop: 0, aifs and txop ignored
[ 1014.775821] sdr,sdr openwifi_conf_tx: [queue 2], aifs: 2, cw_min: 15, cw_max: 1023, txop: 0, aifs and txop ignored
[ 1014.775828] sdr,sdr openwifi_conf_tx: [queue 3], aifs: 2, cw_min: 15, cw_max: 1023, txop: 0, aifs and txop ignored
[ 1015.034379] sdr,sdr ad9361_tx_calibration 2412MHz tx_quad_cal duration 199099 us
[ 1015.034396] sdr,sdr openwifi_rf_rx_update_after_tuning 2412MHz rssi_correction 153 fpga_lbt_th 150(-78dBm) auto 150 static 306 receiver th 138(-84dBm)
[ 1015.034402] sdr,sdr ad9361_rf_set_channel 2412MHz done
[ 1015.034431] sdr,sdr openwifi_prepare_multicast
[ 1015.034445] sdr,sdr openwifi_configure_filter MON 0 M_BCN 1 BST0 1 BST1 1 UST 1 PB_RQ 0 PS_PL 1 O_BSS 0 CTL 0 BCN_PRP 0 PCP_FL 0 FCS_FL 0 ALL_MUT 1
[ 1015.036708] sdr,sdr openwifi_prepare_multicast
[ 1015.036727] sdr,sdr openwifi_configure_filter MON 0 M_BCN 1 BST0 1 BST1 1 UST 1 PB_RQ 0 PS_PL 1 O_BSS 0 CTL 0 BCN_PRP 0 PCP_FL 0 FCS_FL 0 ALL_MUT 1
[ 1015.036827] IPv6: ADDRCONF(NETDEV_UP): sdr0: link is not ready
[ 1015.037500] sdr,sdr openwifi_prepare_multicast
[ 1015.037518] sdr,sdr openwifi_configure_filter MON 0 M_BCN 1 BST0 1 BST1 1 UST 1 PB_RQ 0 PS_PL 1 O_BSS 0 CTL 0 BCN_PRP 0 PCP_FL 0 FCS_FL 0 ALL_MUT 1
[ 1021.263126] sdr,sdr openwifi_get_antenna: tx_ant1 rx_ant1
[ 1021.263138] sdr,sdr openwifi_get_antenna: drv tx cfg 2 offset 0 drv rx cfg 2 offset 0 drv ctrl_out sel 16
[ 1021.263147] sdr,sdr openwifi_get_antenna: fpga tx sel 1 rx sel 0
[ 1021.272264] sdr,sdr openwifi_get_antenna: rf tx att0 0 tx att1 89750 ctrl_out sel 16
[ 1021.273047] sdr,sdr openwifi_prepare_multicast
[ 1021.273065] sdr,sdr openwifi_configure_filter MON 0 M_BCN 1 BST0 1 BST1 1 UST 1 PB_RQ 0 PS_PL 1 O_BSS 0 CTL 0 BCN_PRP 0 PCP_FL 0 FCS_FL 0 ALL_MUT 1
[ 1021.273146] sdr,sdr openwifi_remove_interface vif idx 0
[ 1021.273536] sdr,sdr openwifi_stop: rfkill radio off
[ 1021.273584] sdr,sdr openwifi_stop: dropped channel dma2chan1
[ 1021.273635] sdr,sdr openwifi_stop: dropped channel dma1chan0
[ 1021.273672] sdr,sdr openwifi_stop
[ 1021.277419] sdr,sdr openwifi_set_antenna: tx_ant1 rx_ant1
[ 1021.279518] sdr,sdr openwifi_set_antenna: ad9361_set_tx_atten ant0 0 OK
[ 1021.284206] sdr,sdr openwifi_set_antenna: ad9361_set_tx_atten ant1 89750 OK
[ 1021.284283] sdr,sdr openwifi_set_antenna: ad9361_ctrl_outs_setup en_mask 0xff index 0x16
[ 1021.284291] sdr,sdr openwifi_set_antenna: TX_INTF_REG_ANT_SEL_write value 1
[ 1021.284298] sdr,sdr openwifi_set_antenna: RX_INTF_REG_ANT_SEL_write value 0
[ 1021.284346] sdr,sdr openwifi_start: rfkill radio on
[ 1021.284352] sdr,rx_intf hw_init mode 2
[ 1021.284367] sdr,rx_intf hw_init mode DDC_BW_20MHZ_AT_0MHZ
[ 1021.284375] sdr,rx_intf hw_init err 0
[ 1021.284379] sdr,tx_intf hw_init mode 2
[ 1021.284393] sdr,tx_intf hw_init mode TX_INTF_BW_20MHZ_AT_0MHZ_ANT0
[ 1021.284400] sdr,tx_intf hw_init err 0
[ 1021.284405] sdr,openofdm_tx hw_init mode 1
[ 1021.284408] sdr,openofdm_tx hw_init mode OPENOFDM_TX_NORMAL
[ 1021.284422] sdr,openofdm_tx hw_init err 0
[ 1021.284427] sdr,openofdm_rx hw_init mode 1
[ 1021.284431] sdr,openofdm_rx hw_init mode OPENOFDM_RX_NORMAL
[ 1021.284437] sdr,openofdm_rx hw_init input: power_thres 124 dc_running_sum_th 64 min_plateau 100
[ 1021.284451] sdr,openofdm_rx hw_init err 0
[ 1021.284455] sdr,xpu hw_init mode 1
[ 1021.284472] sdr,xpu hw_init mode XPU_NORMAL
[ 1021.284481] sdr,xpu hw_init err 0
[ 1021.284488] sdr,sdr openwifi_start: rx_intf_cfg 2 openofdm_rx_cfg 1 tx_intf_cfg 2 openofdm_tx_cfg 1
[ 1021.284493] sdr,sdr openwifi_start: rx_freq_offset_to_lo_MHz 0 tx_freq_offset_to_lo_MHz 0
[ 1021.285188] sdr,sdr openwifi_start: DMA channel setup successfully. priv->rx_chan 0xd54e9640 priv->tx_chan 0xd54a7440
[ 1021.285620] sdr,sdr openwifi_init_rx_ring: NUM_RX_BD 64 RX_BD_BUF_SIZE 2048 pkt existing flag are cleared!
[ 1021.285725] sdr,sdr openwifi_start: irq_rx 50
[ 1021.285751] sdr,sdr openwifi_start: irq_tx 52
[ 1021.285760] sdr,sdr openwifi_start: normal end
[ 1021.285769] sdr,sdr openwifi_add_interface start. vif for loop result 0
[ 1021.285777] sdr,sdr openwifi_add_interface end with vif idx 0 addr 66:55:44:33:22:23
[ 1021.285784] sdr,sdr openwifi_prepare_multicast
[ 1021.285797] sdr,sdr openwifi_configure_filter MON 0 M_BCN 1 BST0 1 BST1 1 UST 1 PB_RQ 1 PS_PL 1 O_BSS 0 CTL 0 BCN_PRP 0 PCP_FL 0 FCS_FL 0 ALL_MUT 1
[ 1021.285803] sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_ERP_CTS_PROT 0
[ 1021.285809] sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_ERP_SLOT 8 BSS_CHANGED_ERP_PREAMBLE 4 short slot 0
[ 1021.285819] sdr,sdr openwifi_conf_tx: [queue 0], aifs: 2, cw_min: 3, cw_max: 7, txop: 47, aifs and txop ignored
[ 1021.285827] sdr,sdr openwifi_conf_tx: [queue 1], aifs: 2, cw_min: 7, cw_max: 15, txop: 94, aifs and txop ignored
[ 1021.285834] sdr,sdr openwifi_conf_tx: [queue 2], aifs: 3, cw_min: 15, cw_max: 1023, txop: 0, aifs and txop ignored
[ 1021.285841] sdr,sdr openwifi_conf_tx: [queue 3], aifs: 7, cw_min: 15, cw_max: 1023, txop: 0, aifs and txop ignored
[ 1021.285874] sdr,sdr openwifi_prepare_multicast
[ 1021.285886] sdr,sdr openwifi_configure_filter MON 0 M_BCN 1 BST0 1 BST1 1 UST 1 PB_RQ 1 PS_PL 1 O_BSS 0 CTL 0 BCN_PRP 0 PCP_FL 0 FCS_FL 0 ALL_MUT 1
[ 1021.286177] sdr,sdr openwifi_prepare_multicast
[ 1021.286192] sdr,sdr openwifi_configure_filter MON 0 M_BCN 1 BST0 1 BST1 1 UST 1 PB_RQ 1 PS_PL 1 O_BSS 0 CTL 0 BCN_PRP 0 PCP_FL 0 FCS_FL 0 ALL_MUT 1
[ 1021.286293] IPv6: ADDRCONF(NETDEV_UP): sdr0: link is not ready
[ 1021.286778] sdr,sdr openwifi_prepare_multicast
[ 1021.286794] sdr,sdr openwifi_configure_filter MON 0 M_BCN 1 BST0 1 BST1 1 UST 1 PB_RQ 1 PS_PL 1 O_BSS 0 CTL 0 BCN_PRP 0 PCP_FL 0 FCS_FL 0 ALL_MUT 1
[ 1021.287216] sdr,sdr openwifi_prepare_multicast
[ 1021.287232] sdr,sdr openwifi_configure_filter MON 0 M_BCN 1 BST0 1 BST1 1 UST 1 PB_RQ 1 PS_PL 1 O_BSS 0 CTL 0 BCN_PRP 0 PCP_FL 0 FCS_FL 0 ALL_MUT 1
[ 1021.376604] sdr,sdr openwifi_get_antenna: tx_ant1 rx_ant1
[ 1021.376616] sdr,sdr openwifi_get_antenna: drv tx cfg 2 offset 0 drv rx cfg 2 offset 0 drv ctrl_out sel 16
[ 1021.376623] sdr,sdr openwifi_get_antenna: fpga tx sel 1 rx sel 0
[ 1021.376791] sdr,sdr openwifi_get_antenna: rf tx att0 0 tx att1 89750 ctrl_out sel 16
[ 1021.469895] sdr,sdr openwifi_config changed flag 00000100
[ 1021.540725] sdr,sdr ad9361_tx_calibration 5180MHz tx_quad_cal duration 16281 us
[ 1021.540740] sdr,sdr openwifi_rf_rx_update_after_tuning 5180MHz rssi_correction 145 fpga_lbt_th 134(-78dBm) auto 134 static 290 receiver th 122(-84dBm)
[ 1021.540745] sdr,sdr ad9361_rf_set_channel 5180MHz done
[ 1021.540757] sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_TXPOWER 14
[ 1021.540766] sdr,sdr openwifi_config changed flag 00000002
[ 1021.540780] sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_BEACON_INT 64
[ 1021.540785] sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_TXPOWER 14
[ 1021.540789] sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_BEACON_ENABLED
[ 1021.543393] sdr,sdr openwifi_bss_info_changed WARNING enable_beacon
[ 1021.543404] sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_BEACON_ENABLED 512 BSS_CHANGED_BEACON 256
[ 1021.543471] IPv6: ADDRCONF(NETDEV_CHANGE): sdr0: link becomes ready
[ 1021.543663] sdr,sdr openwifi_prepare_multicast
[ 1021.543681] sdr,sdr openwifi_configure_filter MON 0 M_BCN 1 BST0 1 BST1 1 UST 1 PB_RQ 1 PS_PL 1 O_BSS 0 CTL 0 BCN_PRP 0 PCP_FL 0 FCS_FL 0 ALL_MUT 1
[ 1021.543921] sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_ERP_CTS_PROT 0
[ 1021.543928] sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_BASIC_RATES f0
[ 1021.543934] sdr,sdr openwifi_bss_info_changed WARNING BSS_CHANGED_ERP_SLOT 8 BSS_CHANGED_ERP_PREAMBLE 4 short slot 1
[ 1021.544985] sdr,sdr openwifi_conf_tx: [queue 0], aifs: 1, cw_min: 3, cw_max: 7, txop: 47, aifs and txop ignored
[ 1021.545055] sdr,sdr openwifi_conf_tx: [queue 1], aifs: 1, cw_min: 7, cw_max: 15, txop: 94, aifs and txop ignored
[ 1021.545118] sdr,sdr openwifi_conf_tx: [queue 2], aifs: 3, cw_min: 15, cw_max: 63, txop: 0, aifs and txop ignored
[ 1021.545180] sdr,sdr openwifi_conf_tx: [queue 3], aifs: 7, cw_min: 15, cw_max: 1023, txop: 0, aifs and txop ignored
[ 1023.564042] sdr,sdr openwifi_prepare_multicast
[ 1023.564063] sdr,sdr openwifi_configure_filter MON 0 M_BCN 1 BST0 1 BST1 1 UST 1 PB_RQ 1 PS_PL 1 O_BSS 0 CTL 0 BCN_PRP 0 PCP_FL 0 FCS_FL 0 ALL_MUT 1
root@analog:~/openwifi#
Describe your debug efforts by: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#Debug-methods
Any other thing we need to know for helping you better?
please any suggestion.
The text was updated successfully, but these errors were encountered: