Contents
•Overview
•UserSpace APIs
•KernelSpace APIs
•Linux Wireless
DataPlane & Control Plane of WiFi
Netlink Basics
•A networking-based mechanism thatallows for communication within the kernel as well as between kernel and userland
•Netlink advantages
–Simple to implementation
–No polling is required on any side
–No compilation dependency with kernel core
–Support multicast
–Support full-duplex communication
–Provide a BSD socket-style API
Netlink API
•For user space
–socket()
–sendmsg()
–recvmsg()
–close()
•For kernel space
–netlink_kernel_create()
–netlink_unicast()
–netlink_broadcast()
–netlink_kernel_release()
UserSpace APIs
Kernel Space APIs
Linux Wireless