Differences

This shows you the differences between two versions of the page.

Link to this comparison view

isrm:laborator-todo [2019/10/14 07:35]
mbarbulescu
isrm:laborator-todo [2019/10/29 19:34] (current)
mbarbulescu
Line 5: Line 5:
   - Introducere:​ plotting   - Introducere:​ plotting
   - Introducere:​ ns-3: structura, build, rulat exemple cu plot si pcap tracing (wifi-tcp?)   - Introducere:​ ns-3: structura, build, rulat exemple cu plot si pcap tracing (wifi-tcp?)
-  - Capacitatea mediului WiFi+  - Capacitatea mediului WiFi - cea ideala 
 +  - Capacitatea mediului WiFi - downlink vs uplink
   - 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
 +  - DCF / contention window (cont.)
 +  - Jain Fairness
   - MCS multiple si rate adaption cu distanta (e unul din exemplele din ns-3)   - 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++>
 +//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://​mehmetalierturk.com/​2014/​01/​07/​how-to-set-edca-parameters-in-ns3-802-11/​
 +
 +void ns3::​WifiMac::​ConfigureDcf ( Ptr<​ Txop > dcf,
 +uint32_t cwmin,
 +uint32_t cwmax,
 +bool isDsss,
 +AcIndex ac 
 +)
 +
 +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 ====
isrm/laborator-todo.1571027721.txt.gz · Last modified: 2019/10/14 07:35 by mbarbulescu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0