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

Change the Rate at the tx (Modulation Mode) #373

Open Xiana1 opened 7 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

Looking forward to your reply, thanks!

JiaoXianjun commented 5 months ago

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