高通wifi驱动的记录

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

目录

高通wifi驱动手册:

1、wiphy的理解:

2、 pSOC的理解:

suspend_mode的设置

wifi配置的地方:

在系统里的配置文件,暂时还没找到


高通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;
	
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值