open-sdr / openwifi

open-source IEEE 802.11 WiFi baseband FPGA (chip) design: driver, software
GNU Affero General Public License v3.0
3.68k stars 627 forks source link

RF-Kill when change bandwidth and some problems about CSI show #386

Closed huangfu001206 closed 1 week ago

huangfu001206 commented 6 months ago

Hello, Teacher Jiao, I have some questions I would like to consult. Question 1: Previously, I modified the six values in your rf_init_11n.sh script and generated the corresponding digital filter to change the bandwidth. The modifications were as follows: echo 5763546 > in_voltage_rf_bandwidth echo 5693803 > out_voltage_rf_bandwidth echo 10000000 > in_voltage_sampling_frequency echo 10000000 > out_voltage_sampling_frequency echo 250000000 > out_altvoltage0_RX_LO_frequency echo 250000000 > out_altvoltage1_TX_LO_frequency I also set the filter configuration to use the new filter file: fir_filename="filter_cbw5.ftr" cat $home_dir/$fir_filename > filter_fir_config echo 1 > in_voltage_filter_fir_en echo $tx_fir_enable > out_voltage_filter_fir_en If I want to switch the bandwidth while the board is operating normally, I believe I only need to modify these six values and rewrite the new filter configuration. However, after doing this, I occasionally encounter an RF-Kill issue. When I try to enable sdr0, I receive the error message "Operation not possible due to RF-kill". What could be the main reason for this issue? (I noticed that you recently made changes to the RF-Kill check, and I will try that later.)

Question 2: I noticed that after I use insmod side_ch.ko, I can successfully remove the kernel module using rmmod side_ch. However, if I try to insmod side_ch.ko again, I encounter the following error: 2023-12-30 18-37-14屏幕截图

Could you please answer these questions, Teacher Jiao? Thank you very much.