目录
高通wifi驱动手册:
https://download.youkuaiyun.com/download/yudelian/87959574?spm=1001.2014.3001.5501
一、wiphy的理解:
当pci设备发现的时候,cfg80211 dev (wiphy)就会在radio 设备创建的时候注册,每个radio对应一个wiphy (在高通驱动的6.4.2.1)

二、 pSOC的理解:
struct hdd_context {
struct wlan_objmgr_psoc *psoc;
struct wlan_objmgr_pdev *pdev;
}
在高通驱动手册的(2.6 Object manager)

pSoc Object
pSoc object is created per physical device, It is allocated for each device probe/connect. It stores all device level information/object/capabilities, it also stores the device level user configurations. This is the core object, it maintains the information about underlying radio architecture (offload/DA), and number of supported radios.
这个的定义在:
vendor/qcom/opensource/wlan/qca-wifi-host-cmn/umac/cmn_services/obj_mgr/inc/wlan_objmgr_psoc_obj.h
struct wlan_objmgr_psoc {
struct wlan_objmgr_psoc_regulatory soc_reg;
struct wlan_objmgr_psoc_nif soc_nif;
struct wlan_objmgr_psoc_objmgr soc_objmgr;
struct wlan_soc_southbound_cb soc_cb;
struct wlan_soc_timer soc_timer;
高通WiFi驱动手册:wiphy与pSOC理解及电源管理模式

文章详细解析了高通WiFi驱动中wiphy的概念,它是当PCI设备发现时注册的配置对象。pSOC对象则是在物理设备层创建,存储设备信息和配置。文章还探讨了如何通过ucfg_pmo_get_suspend_mode获取和设置suspend_mode,以及电源管理的相关函数,如wlan_hdd_driver_ops中的电源管理操作。配置文件可能位于WCNSS_qcom_cfg.ini。
最低0.47元/天 解锁文章
226

被折叠的 条评论
为什么被折叠?



