SlideShare a Scribd company logo
1 of 32
NB-IoT nFAPI
1. Introduction
1. Introduction
1.1. nFAPI Interfaces
eNB for FAPI*
eNB for nFAPI
1.2. nFAPI Architecture
*) Out of scope
of this
document
2. NB-IoT nFAPI concept
2. NB-IoT nFAPI concept
2.1 nFAPI Introduction
2.2 nFAPI Procedures
• The nFAPI P5 interface configures the PNF device at the PNF device level and at the static PHY level.
• The nFAPI P7 interface operates the PHY for the subframe procedures.
2.2.1 nFAPI PNF configuration procedure
2.2.2 nFAPI P5 PHY configuration procedure
2.2.3. nFAPI p7 subframe procedure
2.2.1 nFAPI PNF Configuration Procedures
1. Inizialitation
2. Reset
3. Restart
4. Reconfigure
• See next slide for detail of
PNF Inizialitation
Procedure & PNF PARAM
message exchange.
*) See the full spec
documents for other
procedure and message
exchange
• PNF Inizialitation Procedure &
PNF PARAM message exchange.
• General Flowchart of
nFAPI PNF Configuration Procedures
Summary of nFAPI PNF Configuration Procedures (1)
Summary of nFAPI PNF Configuration Procedures (2)
2.2.2 nFAPI P5 PHY Configuration Procedures
1. Inizialitation
2. Terminate
3. Restart
4. Reset
5. Reconfigure
6. Query
7. Notification
8. Measurement
• See next slide for detail of
Inizialitation Procedure &
PARAM message exchange.
*) see full spec documents
for other procedure and message
exchange
• Inizialitation Procedure & PARAM message exchange.
Summary of nFAPI P5 PHY Configuration Procedures (1)
Summary of nFAPI P5 PHY Configuration Procedures (2)
• 2.2.2 nFAPI P7 Subframe Procedures
The nFAPI P7 interface configures the PNF PHYs every subframe.
Procedures Purpose
1. PHY Synchronization estimation and compensation of timing differences between the VNF
and the PHY instance
2. API message order The L1 API has constraints on when certain subframe messages can be
sent, or will be
received, by the L2/L3 software.
3. API message timing nFAPI P7 messages sent from the VNF to PNF must arrive at the PNF a
minimum time before the subframe they configure starts transmission
on the air interface
4. Semi-static information create periodic transmission patterns on the uplink
5. Uplink HARQ signalling ACK or NACK downlink
data transmissions sent to a UE.
6. Downlink BCH, PCH, DLSCH, MCH, PRS, CSI
7. Uplink RACH, ULSCH, SRS, CQI, SR
8. RNTI Measurement SNR, Timing advance, Doppler estimation
• 2.3 nFAPI messages
• 2.3.1 nFAPI Transport Layer
• 2.3.2 General Message Format
• 2.3.2.1 nFAPI message ID Value
• 2.3.2.2 Vendor Extention
*) see full spec documentation for 2.3.3 nFAPI p5
message 2.3.4 nFAPI P7 Sync Message
nFAPI Implementation – P5
nFAPI Implementation – P5
• Source Code:
https://gitlab.com/changshengliusamuel/openairinterface5g/blob/dev
elop-nb-iot/openair2/LAYER2/MAC/config_NB_IoT.c
• For the explanation of the flowchart please refer to:
http://bit.ly/nfapi-implementation-p5
A B
A B
A B C
CBA
nFAPI Implementation – P7
nFAPI Implementation – P7
MAC
nFAPI PNF
thread
Output_handler()
recvfrom()
callback
nFAPI VNF
thread
PHY
Schedule_
response()
recvfrom()
callback
UDP UDP
Global
Globalrxtx thread
rxtx thread
Compile Option:
nfapi_mode = 0: default
nfapi_mode = 1: VNF
nfapi_mode = 2: PNF
nfapi_mode = 3: VNF without USRP
NB-IoT nFAPI
Testing
Environment
Optional
Quectel BC95-b28
USB 3.0
OAI NB-IoT
eNB PNF
EPC
OAI NB-IoT
eNB VNF
Ethernet
USB 3.0
P5 P7
nFAPI interface
P7P5
nFAPI interface
L3
L2
UDPSCTP
NB- IoT nFAPI Result Log
VNF PNF
NB-IoT nFAPI MSC
Thank you for your attention.

More Related Content

What's hot

