当前位置:网站首页>高通和MTK针对国家wifi channel 客制化修改方法
高通和MTK针对国家wifi channel 客制化修改方法
2022-07-20 02:57:00 【专业开发者】
高通方案:
主要修改的方法是g_all_countries和g_reg_dmn_pairs方法中,文件是vendor/qcom/opensource/wlan/qcawifi-host-cmn/umac/regulatory/core/src/reg_db.c
vendor/qcom/opensource/wlan/qca-wifihost-cmn/umac/regulatory/core/src/reg_db.h
案例如下:
备注:
可以看到有这个参数CHAN_5170_5250_4,具体代码是 [CHAN_5170_5250_4] = {5170, 5250, 80, 30, 0},
5170代表是start freq
5250代表是end freq
80 代表是带宽
30 代表是功率
0 代表是flag,默认是0
MTK 方案:
在rlm_domain.c 中 找到国家对应的group,再根据需求修改group 对应信道。
以秘鲁(peru)为例,若需要去掉2.4G channel 12 和 channel 13
1.先在rlm_domain.h 中搜索 peru, 找到COUNTRY_CODE_PE
在rlm_domain.c找到COUNTRY_CODE_PE 对应group为:
边栏推荐
- 函数方法封装——图片类型QPixmap、QImage与Mat的相互转化
- 接口测试到底怎么做,看完这篇文章彻底搞清楚
- Series operations of map/multimap container
- rancher 添加用户并分配权限
- JVM tuning method
- 【webrtc】ImportError: No module named win32file
- NETFLOW 与 SNMP两种不同的网络监控方法
- [03] let's talk about "performance" through your CPU frequency?
- JASMINER X4在海外爆红,获众多知名博主点赞认可
- 371页20万字2021版智慧城市信息化综合建设方案
猜你喜欢
It's 2022, and you don't know what automated testing is
LVS群集应用
通过例子学C标准库<assert.h>
视频25-7章2节VGG 26-NiN 27-GooLeNet
[R language text mining]: emotion analysis and word cloud mapping
Use OpenCV to adjust the brightness and contrast of the image
Top priority of dry goods: common indicators and terms in data analysis!
Ampere Altra Max 提供可持续的高分辨率 H.265 编码
Matlab summary of differential equation solving methods
NetFlow and SNMP are two different network monitoring methods
随机推荐
Go daily Gore
【webrtc】ImportError: No module named win32file
如何搭建简易又安全的企业内部文件服务器?
移动端测试必备技能: adb命令和抓包
Ampere Altra Max provides sustainable high-resolution h.265 coding
如何在自动化测试中使用MitmProxy获取数据返回?
力扣刷题记录2-----35.搜索插入位置
At32 définit le délai en utilisant le registre DWT du noyau
超分领域常见的损失函数
Force deduction and question brushing record 4---69 Square root of X
显示SAP CRM Product hierarchy的一个小工具
从镜像仓库工具、镜像下载加速工具、安全扫描工具理解镜像存储和镜像安全
华为员工爆料,这个岗位要开始大量招人了!!!
Grouping convolution and deep separable convolution
都2022年了,你不会还不知道什么是自动化测试吧....
JVM调优方法
Koch curve
机器学习基础篇(2)之基础知识和绘制图形
At32 MCU f415 OTG new function use
JASMINER X4在海外爆红,获众多知名博主点赞认可