Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    【FAQ】全志R329如何在WiFi Softap模式添加自定义Vendor IE?

    其它全志芯片讨论区
    r329 r818 faq 网络 技术支持
    1
    1
    1485
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • q1215200171
      budbool LV 9 last edited by

      问题背景

      对于某些应用场景,需要在Probe Response帧和Beacon帧中添加指定的Vendor IE信息,以满足特定需求

      问题分析

      对于802.11管理帧,IE是可变的,因此可以在其Payload末尾添加IE信息,IE由ID、Length(有效载荷长度,单位为字节)和Payload构成

      实现方法

      在在hostapd.conf配置文件中增加vendor_elements选项,格式为 id + len + payload十六进制形式,举例如下:

      vendor_elements=23020600      //id=0x23=35, length=0x02=2, payload=0600
      

      测试验证
      通过抓包确定IE是否添加成功

      1 Reply Last reply Reply Quote Share 0
      • Referenced by  q1215200171 q1215200171 
      • Referenced by  q1215200171 q1215200171 
      • Referenced by  q1215200171 q1215200171 
      • Referenced by  q1215200171 q1215200171 
      • Referenced by  q1215200171 q1215200171 
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策