drivers/net: Add wireless ops in upper-half driver

Take the idea from Linux's iw_handler array and esp32c3_wlan's wlan_ops_s, and make it a common logic of upper-half driver.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
This commit is contained in:
Zhe Weng
2023-05-19 15:25:57 +08:00
committed by Xiang Xiao
parent a7a47621fa
commit c253bb91a2
3 changed files with 313 additions and 2 deletions
+7
View File
@@ -45,6 +45,13 @@ config NETDEV_WORK_THREAD_PRIORITY
---help---
The priority of work poll thread in netdev.
config NETDEV_WIRELESS_HANDLER
bool "Support wireless handler in upper-half driver"
default y
depends on NETDEV_IOCTL
---help---
Enable the wireless handler support in upper-half driver.
comment "General Ethernet MAC Driver Options"
config NET_RPMSG_DRV