pengwu

RT-WiFi在最后配置的时候:

1. rt-wifi-sched.h文件中static struct rt-wifi_sta RT-WIFI_STAS[]={

    {. mac_addr = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00} },   //station 0

    {. mac_addr = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00} }   //station 1

};

在AP中rt-wifi-sched.h文件中需给出所有station的硬件地址,在station中rt-wifi-sched.h文件中给出自己硬件地址即可,但是需要定义station自己在数组RT-WIFI_STAS编号

#define RT_WIFI_LOCAL_ID 0x00

2. 每次编译驱动文件,需要make之后,才能操作。

3. sudo iwlist wlan0 scanning |grep ESSID 展示所有wifi信号

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-09-14
  • 2021-09-14
  • 2021-10-08
  • 2021-10-14
  • 2021-10-14
  • 2021-10-19
  • 2021-06-03
猜你喜欢
  • 2021-12-18
  • 2021-11-17
  • 2022-12-23
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
相关资源
相似解决方案