Bootp and dhcp
Bootp and dhcpBootp and dhcp
Bootp and dhcp
Mohd Arif
 
6 Lo Wpan Tutorial 20080206
6 Lo Wpan Tutorial 200802066 Lo Wpan Tutorial 20080206
6 Lo Wpan Tutorial 20080206
pauldeng
 

What's hot (20)

2016 NCTU P4 Workshop
2016 NCTU P4 Workshop2016 NCTU P4 Workshop
2016 NCTU P4 Workshop
 
BPF: Next Generation of Programmable Datapath
BPF: Next Generation of Programmable DatapathBPF: Next Generation of Programmable Datapath
BPF: Next Generation of Programmable Datapath
 
LinuxCon 2015 Stateful NAT with OVS
LinuxCon 2015 Stateful NAT with OVSLinuxCon 2015 Stateful NAT with OVS
LinuxCon 2015 Stateful NAT with OVS
 
Linux Native, HTTP Aware Network Security
Linux Native, HTTP Aware Network SecurityLinux Native, HTTP Aware Network Security
Linux Native, HTTP Aware Network Security
 
Replacing iptables with eBPF in Kubernetes with Cilium
Replacing iptables with eBPF in Kubernetes with CiliumReplacing iptables with eBPF in Kubernetes with Cilium
Replacing iptables with eBPF in Kubernetes with Cilium
 
Implementing MPLS Services using Openflow
Implementing MPLS Services using OpenflowImplementing MPLS Services using Openflow
Implementing MPLS Services using Openflow
 
Protecting the Privacy of the Network – Using P4 to Prototype and Extend Netw...
Protecting the Privacy of the Network – Using P4 to Prototype and Extend Netw...Protecting the Privacy of the Network – Using P4 to Prototype and Extend Netw...
Protecting the Privacy of the Network – Using P4 to Prototype and Extend Netw...
 
Cilium - Fast IPv6 Container Networking with BPF and XDP
Cilium - Fast IPv6 Container Networking with BPF and XDPCilium - Fast IPv6 Container Networking with BPF and XDP
Cilium - Fast IPv6 Container Networking with BPF and XDP
 
Open vSwitch - Stateful Connection Tracking & Stateful NAT
Open vSwitch - Stateful Connection Tracking & Stateful NATOpen vSwitch - Stateful Connection Tracking & Stateful NAT
Open vSwitch - Stateful Connection Tracking & Stateful NAT
 
Ryu SDN Framework
Ryu SDN FrameworkRyu SDN Framework
Ryu SDN Framework
 
BPF & Cilium - Turning Linux into a Microservices-aware Operating System
BPF  & Cilium - Turning Linux into a Microservices-aware Operating SystemBPF  & Cilium - Turning Linux into a Microservices-aware Operating System
BPF & Cilium - Turning Linux into a Microservices-aware Operating System
 
BPF - All your packets belong to me
BPF - All your packets belong to meBPF - All your packets belong to me
BPF - All your packets belong to me
 
Using GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnlUsing GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnl
 
Cilium - API-aware Networking and Security for Containers based on BPF
Cilium - API-aware Networking and Security for Containers based on BPFCilium - API-aware Networking and Security for Containers based on BPF
Cilium - API-aware Networking and Security for Containers based on BPF
 
2015 FOSDEM - OVS Stateful Services
2015 FOSDEM - OVS Stateful Services2015 FOSDEM - OVS Stateful Services
2015 FOSDEM - OVS Stateful Services
 
Bootp and dhcp
Bootp and dhcpBootp and dhcp
Bootp and dhcp
 
6 Lo Wpan Tutorial 20080206
6 Lo Wpan Tutorial 200802066 Lo Wpan Tutorial 20080206
6 Lo Wpan Tutorial 20080206
 
GTPing, How To
GTPing, How ToGTPing, How To
GTPing, How To
 
LinuxCon 2015 Linux Kernel Networking Walkthrough
LinuxCon 2015 Linux Kernel Networking WalkthroughLinuxCon 2015 Linux Kernel Networking Walkthrough
LinuxCon 2015 Linux Kernel Networking Walkthrough
 
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introductionCodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
 

Similar to Nb iot-nfapi-implementation-1

P4, EPBF, and Linux TC Offload
P4, EPBF, and Linux TC OffloadP4, EPBF, and Linux TC Offload
P4, EPBF, and Linux TC Offload
Open-NFP
 
