Search Linux Wireless

Re: [PATCH 1/5] compat-wireless: add support for mwifiex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bing,

On 03/31/2011 11:34 PM, Bing Zhao wrote:
>> Subject: [PATCH 1/5] compat-wireless: add support for mwifiex
>>
>> This adds support for mwifiex into compat-wireless.
>>
>> This is only compile tested as I do not have such a device.
> 
> Hi Hauke and Luis,
> 
> I'm getting an error in "compat-wireless-2.6.39-rc1-3-s/net/wireless/util.c:799" while compiling compat-wireless-2.6.39-rc1-3-s.tar.bz2.

mwifiex is not integrated in the last compat-wireless release from today
it will be in compat-wireless-2011-04-01.
The kernel version number in the compat-wireless release is the version
the code is from. So compat-wireless-2.6.39-rc1-3-s is based on the
source code from kernel version 2.6.39-rc1, it should compile and work
with every kernel from 2.6.24 to 2.6.39.

You could build your own version based on the latest version of
linux-next. It is described at:
http://wireless.kernel.org/en/users/Download/hacking

I created a self made version with the lasted fixes for compat-wireless
and and mwifiex at:
http://hauke-m.de/fileadmin/openwrt/compat-wireless-2011-03-31-1.tar.bz2

> /home/bzhao/git-10.80.114.125/mwifiex-devel/compat-wireless-2.6.39-rc1-3-s/config.mk:204: "WARNING: CONFIG_CFG80211_WEXT will be deactivated or not working because kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools using wext interface like iwconfig will not work. To activate it build your kernel e.g. with CONFIG_LIBIPW=m."

This just says that the wext interface will not work, because your
kernel was compiled with CONFIG_WIRELESS_EXT=n, if you do not need wext
just ignore it otherwise compile your kernel with CONFIG_WIRELESS_EXT
enabled.

> /home/bzhao/git-10.80.114.125/mwifiex-devel/compat-wireless-2.6.39-rc1-3-s/net/wireless/util.c: In function 'cfg80211_change_iface':
> /home/bzhao/git-10.80.114.125/mwifiex-devel/compat-wireless-2.6.39-rc1-3-s/net/wireless/util.c:799: error: implicit declaration of function 'br_port_exists'
> make[3]: *** [/home/bzhao/git-10.80.114.125/mwifiex-devel/compat-wireless-2.6.39-rc1-3-s/net/wireless/util.o] Error 1
> make[2]: *** [/home/bzhao/git-10.80.114.125/mwifiex-devel/compat-wireless-2.6.39-rc1-3-s/net/wireless] Error 2
> make[1]: *** [_module_/home/bzhao/git-10.80.114.125/mwifiex-devel/compat-wireless-2.6.39-rc1-3-s] Error 2
> make: *** [modules] Error 2

This is a bug which will be fixed in the next release. ;-)
Build your own compat-wireless version from git, wait till tomorrow or
use my version at this will be fixed.

Hauke
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux