微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI无线射频设计 > wl1271的AP功能 不能实现?

wl1271的AP功能 不能实现?

时间:12-22 整理:3721RD 点击:

平台:AM3715+wl1271L

内核:2.6.37

问题:调试sdio 的wifi1271现在基本通了,过去2.6.32内核各种弊端都得以解决,但现在实现soft-AP出现以下问题,希望yao工能给点意见:

   1.识别的wifi只有802.11abg,并非802.11abgn,这点跟刚拿到手的AM3359有区别,并且3359使用的kernel是3.x.x,难道还要升内核?

   2.使用iw list 获取到Supported interface modes只有IBSS managed monitor,并没有AP,3359是有的,而且还多一个soft interface modes。

   3.hostapd已经使用过多个版本了,应该是没有问题的。AM3715的内核印象中只到了2.6.37,请教yao工和各位工程师给点意见了,谢谢!

root@GeoElectron:~# hostapd -d -B /etc/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd.conf
ctrl_interface_group=0
nl80211: interface wlan0 in phy phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
nl80211: Add own iwl1271_sdio_power_off...
nterface ifindex 4
nl80211: Set mode ifindex 4 iftype 3 (AP)
nl80211: Failed to set interface 4 to mode 3: -95 (Operation not supported)
nl80211: Interface already in requested mode - ignore error
nl80211: Setup AP - device_ap_sme=0 use_monitor=1
nl80211: Create interface iftype 6 (MONITOR)
nl80211: New interface mon.wlan0 created: ifindex=5
nl80211: Add own interface ifindex 5
Could not set interface mon.wlan0 flags (UP): Cannot assign requested address
nl80211: Remove interface ifindex=5
nl80211: Failed to set interface wlan0 into AP mode
netlink: Operstate: linkmode=0, operstate=6
nl80211: Set mode ifindex 4 iftype 2 (STATION)
nl80211 driver initialization failed.
root@GeoElectron:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

wlan0 IEEE 802.11abg ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on

root@GeoElectron:~#

希望各位TI的工程人员给予一定支持

官方AM37xx的kernel2.6.37的无线协议驱动并不支持softap功能;后与开源项目找到2.6.37 wireless驱动,可实现ad-hoc。

请查看http://processors.wiki.ti.com/index.php/ARM_Processor_Open_Source_Wireless_Connectivity#Demos , 官方的驱动是可以支持softap功能的。

Thanks Yonghua Pan

  这个网址我也是有看过的,Demo没有说明是AM37x的2.637

1.不过我还是有疑惑:我下的AM37x的BSP包,把wl12xx以及mac80211,nl80211的驱动都编译进内核,确实实现不了soft-ap和ad-hoc;难道是另外下载mac80211和nl80211,wl12xx?然后以模块的形式加载?

2.我在http://linuxwireless.org/en/users/Download/stable/ 这里也只能对应kernel 2.6.37把wireless驱动下载,不能实现soft-ap,但可以实现ad-hoc。

3.我也有块am3359的官方开发板,kernel 3.1.0,倒是实现soft-ap没有问题。而am37x现在还只是2.6.37.

是的,是另外的模块加载,可以参考http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_mac80211_WLAN_build_scripts去编译。

有下面几个模块: compat.ko, cfg80211.ko, mac80211.ko, wlcore.ko, wl12xx.ko, wl12xx_sdio.ko.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top