Comments (4)
Can you elaborate in more detailed style? Such as which line of code in which kind of state transition in CSMA/CA part?
from openwifi-hw.
https://github.com/open-sdr/openwifi-hw/blob/master/ip/xpu/src/csma_ca.v
line239-279 is random number generator. In my view I know that it corresponds to the different stage of the backoff.
According to the cw_exp module, it can be seen that based on the retransmission trigger, the cw_exp+1 operation will be executed, which corresponds to the random number generation part in csma_ca. According to the CSMA/CA protocol (as described in most publicly available sources), the minimum contention window is randomly selected from within 16. My question is regarding the random number generation code in which, when cw_exp_used is set to 1, 2, or 3, the corresponding random number ranges are 2, 4, and 8, respectively. This may differ slightly from what I understand about the protocol, or this design may have a specific purpose, or perhaps I have misunderstood something.
from openwifi-hw.
That part ensures that every possible value of the CW exponential can be used. While CWmin for the normal Distributed Coordination Function (DCF) is 15 (2^4-1), for Enhanced Distributed Channel Access (EDCA) it depends on the QoS type and may be lower than 15.
CWmin and CWmax are decided by Linux’ mac80211 or it can be overwritten by register 19 of the xpu (see https://github.com/open-sdr/openwifi/blob/master/doc/README.md#get-and-set-a-register-of-a-module).
from openwifi-hw.
Thank you for your patient answer! This answer helps me a lot understand the meaning of the csma/ca code.
from openwifi-hw.
Related Issues (20)
- Modify the rate or modulation mode of tx HOT 1
- Vivado - critical warning HOT 1
- Compiling of FPGA-image failed for "zed_fmcs2-board" HOT 3
- Issues Identified in OpenWiFi Scripts for Mesh Functionality
- Simulation of ofdm Tx in FPGA
- 焦博士你好,我想问一下关于openofdm_tx模块的dot11_tx.v中,关于BCC模块的reset机制问题。
- porting open-wifi to ad9375 HOT 1
- some questions about "phase_offset" in module sync_short HOT 2
- Question on the retransmission HOT 5
- rssi issue HOT 2
- openwifi compatible with vivado 2021 ML edition HOT 6
- no openwifi ssid WARNING: Tx Quadrature Calibration failed
- question HOT 12
- Couldn't find the Ubuntu 18/20/22 LTS release on the Ubuntu download website. HOT 1
- Couldn't find the openofdm_tx_pre_def.v file for openofdm_tx verilog files.
- PCF mode HOT 1
- antsdr e310v2 pull request HOT 4
- ofdm direct-to-receive simulation and psdu modification
- Questions about tx_intf HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwifi-hw.