求教:高通平台RNDIS(902D)下Firewalls 设置!
05-08
在高通demo CMAP_ConnectionManager进程中,通过QMI设置防火墙,
发送QMI消息:QCMAP_CM_ENABLE_FIREWALL,没做其他设置。
QMI req的数据结构体:
/** Request Message; Enables the firewall setting. */
typedef struct {
/* Mandatory */
/* Mobile AP Handle */
uint32_t mobile_ap_handle;
/**< Handle identifying the mobile AP call instance.
The value must be the handle previously returned by
QMI_QCMAP_MOBILE_ AP_ENABLE_REQ.
*/
/* Mandatory */
/* Packets Allowed */
uint8_t pkts_allowed;
/**< Packets allowed operation. Values: \n
- TRUE -- Packets matching the firewall rule are allowed \n
- FALSE -- Packets matching the firewall rule are dropped
*/
}qcmap_enable_firewall_setting_req_msg_v01; /* Message */
其中pkts_allowed 设置成1,外网就完全不能用了。
求大神指导RNDIS模式下防火墙设置,有没有高通防火请设置及原理的相关资管,不胜感激!
发送QMI消息:QCMAP_CM_ENABLE_FIREWALL,没做其他设置。
QMI req的数据结构体:
/** Request Message; Enables the firewall setting. */
typedef struct {
/* Mandatory */
/* Mobile AP Handle */
uint32_t mobile_ap_handle;
/**< Handle identifying the mobile AP call instance.
The value must be the handle previously returned by
QMI_QCMAP_MOBILE_ AP_ENABLE_REQ.
*/
/* Mandatory */
/* Packets Allowed */
uint8_t pkts_allowed;
/**< Packets allowed operation. Values: \n
- TRUE -- Packets matching the firewall rule are allowed \n
- FALSE -- Packets matching the firewall rule are dropped
*/
}qcmap_enable_firewall_setting_req_msg_v01; /* Message */
其中pkts_allowed 设置成1,外网就完全不能用了。
求大神指导RNDIS模式下防火墙设置,有没有高通防火请设置及原理的相关资管,不胜感激!
通过wireshark抓包分析,和不断的努力尝试,终于找到qualcomm Firewalls的是指方法!
相关文章:
- 求高通平台的支持多核编译或分布式编译的方法!(05-08)
- 请问谁能分享一下高通的roadmap呀?(05-08)
- 高通6280编译问题(05-08)
- 寻求高通的evdo+g android2.2(05-08)
- 高通平台经常烧毁PMU怎么解决啊?(05-08)
- 请教高人,高通6280方案的烧录文件如何制作,是否有专有工具(05-08)
射频专业培训教程推荐