德州仪器
直播中

殷夏

7年用户 159经验值
私信 关注
[问答]

5GHZ WiFi BBB构建显示两个频段但频段2显示没有频率

5GHz存在问题,尤其是bb内核版本。
ti AM335x BeagleBone Black Gateway Cape具有WL1837(2.4G和5G)。
构建显示两个频段,但频段2显示没有频率。
我追溯到包含/lib/firmware/ti-connectivity/wl18xx-conf.bin。
我怀疑这是旧芯片组所需的校准文件,但1837是可选的。我假设这个旧文件中没有5GHz校准数据。
删除此文件会导致驱动程序使用(希望是理智的)默认值。
随着5GHz的移除iw现在显示频率。
看起来init脚本可能会使用错误的固件用于“TI AM335x BeagleBone Black Gateway Cape”选项,为什么不用wl18xx-fw?
我仍然在审查这个,但社区的任何帮助将不胜感激。

以上来自于谷歌翻译


以下为原文

        5GHz has issues, particularly with the bb-kernel build.  The TI AM335x BeagleBone Black Gateway Cape has a WL1837 (2.4G & 5G). The build shows the two bands but band 2 shows no frequencies.  I traced this to inclusion of /lib/firmware/ti-connectivity/wl18xx-conf.bin.  I suspect this is a calibration file required for older chip sets but optional for the 1837.  I am assuming no 5GHz calibration data is present in this old file.  Removal of this file causes the driver to use (hopefully sane) defaults. With removal 5GHz iw now shows frequencies.  It is also looks like the init script may use the wrong firmware for the “TI AM335x BeagleBone Black Gateway Cape” options, why not wl18xx-fw?
I am still reviewing this but any help from the community would be appreciated.

回帖(3)

郭雨桐

2018-10-23 14:02:47
嗨@dfarrell我想我从来没有注意到Embest在他们的斗篷上贴了5Ghz wl1837。
我们为这些设备假设的固件没有5Ghz Antenna Wired up :(又名wl1835) 
| NumberOfAssembledAnt2_4 | = 02#表示2.4GHz的有效频段和安装天线数;
|
| --- | --- |
| NumberOfAssembledAnt5 | = 00#表示有效频段和5GHz的安装天线数量;  
github.com   
的BeagleBoard / beaglebone  - 黑 - 无线/斑点/主/固件/ WL1835MOD_INI_C2PC.ini
#######################################
## WL8_1835_C2PC_TI_module_INI ##
#######################################
PHY_StandAlone = 00#Boolean表示没有MAC皮质激活;
其中一个主要影响是PHY需要执行TOP初始阶段,这是由MAC皮层在运行模式下完成的;
0x0与Mac;
0x1没有Mac
PrimaryClockSettingTime = 05#以毫秒为单位的时间:从主机上升PRIMARY_CLK_REQ_OUT(9x)/ CLK_REQ_OUT(5x)到有效CLK_IN_PRIMARY_P(9x)/ CLK_IN_P(5x)
ClockValidOnWakeUp = 00#[不支持]表示当向设备发出主机唤醒命令时,有效参考时钟已经有效且稳定;
0  - 参考时钟无效(默认)1  - 参考时钟已有效且稳定(快速休眠)
SecondaryClockSettingTime = 05#189x Only;
以毫秒为单位的时间:从主机上升SECONDARY_CLK_REQ_OUT到有效的CLK_IN_SECONDARY(默认为5毫秒)。
Spare0 = 08#[不支持] TI内部使用
AutoDetect = 00#[不支持] 0x0  - 禁用;
0x1  - 已启用
Dedicated_FEM = 00#[不支持]位0:无FEM位2..3:供应商选项(0:RFMD; 1:TQS; 2:SKWS)
LowBand_component = 02#0x2:2路或3路开关。
其他值N / A.
LowBand_component_type = 05#0x5:一个热1.8V。
其他值N / A.
HighBand_component = 01#0x1:2way开关。
其他值N / A.
HighBand_component_type = 09#0x9:一个热3V。
其他值N / A.
NumberOfAssembledAnt2_4 = 02#表示2.4GHz的有效频段和安装天线数; 
此文件已被截断。
显示原创      
这是TI的WL1837MOD_INI_FCC_CE.ini:
https://git.ti.com/wilink8-wlan/18xx-ti-utils/blobs/master/wlconf/official_inis/WL1837MOD_INI_FCC_CE.ini
从我的笔记中,我生成了“wl18xx-conf.bin”
wlconf -o /lib/firmware/ti-connectivity/wl18xx-conf.bin -I WL1835MOD_INI_C2PC.ini
使用以下版本的R8.6SP1:http://git.ti.com/cgit/cgit.cgi/wilink8-wlan/18xx-ti-utils.git/log/
这是我在debian上构建的分支:   
GitHub上   
RCN-EE / TI-18XX-TI-utils的
ti-18xx-ti-utils  -  http://git.ti.com/gitweb/?p=wilink8-wlan/18xx-ti-utils.git;a=summary      
问候,

以上来自于谷歌翻译


以下为原文

        Hi @dfarrell i guess i never noticed Embest stuck a 5Ghz wl1837 on their cape.
The firmware we assume for these devices does not have the 5Ghz Antenna Wired up: (aka assumes wl1835)
|NumberOfAssembledAnt2_4     |= 02 # Indicates the active bands and the number of mounted antennas for 2.4GHz;  ||---|---||NumberOfAssembledAnt5       |= 00 # Indicates the active bands and the number of mounted antennas for 5GHz;|        github.com        beagleboard/beaglebone-black-wireless/blob/master/firmware/WL1835MOD_INI_C2PC.ini

