History log of /openwifi/driver/sdr.h (Results 1 – 25 of 37)
Revision Date Author Comments
# f0a95ef6 12-Sep-2023 Xianjun Jiao <[email protected]>

Remove unused lines


# 1fa7cac0 17-Jan-2023 Xianjun Jiao <[email protected]>

Format sdr.h


# 342bd25a 17-Jan-2023 Xianjun Jiao <[email protected]>

Refactor a bit RING_ROOM_THRESHOLD/MAX_NUM_HW_QUEUE/MAX_NUM_SW_QUEUE


# 1895c3ae 13-May-2022 Xianjun Jiao <[email protected]>

Only support allowed channel to avoid:
the issue of Let openwifi work at arbitrary frequency: ./sdrctl dev sdr0 set reg rf 1/5 NMPQ
the wpa_supplicant scanning does scan those not allowed channel (or

Only support allowed channel to avoid:
the issue of Let openwifi work at arbitrary frequency: ./sdrctl dev sdr0 set reg rf 1/5 NMPQ
the wpa_supplicant scanning does scan those not allowed channel (originally reported by our driver capabilities), but hostpad already actually uses a not allowed channel (by sdrctl) while beacon still indicates an allowed channel (hostapd rejects to run on not allowed channel). So, after wpa_supplicant discovers the beacon on a not allowed channel while the beacon contains an allowed channel, it gets confused

show more ...


# d6c1c3f7 30-Mar-2022 Xianjun Jiao <[email protected]>

Easier way to set arbitrary trx frequency via register rf 1 and 5:
Create helper function ad9361_tx_calibration() and openwifi_rf_rx_update_after_tuning() for frequency tuning. No matter it is from L

Easier way to set arbitrary trx frequency via register rf 1 and 5:
Create helper function ad9361_tx_calibration() and openwifi_rf_rx_update_after_tuning() for frequency tuning. No matter it is from Linux request or rf register 1 (Tx freq override MHz) and 5 (Rx freq override MHz)

show more ...


# 6bb9ef71 29-Mar-2022 Xianjun Jiao <[email protected]>

Example of how to add debug channel via sysfs and access it via script --> driver


# e4d5d1a3 29-Mar-2022 Xianjun Jiao <[email protected]>

Add code for new statistics and setting channel via sysfs


# 947b9345 29-Mar-2022 Xianjun Jiao <[email protected]>

Add missing code in sdr.h for the improved tx queue mechanism in previous commit


# d4661bbd 29-Mar-2022 Xianjun Jiao <[email protected]>

Update the RX_BD_BUF_SIZE and NUM_RX_BD in sdr.h


# 088d2d18 29-Mar-2022 Xianjun Jiao <[email protected]>

Add dmesg printk flag in sdr.h and use it in openwifi_rx-interrupt() accordingly


# bc98f5bb 29-Mar-2022 thavinga <[email protected]>

Driver changes for FPGA SPI Tx LO control
- Manually issue Tx Quadrature calibration if frequency change is more than 100MHz
- Disable FPGA SPI module before calibration
- Add xpu reg 13 to disable c

Driver changes for FPGA SPI Tx LO control
- Manually issue Tx Quadrature calibration if frequency change is more than 100MHz
- Disable FPGA SPI module before calibration
- Add xpu reg 13 to disable control manually

show more ...


# 68314a46 28-Mar-2022 Xianjun Jiao <[email protected]>

Add the missing rf_reg_val in priv


# 56203843 28-Mar-2022 Xianjun Jiao <[email protected]>

Add runtime tx/rx antenna switch support to driver


# 11d048d9 28-Mar-2022 Xianjun Jiao <[email protected]>

Re-structure/define drv reg idx. Add (drv) RF reg


# d3ce582a 28-Mar-2022 Xianjun Jiao <[email protected]>

Add the missing sdrctl reg category


# b196f496 28-Mar-2022 Xianjun Jiao <[email protected]>

Add priv->actual_tx_lo preparing for further tx/rx related setting


# 2ae501ca 28-Mar-2022 Xianjun Jiao <[email protected]>

Disable TID in sdr.c:

By default the TID is disabled in FPGA, because we currently try to TX and RX traffic for all TIDs. So, the TID related operations in sdr.c are removed.


# 0b4b8cc7 28-Mar-2022 Xianjun Jiao <[email protected]>

Add all Europe 5GHz channel support into driver


# 6a9949ee 28-Mar-2022 Xianjun Jiao <[email protected]>

Replace some constants of number of NIC by MAX_NUM_VIF


# 385339ab 06-Jan-2022 mmehari <[email protected]>

tx_interrupt if/else optimization


# 0c0d5d82 06-Jan-2022 mmehari <[email protected]>

use FPGA fifo count registers instead of software queue_cnt


# f738aefa 06-Jan-2022 mmehari <[email protected]>

A-MPDU tx aggregation support


# 261bb9ee 06-Jan-2022 mmehari <[email protected]>

A-MPDU rx aggregation support


# 72c90e5e 13-Oct-2021 Jiao Xianjun <[email protected]>

Merge pull request #104 from open-sdr/fix_large_ping_delay_igent

Fix the issue of iGent env related big ping delay:


# 109b1cfd 29-Sep-2021 Xianjun Jiao <[email protected]>

Fix the issue of iGent env related big ping delay:
1. The issue only happens at zcu102 side, when it is tested as AP together with zedboard
2. The issue does not happen when zcu102 is client and zedb

Fix the issue of iGent env related big ping delay:
1. The issue only happens at zcu102 side, when it is tested as AP together with zedboard
2. The issue does not happen when zcu102 is client and zedboard is AP
3. The issue (most likely) does not happen in places other than iGent (like Pablo home)
4. Sometimes it does happen at my home when I test zcu102 as AP together with COTS WiFi
5. Indeed seems like the environment related. Guess some quick small packets in the environment quickly flush/round-up/mess-up the rx dma cyclic buffer, and the rx interrupt internal static variable target_buf_idx_old loses track of the background automatic rx dma cyclic buffer
6. The fix is for all board types (zcu102, zedboard, 7035, etc)
7. The driver compiling make_all.sh script generates USE_NEW_RX_INTERRUPT macro to pre_def.h to enable the new code (while keeping the old code). You can use the script as before.
8. The logic of the fix is that exhaustive search all the rx dma cyclic buffer in rx interrupt to get packet to Linux in the first place.

show more ...


12