Brocade Administration & troubleshooting
Brocade Administration & troubleshootingBrocade Administration & troubleshooting
Brocade Administration & troubleshooting
prakashjjaya
 

Similar to Nb iot-nfapi-implementation-1 (20)

P4-based VNF and Micro-VNF Chaining for Servers With Intelligent Server Adapters
P4-based VNF and Micro-VNF Chaining for Servers With Intelligent Server AdaptersP4-based VNF and Micro-VNF Chaining for Servers With Intelligent Server Adapters
P4-based VNF and Micro-VNF Chaining for Servers With Intelligent Server Adapters
 
CentOS NFV SIG Introduction and Update
CentOS NFV SIG Introduction and UpdateCentOS NFV SIG Introduction and Update
CentOS NFV SIG Introduction and Update
 
P4, EPBF, and Linux TC Offload
P4, EPBF, and Linux TC OffloadP4, EPBF, and Linux TC Offload
P4, EPBF, and Linux TC Offload
 
The hague rina-workshop-nfv-diego
The hague rina-workshop-nfv-diegoThe hague rina-workshop-nfv-diego
The hague rina-workshop-nfv-diego
 
Making our networking stack truly extensible
Making our networking stack truly extensible Making our networking stack truly extensible
Making our networking stack truly extensible
 
MPLS-based Layer 3 VPNs.pdf
MPLS-based Layer 3 VPNs.pdfMPLS-based Layer 3 VPNs.pdf
MPLS-based Layer 3 VPNs.pdf
 
SRE NL MeetUp - eBPF.pdf
SRE NL MeetUp - eBPF.pdfSRE NL MeetUp - eBPF.pdf
SRE NL MeetUp - eBPF.pdf
 
Summit 16: Service Function Chaining: Demo and Usage
Summit 16: Service Function Chaining: Demo and UsageSummit 16: Service Function Chaining: Demo and Usage
Summit 16: Service Function Chaining: Demo and Usage
 
P4+ONOS SRv6 tutorial.pptx
P4+ONOS SRv6 tutorial.pptxP4+ONOS SRv6 tutorial.pptx
P4+ONOS SRv6 tutorial.pptx
 
Barak Perlman, ConteXtream - SFC (Service Function Chaining) Using Openstack ...
Barak Perlman, ConteXtream - SFC (Service Function Chaining) Using Openstack ...Barak Perlman, ConteXtream - SFC (Service Function Chaining) Using Openstack ...
Barak Perlman, ConteXtream - SFC (Service Function Chaining) Using Openstack ...
 
Brocade Administration & troubleshooting
Brocade Administration & troubleshootingBrocade Administration & troubleshooting
Brocade Administration & troubleshooting
 
Mpls vpn.rip
Mpls vpn.ripMpls vpn.rip
Mpls vpn.rip
 
Ebpf ovsconf-2016
Ebpf ovsconf-2016Ebpf ovsconf-2016
Ebpf ovsconf-2016
 
Netlink-Optimization.pptx
Netlink-Optimization.pptxNetlink-Optimization.pptx
Netlink-Optimization.pptx
 
5G core use cases in CORE NetworkSBI.pptx
5G core use cases in CORE NetworkSBI.pptx5G core use cases in CORE NetworkSBI.pptx
5G core use cases in CORE NetworkSBI.pptx
 
NPV and NPIV feature in MDS switches on SAN network
NPV and NPIV feature in MDS switches on SAN networkNPV and NPIV feature in MDS switches on SAN network
NPV and NPIV feature in MDS switches on SAN network
 
OSN days 2019 - Open Networking and Programmable Switch
OSN days 2019 - Open Networking and Programmable SwitchOSN days 2019 - Open Networking and Programmable Switch
OSN days 2019 - Open Networking and Programmable Switch
 
Design Summit - NFV BoF - Dave Neary
Design Summit - NFV BoF - Dave NearyDesign Summit - NFV BoF - Dave Neary
Design Summit - NFV BoF - Dave Neary
 
PLNOG 7: Emil Gągała, Sławomir Janukowicz - carrier grade NAT
PLNOG 7: Emil Gągała,  Sławomir Janukowicz - carrier grade NAT PLNOG 7: Emil Gągała,  Sławomir Janukowicz - carrier grade NAT
PLNOG 7: Emil Gągała, Sławomir Janukowicz - carrier grade NAT
 
Open stack gluon + opnfv netready
Open stack gluon + opnfv netreadyOpen stack gluon + opnfv netready
Open stack gluon + opnfv netready
 

