This shows you the differences between two versions of the page.
isrm:laborator-todo [2019/10/16 20:13] mbarbulescu |
isrm:laborator-todo [2019/10/29 19:34] (current) mbarbulescu |
||
---|---|---|---|
Line 9: | Line 9: | ||
- Modele de propagare WiFi: Friis, LogDistancePropagationLossModel, ThreeLogDistancePropagationLossModel , TwoRayGroundPropagationLossModel cu trafic UDP vs. TCP si cu/fara RTS/CTS | - Modele de propagare WiFi: Friis, LogDistancePropagationLossModel, ThreeLogDistancePropagationLossModel , TwoRayGroundPropagationLossModel cu trafic UDP vs. TCP si cu/fara RTS/CTS | ||
- Carrier sense fizic (EnergyDetectionThreshold) vs virtual (RX sensitivity) | - Carrier sense fizic (EnergyDetectionThreshold) vs virtual (RX sensitivity) | ||
- | - DCF / contention window (TODO: de gasit exemple in ns-3) | + | - DCF / contention window |
- | - DCF / contention window (TODO: de gasit exemple in ns-3) | + | - DCF / contention window (cont.) |
+ | - Jain Fairness | ||
+ | - MCS multiple si rate adaption cu distanta (e unul din exemplele din ns-3) | ||
+ | - WiFi in Linux: setup ''hostapd'', ''wpa_supplicant'', ''iw'', modul monitor si ''tcpdump'' - analizat radio tap header | ||
+ | - WiFi in Linux 2: monitorizare PHY cu USRP? | ||
<code C++> | <code C++> | ||
//Din documentatia ns-3: https://www.nsnam.org/doxygen/classns3_1_1_wifi_mac.html | //Din documentatia ns-3: https://www.nsnam.org/doxygen/classns3_1_1_wifi_mac.html | ||
//https://www.nsnam.org/docs/release/3.5/manual/manual_59.html | //https://www.nsnam.org/docs/release/3.5/manual/manual_59.html | ||
+ | //https://mehmetalierturk.com/2014/01/07/how-to-set-edca-parameters-in-ns3-802-11/ | ||
void ns3::WifiMac::ConfigureDcf ( Ptr< Txop > dcf, | void ns3::WifiMac::ConfigureDcf ( Ptr< Txop > dcf, | ||
Line 20: | Line 26: | ||
bool isDsss, | bool isDsss, | ||
AcIndex ac | AcIndex ac | ||
- | ) | + | ) |
- | </code> | + | |
- | - MCS multiple si rate adaption cu distanta (e unul din exemplele din ns-3) | + | |
- | - WiFi in Linux: setup ''hostapd'', ''wpa_supplicant'', ''iw'', modul monitor si ''tcpdump'' - analizat radio tap header | + | |
- | - WiFi in Linux 2: monitorizare PHY cu USRP? | + | |
+ | NqosWifiMacHelper wifiMacHelper = NqosWifiMacHelper::Default (); | ||
+ | Ssid ssid = Ssid ("ns-3-ssid"); | ||
+ | wifiMacHelper.SetType ("ns3::NqstaWifiMac", "Ssid", SsidValue (ssid), "ActiveProbing", BooleanValue (false)); | ||
+ | wifiMacHelper.SetDcaParameters ("MinCw", UintegerValue (20), "Aifsn", UintegerValue (3)); | ||
+ | </code> | ||
==== Laborator - subiecte de explorat ==== | ==== Laborator - subiecte de explorat ==== |