7668 release note
mt7668.mp1-1714-v1.2.0
cert: Add power cap ie in assoc/reassoc req
--认证:在关联/重新关联请求时添加功率上限
说明:认证问题,暂时无方法验证。
cert: Fix TGac 5.2.46 STBC Receive Test fail
--认证:修复TGac 5.2.46 STBC接收测试失败
说明:认证问题,暂时无方法验证。
cfg80211: Fix incorrect max_scan_ssids number
--cfg80211:修复不正确的max_scan_ssids值
说明:max_scan_ssids会影响扫描的性能,并且当同时扫描广播ssid和隐藏ssid时如果max_scan_ssids设置较小时,扫描会报扫描参数错误。旧驱动里面该值为1,新驱动已经改成了一个宏来控制,目前该宏为4。
cfg80211: Fix compile errors for linux-4.1.y
--cfg80211:修复在linux-4.1.y版本内核上的编译错误
说明:4.1新内核的编译问题,需合入。
core: Fix PDMA setting and refine wifi power-on function
--core:修复PDMA设置并改善WiFi上电功能
说明:Pdma是dma(内存直接存取),用于快速传递数据,减小CPU使用,wifi power-on应该是时时序优化。
misc: Change noise info source of driver "stat" result
--杂项:更改驱动程序“stat”结果的噪声信息源
说明:mtk在debug时需要的参考信息,建议合入
misc: Fix random OID timeout in connected idle
--杂项:修复在连接的空闲模式中的随机OID超时
说明:在其他客户上面暴露的问题,建议合入。
misc: add linux-4.9 support
--杂项:添加linux-4.9支持
说明:对新内核的支持,建议合入。
misc: Remove BOW (BT over WiFi) feature
--杂项:移除BOW(BT over WiFi)功能
说明:移除过后已经经过了几轮QC,?目前沒有发现到异常影响, BT都可以正常使用沒問題
misc: Fix kernel crash while suspend due to no MT7668 dongle inserted
--杂项:修复由于没有插入mt7668 dongle 而造成的在suspend时的内核crash。
说明:外接dongle时的问题,建议合入。
misc: Fix compile error if IPV6 is enabled as module
--杂项:修复当IPV6作为模块时的编译错误
说明:编译错误,建议合入。
misc: Add build support for Linux backports-3.14-1 (mtk确认)
--杂项:增加对Linux 3.14-1反向移植的编译支持
说明:针对特殊内核的支持,可以合入。
misc: Add more config items in Makefile.x86
--杂项:在Makefile.x86中增加更多配置项。
说明:x86平台修改,可以合入。
perf: Fix USB probe fail on some laptop PC
--perf:修复在一些笔记本电脑上的USB探测失败问题
说明:usb dongle问题,可以合入。
regd: Fix crash problem of TxPwrLimit when in single band
--regd:修复TxPwrLimit在单频段时的崩溃问题
说明:TxPwrLimit.dat为新驱动新增文件,可以在不改代码的前提下修改某个频段的功率参数,虽然目前7668所用均为默认值,但是不排除今后定制的可能,建议合入。
Sdio:fix command port Tx overflow issue
--sdio:修复命令端口Tx溢出问题
说明:马镇解释说是发命令时的长度超限制,合入应该无影响。
sdio: Add support MMC_PM_WAKE_SDIO_IRQ
--sdio:添加对MMC_PM_WAKE_SDIO_IRQ的支持
说明:有客户会有MMC_PM_WAKE_SDIO_IRQ这个需求,我们没有用到,但是应该无影响。
softap: apply cfg80211 setting for P2PGO
--softap:适用于P2PGO的cfg80211设置
说明:softap模式下做P2PServer时对cfg80211的适配更好,建议合入。
softap: add dfs shut down flow
--softap:添加dfs关闭流程
说明:在softap模式下增加dfs(动态频率选择)的关闭功能。
tx: refine WMM set CMD usage between drv and fw
--tx:改进在driver和FW之间WMM设置CMD的使用
说明:WMM(无线多媒体)定义了四种连接内容,其中包括语音、视频、best effort以及background。并给四种内容进行分级,优先级高的优先保证传输。建议合入。
mt7668.mp1-1714-v1.2.1
ate: Fix FFT cannot work on non-PC Linux platform
--ate:修复FFT不能在非PC Linux平台上运行的问题
说明:ate校准相关,建议合入。
cfg80211: Fix Android O CTS item
--cfg80211:修复Android O cts测试项
说明:修复8.0的cts测试想建议合入。
cfg80211:get_station will query wlan0 address also
--cfg80211:get_station也会查询wlan0地址
说明:同上
misc: Fix coding style
--杂项:修复代码风格
softap: add 802.11w PMF mandatory item for AP role
--softap:为AP角色添加802.11w PMF强制项
说明:softap模式下的问题,建议合入
oftap: Fix cannot start hostapd with WPA
--softap:修复无法使用WPA启动hostapd
说明:之前softap无法启动问题的相关修改,已合入。
softap: Fix WEP key assign bug
--softap:修复WEP密钥分配错误
说明:softap以WEP方式加密时的问题,建议合入。
softap: Fix rekey and ping fail
--softap:修复密钥和ping失败的问题
说明:之前在4.4上碰到的问题,已合入。
tdls: Fix skb memory overwrite issue
--tdls: 修复skb内存覆盖问题
说明:tdls模式下存在内存泄露问题,建议合入。
tx: Fix TX handle too late issue
--tx:修复TX handle太晚的问题
说明:修复tx处理时间问题,能够提升tx吞吐率,需验证后合入。
wowlan: Support EAPOL offload in active mode or wow mode
--wowlan:在活动模式或wow模式下支持EAPOL卸载
说明:wifi唤醒模式的相关问题,建议合入
wowlan: automatically enter power mode when suspend in wow state
--wowlan:在wow状态时待机自动进入电源模式
说明:wifi唤醒模式的相关问题,建议合入
另外本次驱动更新我手动合入了国家码、p2p两个个修改,wifi待机时挂死的问题,mtk方面在新驱动已经做了修改,所以这部分修改没有合入。
国家码:
commit af22923502fd84d4bf2714dcfb9ade731d7e4330
Author: 6407001065 <zhang.lei30@zte.com.cn>
Date: Fri Jul 21 11:20:00 2017 +0800
add country code for wifi
【鞠静文】【故障】【android7.1】【通用市场】【是否需要合入其他主线:否】
【是否与中间件或者产品有依赖关系:无】
【详细描述:添加wifi国家码相关设置】
【接口及功能变更影响分析:无】
【测试方法:insmod时添加国家码参数】
【自测结论:ok】【走查信息:自查】
diff --git a/MT6632_WIFI_DRV/7668_firmware/wifi.cfg b/MT6632_WIFI_DRV/7668_firmware/wifi.cfg
index c43614d..4021123 100755
--- a/MT6632_WIFI_DRV/7668_firmware/wifi.cfg
+++ b/MT6632_WIFI_DRV/7668_firmware/wifi.cfg
@@ -55,4 +55,3 @@ SetChip0 KeepFullPwr 0
TdlsBufferSTASleep 0
ChipResetRecover 0
CalTimingCtrl 1
-Country IN
diff --git a/MT6632_WIFI_DRV/drv_wlan/MT6632/wlan/common/wlan_lib.c b/MT6632_WIFI_DRV/drv_wlan/MT6632/wlan/common/wlan_lib.c
old mode 100755
new mode 100644
index 3efcd7f..a794af9
--- a/MT6632_WIFI_DRV/drv_wlan/MT6632/wlan/common/wlan_lib.c
+++ b/MT6632_WIFI_DRV/drv_wlan/MT6632/wlan/common/wlan_lib.c
@@ -7012,13 +7012,32 @@ VOID wlanCfgSetDebugLevel(IN P_ADAPTER_T prAdapter)
}
}
+#ifdef CFG_SUPPORT_INSMOD_COUNTRYCODE
+BOOLEAN getInsmodCountryArg(char *pucValue)
+{
+ ASSERT(ginsmodcountrycode);
+ ASSERT(pucValue);
+ if(kalStrLen(ginsmodcountrycode) > 0)
+ {
+ kalStrnCpy(pucValue, ginsmodcountrycode, WLAN_CFG_VALUE_LEN_MAX - 1);
+ DBGLOG(INIT, ERROR, "pucValue = %s ,ginsmodcountrycode=%s \n",
+ pucValue,ginsmodcountrycode);
+ return TRUE;
+ }
+ return FALSE;
+}
+#endif
VOID wlanCfgSetCountryCode(IN P_ADAPTER_T prAdapter)
{
CHAR aucValue[WLAN_CFG_VALUE_LEN_MAX];
/* Apply COUNTRY Config */
- if (wlanCfgGet(prAdapter, "Country", aucValue, "", 0) == WLAN_STATUS_SUCCESS) {
+ if (
+#ifdef CFG_SUPPORT_INSMOD_COUNTRYCODE
+ (getInsmodCountryArg(aucValue)==TRUE) ||
+#endif
+ (wlanCfgGet(prAdapter, "Country", aucValue, "", 0) == WLAN_STATUS_SUCCESS)) {
prAdapter->rWifiVar.rConnSettings.u2CountryCode =
(((UINT_16) aucValue[0]) << 8) | ((UINT_16) aucValue[1]);
diff --git a/MT6632_WIFI_DRV/drv_wlan/MT6632/wlan/include/config.h b/MT6632_WIFI_DRV/drv_wlan/MT6632/wlan/include/config.h
old mode 100755
new mode 100644
index 7664fd6..56dc0f4
--- a/MT6632_WIFI_DRV/drv_wlan/MT6632/wlan/include/config.h
+++ b/MT6632_WIFI_DRV/drv_wlan/MT6632/wlan/include/config.h
@@ -950,6 +950,8 @@
*/
#define CFG_SUPPORT_80211_LLC_VLAN 0
+
+#define CFG_SUPPORT_INSMOD_COUNTRYCODE 1 //zhen.ma
/*******************************************************************************
* D
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
MT7668驱动 适用于安卓系统 linux内核 (399个子文件)
ated 690KB
WIFI_RAM_CODE_MT7668.bin 452KB
mt7668_patch_e2_hdr.bin 175KB
mt7668_patch_e1_hdr.bin 149KB
WIFI_RAM_CODE2_USB_MT7668.bin 55KB
WIFI_RAM_CODE2_SDIO_MT7668.bin 51KB
EEPROM_MT7668_e1.bin 1024B
EEPROM_MT7668.bin 1024B
wlan_oid.c 429KB
gl_wext_priv.c 398KB
wlan_lib.c 323KB
gl_qa_agent.c 240KB
que_mgt.c 197KB
gl_kal.c 170KB
ais_fsm.c 153KB
gl_cfg80211.c 147KB
rlm.c 145KB
p2p_func.c 137KB
nic_cmd_event.c 131KB
nic_tx.c 124KB
gl_wext.c 117KB
gl_p2p_cfg80211.c 116KB
nic.c 115KB
wlan_bow.c 113KB
nic_rx.c 113KB
gl_hook_api.c 112KB
rsn.c 103KB
gl_init.c 99KB
rlm_domain.c 98KB
scan.c 90KB
p2p_role_fsm.c 88KB
bss.c 83KB
gl_proc.c 74KB
gl_ate_agent.c 72KB
saa_fsm.c 71KB
hal_api.c 68KB
tdls.c 60KB
assoc.c 59KB
gl_p2p.c 58KB
wlan_p2p.c 52KB
usb.c 52KB
hal_api.c 50KB
cnm_mem.c 50KB
sdio.c 50KB
gl_p2p_kal.c 49KB
hal_api.c 48KB
cnm.c 46KB
aaa_fsm.c 45KB
gl_vendor.c 44KB
auth.c 43KB
privacy.c 39KB
swcr.c 39KB
p2p_rlm.c 38KB
scan_fsm.c 36KB
gl_bow.c 35KB
pcie.c 33KB
p2p_dev_fsm.c 29KB
tkip_mic.c 23KB
roaming_fsm.c 21KB
hs20.c 19KB
gl_rst.c 18KB
hem_mbox.c 18KB
p2p_role_state.c 18KB
wapi.c 18KB
rate.c 17KB
colibri.c 16KB
arm.c 16KB
ehpi.c 15KB
cnm_timer.c 15KB
nic_rate.c 14KB
nic_umac.c 14KB
dump.c 14KB
platform.c 13KB
rlm_obss.c 13KB
reg_rule.c 13KB
nic_pwr_mgt.c 13KB
p2p_rlm_obss.c 12KB
p2p_dev_state.c 12KB
wlan_mt76x8_sdio.mod.c 11KB
p2p_fsm.c 11KB
p2p_scan.c 10KB
prealloc.c 10KB
p2p_nic.c 9KB
cmd_buf.c 9KB
sdio_test_driver_core.c 9KB
gl_p2p_init.c 9KB
p2p_ie.c 7KB
mib.c 6KB
p2p_assoc.c 6KB
mt7668.c 6KB
p2p_bss.c 5KB
rlm_protection.c 4KB
mt6632.c 4KB
sdio_test_driver_ops.c 4KB
arm.c 3KB
x86.c 3KB
arm.c 3KB
x86.c 3KB
Makefile.ce 11KB
Makefile.ce 7KB
共 399 条
- 1
- 2
- 3
- 4
资源评论
liu_sir_
- 粉丝: 543
- 资源: 169
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功