#########################################      WL8_1835_C2PC_TI_module_INI              #########################################PHY_StandAlone              = 00 # Boolean Indicates that there is no MAC cortex active; One of the major impacts is that PHY needs to perform TOP init phase that is done by MAC cortex in operational Mode; 0x0  with Mac; 0x1  no MacPrimaryClockSettingTime     = 05 # Time in millisecond from: Rising PRIMARY_CLK_REQ_OUT(9x)/CLK_REQ_OUT(5x) to valid CLK_IN_PRIMARY_P(9x)/CLK_IN_P(5x) from host ClockValidOnWakeUp          = 00 # [Not Supported]  Indicate that when a host wakeup command is issued to the device a valid reference clock is already valid and stable; 0 - Reference clock is not valid  (Default) 1 - Reference clock is already valid and stable (Fast Sleep)SecondaryClockSettingTime   = 05 # 189x Only; Time in millisecond from:Rising SECONDARY_CLK_REQ_OUT to valid CLK_IN_SECONDARY from host (Default 5msec).Spare0                      = 08 # [Not Supported]  TI Internal UsageAutoDetect                  = 00 # [Not Supported]  0x0 - Disabled; 0x1 - EnabledDedicated_FEM               = 00 # [Not Supported] Bit 0: no FEM Bit 2..3:  vendor options (0: RFMD; 1: TQS; 2: SKWS )LowBand_component           = 02 # 0x2: 2way or 3way switch. Other values N/ALowBand_component_type      = 05 # 0x5: One Hot 1.8V. Other values N/AHighBand_component          = 01 # 0x1: 2way switch. Other values N/AHighBand_component_type     = 09 # 0x9: One Hot 3V. Other values N/ANumberOfAssembledAnt2_4     = 02 # Indicates the active bands and the number of mounted antennas for 2.4GHz;    This file has been truncated. show original                Here is TI’s WL1837MOD_INI_FCC_CE.ini:
https://git.ti.com/wilink8-wlan/18xx-ti-utils/blobs/master/wlconf/official_inis/WL1837MOD_INI_FCC_CE.ini
From my notes, i generated “wl18xx-conf.bin”
wlconf -o /lib/firmware/ti-connectivity/wl18xx-conf.bin -I WL1835MOD_INI_C2PC.ini
Using R8.6SP1 of : http://git.ti.com/cgit/cgit.cgi/wilink8-wlan/18xx-ti-utils.git/log/
Here is my branch to get things building on debian:
              GitHub        rcn-ee/ti-18xx-ti-utils

ti-18xx-ti-utils - http://git.ti.com/gitweb/?p=wilink8-wlan/18xx-ti-utils.git;a=summary
                Regards,
举报

励黎

2018-10-23 14:15:35
罗伯特,
我还发现必须安装Debian crda软件包才能使iw reg get / set工作。
没有这个没有,5GHz。
现在开始配置更高速度的选项......
感谢您的出色支持!
大卫。

以上来自于谷歌翻译


以下为原文

        Robert,
I also found that the Debian crda package must be installed for iw reg get / set to work.  Without this no, 5GHz.  Now on to configure higher speed options…
Thanks for your excellent support!
David.
举报

励黎

2018-10-23 14:35:26
所以这就是我需要的,我在BBB上做了这个原生:
git clone https://github.com/rcn-ee/ti-18xx-ti-utils.git
wget http://www.infradead.org/~tgr/libnl/files/libnl-2.0.tar.gz
libnl需要安装bison(我假设flex)。
libnl需要几分钟的时间来构建。
tar x*** libnl-2.0.tar.gz
cd libnl-2.0
。配置
使
sudo make install
cd ... / ti-18xx-ti-utils
使
sudo make install
以上只是构建校准器并将其放入/ usr / bin
cd wlconf
使
现在从构建wlconf的文件夹中,有子文件夹official_inis
我需要FCC,CE和日本才能申请。
./wlconf -o wl18xx-conf.bin -I official_inis / WL1837MOD_INI_FCC_CE_JP.ini
sudo cp wl18xx-conf.bin / lib / firmware / ti-connectivity
我验证了5GHz仍然有效。
我没有尝试更高的速度设置,不同的带宽。
大卫。

以上来自于谷歌翻译


以下为原文

        So this is what I needed, I did this native on the BBB:
git clone https://github.com/rcn-ee/ti-18xx-ti-utils.git
wget http://www.infradead.org/~tgr/libnl/files/libnl-2.0.tar.gz
libnl needs bison (and I assume flex) installed. libnl takes a few minutes to build.
tar x*** libnl-2.0.tar.gz
cd libnl-2.0
.configure
make
sudo make install
cd …/ti-18xx-ti-utils
make
sudo make install
The above only seems to build calibrator and puts it in /usr/bin
cd wlconf
make
now from the folder where wlconf is build, there is the subfolder official_inis
I need FCC, CE and Japan for my application.
./wlconf -o wl18xx-conf.bin -I official_inis/ WL1837MOD_INI_FCC_CE_JP.ini
sudo cp wl18xx-conf.bin /lib/firmware/ti-connectivity
I verified 5GHz still worked.  I did not try higher speed settings, different bandwidths yet.
David.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分