WCN1312 Android driver ignore the set request of regulatory domain from WiFi UI.
The default setting of regulatory domain in WCN1312 driver is "US".
To support different regulatory domain, user can enable 802.11d feature of WCN1312 driver by changing below setting in qcom_cfg.ini,
g11dSupportEnabled=1
if the AP supports 802.11d. the AP shall broadcast its country code in beacon IE element. Driver will parse the IE and use the country code as its regulatory domain.
If you want to enforce regulatory domain, you can follow below steps:
1. read document 80-VU238-1, use nv.exe tool to generate a new qcom_wlan_nv.bin which change the default country setting:
eg: use nv.exe -s to generate a sample ini file; in the ini file, change the defaultCountry, like below example
defaultCountry=2, JPI
you also need to un-comment those setting for the regulatory region.
follow above example, you need to un-comment those setting which start with
JAPAN.XXX
After you create new qcom_wlan_nv.bin, adb push it into system/etc/firmware/wlan/ and overwrite existing one.
2. in the qcom_cfg.ini, enable gEnforceDefaultDomain:
gEnforceDefaultDomain=1
No comments:
Post a Comment