open-sdr / openwifi-hw

open-source IEEE 802.11 WiFi baseband FPGA (chip) design: FPGA, hardware
GNU Affero General Public License v3.0
647 stars 226 forks source link

Modify the rate or modulation mode of tx #100

Closed Xiana1 closed 5 months ago

Xiana1 commented 7 months ago

Hi,Dr Jiao I tried to get both boards to work in ad-hoc mode, but by ILA signal grabbing, I found that the modulation on the transmitter has always been BPSK (grabbing the rate of the dot_11 in the ofdm_tx mode). My questions are as follows:

  1. Why does it only send signals from BPSK, and does it keep sending broadcast frames?
  2. How to change the modulation mode to 16QAM? Is it on the driver on the PS side or on the PL side?
  3. I tried to modify the value of the register directly, but it didn't seem to work: ./sdrctl dev sdr0 set reg drv_tx 0 6 1700994971267

Looking forward to your reply, thanks!

JiaoXianjun commented 5 months ago

https://github.com/open-sdr/openwifi/blob/06fbd98167853a5d46c801bea395cf55440140ae/driver/sdr.c#L1083