Recently uploaded

UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
Tonystark477637
 

Recently uploaded (20)

UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 

Nb iot-nfapi-implementation-1

  • 4. eNB for FAPI* eNB for nFAPI 1.2. nFAPI Architecture *) Out of scope of this document
  • 5. 2. NB-IoT nFAPI concept
  • 6. 2. NB-IoT nFAPI concept 2.1 nFAPI Introduction
  • 7. 2.2 nFAPI Procedures • The nFAPI P5 interface configures the PNF device at the PNF device level and at the static PHY level. • The nFAPI P7 interface operates the PHY for the subframe procedures. 2.2.1 nFAPI PNF configuration procedure 2.2.2 nFAPI P5 PHY configuration procedure 2.2.3. nFAPI p7 subframe procedure
  • 8. 2.2.1 nFAPI PNF Configuration Procedures 1. Inizialitation 2. Reset 3. Restart 4. Reconfigure • See next slide for detail of PNF Inizialitation Procedure & PNF PARAM message exchange. *) See the full spec documents for other procedure and message exchange
  • 9. • PNF Inizialitation Procedure & PNF PARAM message exchange.
  • 10. • General Flowchart of nFAPI PNF Configuration Procedures
  • 11. Summary of nFAPI PNF Configuration Procedures (1)
  • 12. Summary of nFAPI PNF Configuration Procedures (2)
  • 13. 2.2.2 nFAPI P5 PHY Configuration Procedures 1. Inizialitation 2. Terminate 3. Restart 4. Reset 5. Reconfigure 6. Query 7. Notification 8. Measurement • See next slide for detail of Inizialitation Procedure & PARAM message exchange. *) see full spec documents for other procedure and message exchange
  • 14. • Inizialitation Procedure & PARAM message exchange.
  • 15. Summary of nFAPI P5 PHY Configuration Procedures (1)
  • 16. Summary of nFAPI P5 PHY Configuration Procedures (2)
  • 17. • 2.2.2 nFAPI P7 Subframe Procedures The nFAPI P7 interface configures the PNF PHYs every subframe. Procedures Purpose 1. PHY Synchronization estimation and compensation of timing differences between the VNF and the PHY instance 2. API message order The L1 API has constraints on when certain subframe messages can be sent, or will be received, by the L2/L3 software. 3. API message timing nFAPI P7 messages sent from the VNF to PNF must arrive at the PNF a minimum time before the subframe they configure starts transmission on the air interface 4. Semi-static information create periodic transmission patterns on the uplink 5. Uplink HARQ signalling ACK or NACK downlink data transmissions sent to a UE. 6. Downlink BCH, PCH, DLSCH, MCH, PRS, CSI 7. Uplink RACH, ULSCH, SRS, CQI, SR 8. RNTI Measurement SNR, Timing advance, Doppler estimation
  • 18. • 2.3 nFAPI messages • 2.3.1 nFAPI Transport Layer
  • 19. • 2.3.2 General Message Format
  • 20. • 2.3.2.1 nFAPI message ID Value
  • 21. • 2.3.2.2 Vendor Extention *) see full spec documentation for 2.3.3 nFAPI p5 message 2.3.4 nFAPI P7 Sync Message
  • 23. nFAPI Implementation – P5 • Source Code: https://gitlab.com/changshengliusamuel/openairinterface5g/blob/dev elop-nb-iot/openair2/LAYER2/MAC/config_NB_IoT.c • For the explanation of the flowchart please refer to: http://bit.ly/nfapi-implementation-p5
  • 24.
  • 28. nFAPI Implementation – P7 MAC nFAPI PNF thread Output_handler() recvfrom() callback nFAPI VNF thread PHY Schedule_ response() recvfrom() callback UDP UDP Global Globalrxtx thread rxtx thread Compile Option: nfapi_mode = 0: default nfapi_mode = 1: VNF nfapi_mode = 2: PNF nfapi_mode = 3: VNF without USRP
  • 29. NB-IoT nFAPI Testing Environment Optional Quectel BC95-b28 USB 3.0 OAI NB-IoT eNB PNF EPC OAI NB-IoT eNB VNF Ethernet USB 3.0 P5 P7 nFAPI interface P7P5 nFAPI interface L3 L2 UDPSCTP
  • 30. NB- IoT nFAPI Result Log VNF PNF
  • 32. Thank you for your attention.