xr829资料
-
R329共板上带的wifi/bt芯片模组是xr829,请问能否提供xr829的datasheet,比如如何进入混杂模式?
-
详情请见在线服务平台这份文档:
-
@xiaowenge 看了一下文档,没有介绍怎么进混杂模式,只介绍了station模式和ap模式
-
@tomwang 那可能没有开放混杂模式
-
@xiaowenge
如上图,说是有混杂模式,但是没介绍命令,这个能不能帮忙找找? -
@tomwang 好的,我问问,这种情况一般是功能有,但是性能没达标,所以没正式对外释放这个功能
-
试下
ifconfig wlan0 promisc #使能混杂模式 ifconfig wlan0 -promisc #取消混杂模式
-
-
-
@tomwang 板子收到airkiss发过来的ssid和password了吗?
-
@whycan 声波通讯要怎么做?有示例在公板上试一下吗?
-
@xiaowenge 板子的kernel log没有log显示是否收到,只有开启混杂模式的时候显示:
<6>[ 1444.303661] device wlan0 entered promiscuous mode -
-
-
@tomwang
混杂模式只能抓到MAC层所能搜到的包,你的需求是想要抓取空气中的“自由包”,应该用monitor模式。Monitor mode: Sniffing the packets in the air without connecting (associating) with any access point. Think of it like listening to people's conversations while you walk down the street. Promiscuous mode: Sniffing the packets after connecting to an access point. This is possible because the wireless-enabled devices send the data in the air but only "mark" them to be processed by the intended receiver. They cannot send the packets and make sure they only reach a specific device, unlike with switched LANs. Think of it like joining a group of people in a conversation, but at the same time being able to hear when someone says "Hey, Mike, I have a new laptop". Even though you're not Mike, and that sentence was intended to be heard by Mike, but you're still able to hear it.
xr829应该也是支持monitor模式的,我在代码里面有看到MONITOR_MODE这个宏,可以试下用iw工具打开。
如果你的SDK是tina,airkiss或者smartlink相关示例可以参考package/allwinner/smartlinkd目录,里面就有xr819的例子。
Copyright © 2023 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号