RT-WiFi驱动配置

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信号

posted @ 2015-11-07 04:27  starwp  阅读(639)  评论(0)    收藏  举报