History log of /openwifi/driver/sdr.c (Results 26 – 50 of 105)
Revision Date Author Comments
# 09350b04 29-Mar-2022 Xianjun Jiao <[email protected]>

Optimize the type of prio and queue_idx in openwifi_tx()


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

Try to wait a bit instead of quit immediately while status!=DMA_COMPLETE in openwifi_tx()


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

Optimize seq_no in openwifi_tx()


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

Calculate the duration/id field in driver:

Linux only sets that field for non-ht, and leaves the field blank for ht. Linux expects lower level set it. This is realized after checking the mac80211 so

Calculate the duration/id field in driver:

Linux only sets that field for non-ht, and leaves the field blank for ht. Linux expects lower level set it. This is realized after checking the mac80211 source code. After studying the duration/id field of COTS WiFi chip by wireshark, we calculate it in driver sdr.c gen_ht_duration_id(). The concrete logic/method of the calculation is in the comments of the function gen_ht_duration_id().

show more ...


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

sifs and n_dbps optimization in openwfii_tx()


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

date type optimization


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

Optimize the pkt_need_ack flag check and rate_hw_value override


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

Add abnormal detection prio >= MAX_NUM_HW_QUEUE in openwifi_tx()


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

Optimize some variable type


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

We try to handle all tid, so qos_hdr can be optimized


# 9f3a7b7f 29-Mar-2022 aslaamshaafi <[email protected]>

Merge branch 'pre-release' of github.com:open-sdr/openwifi into pre-release


# 616c431c 29-Mar-2022 aslaamshaafi <[email protected]>

replace len_mpdu+LEN_PHY_CRC with num_dma_symbol in sdr.c because axis interface in tx_intf IP use it as num_dma_symbol.


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

Remove unnecessary ht aggr related flag reset:

Don't need to reset _prev variables every time when it is not ht aggr qos data. Reason:
1. In 99.9999% cases, the ht always use qos data and goes to pr

Remove unnecessary ht aggr related flag reset:

Don't need to reset _prev variables every time when it is not ht aggr qos data. Reason:
1. In 99.9999% cases, the ht always use qos data and goes to prio/queue_idx 2. By not resetting the variable to -1, we can have continuous aggregation packet operation in FPGA queue 2.
2. In other words, the aggregation operation for queue 2 in FPGA won't be interrupted by other non aggregation packets (control/management/beacon/etc.) that go to queue 0 (or other queues than 2).
3. From wired domain and upper level ( DSCP, AC (0~3), WMM management, 802.11D service classes and user priority (UP) ) to chip/FPGA queue index, thre should be some (complicated) mapping relationship.
4. More decent design is setting these aggregation flags (ht_aggr_start) per queue/prio here in driver. But since now only queue 2 and 0 are used (data goes to queue 2, others go to queue 0) in normal (most) cases, let's not go to the decent (complicated) solution immediately.

show more ...


# 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 ...


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

Update ad9361_rf_set_channel() for easier rssi_half_db rssi_dbm rssi_correction stuffs:
by using the helper functions: rssi_correction_lookup_table(), rssi_dbm_to_rssi_half_db(), rssi_half_db_to_rssi

Update ad9361_rf_set_channel() for easier rssi_half_db rssi_dbm rssi_correction stuffs:
by using the helper functions: rssi_correction_lookup_table(), rssi_dbm_to_rssi_half_db(), rssi_half_db_to_rssi_dbm()

show more ...


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

Restructure a bit ad9361_rf_set_channel() for actual lo tuning and priv lo variable update


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

Remove unused code in ad9361_rf_set_channel()


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

Add useful function definition at the beginning of sdr.c


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

Remove the unused code


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

Add a printing via comment in openwifi_beacon_work() in case debug


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

Add MAC addr setting support into driver via openwifi_add_interface()


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

Add more print into openwifi_bss_info_changed() when vif_priv->enable_beacon


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

Add more info printing into openwifi_ampdu_action


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

Remove unused variable from openwifi_dev_probe()


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

Tell mac80211 we need extra_tx_headroom = LEN_MPDU_DELIM


12345