Commit graph android_kernel_sony_sdm845/drivers/net/wireless/hostap/hostap.h
Message SHA1
[HOSTAP]: set netdev type before registering AP interface
As detailed at https://bugs.gentoo.org/159646 hostap with hostapd confuses
udev by presenting 2 interfaces with the same MAC address. Also, at the time
of detection, the 'type' attribute is 1, identical to other hostap interfaces.

The AP interface is supposed to have type ARPHRD_IEEE80211 (801), but this is
not set until after registration.

Setting it before register_netdev() is called allows us to avoid this
confusion. We can do this by propogating the HOSTAP_INTERFACE type through
to hostap_setup_dev().

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Daniel Drake   authored and   David S. Miller   commited 2007-10-10 16:54:09 -07:00
09703f5e79
[NET]: Move hardware header operations out of netdevice.
Since hardware header operations are part of the protocol class
not the device instance, make them into a separate object and
save memory.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Stephen Hemminger   authored and   David S. Miller   commited 2007-10-10 16:52:52 -07:00
3b04ddde02
[PATCH] hostap: Use ARRAY_SIZE macro when appropriate
A patch to use ARRAY_SIZE macro in the Host AP wireless driver.

Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Ahmed S. Darwish   authored and   John W. Linville   commited 2007-02-14 15:45:04 -05:00
51471d35ca
WorkStruct: make allyesconfig
Fix up for make allyesconfig.

Signed-Off-By: David Howells <dhowells@redhat.com>

David Howells   commited 2006-11-22 14:57:56 +00:00
c4028958b6
drivers/net: const-ify ethtool_ops declarations
Signed-off-by: Jeff Garzik <jeff@garzik.org>

Jeff Garzik   commited 2006-09-13 14:30:00 -04:00
7282d491ec
[PATCH] hostap: don't #include C files in hostap_main.c
This patch contains an attempt to properly build hostap.o without
#include'ing C files.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Adrian Bunk   authored and   John W. Linville   commited 2006-01-16 16:51:54 -05:00
5fad5a2e1f
[PATCH] hostap: Use ieee80211 WLAN_FC_GET_{TYPE,STYPE}
Replace temporary HOSTAP_FC_GET_{TYPE,STYPE} macros with the ieee80211
version of WLAN_FC_GET_{TYPE,STYPE}.

Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Jouni Malinen   authored and   Jeff Garzik   commited 2005-08-14 23:07:30 -04:00
4339d32863
Add HostAP wireless driver.
Includes minor cleanups from Adrian Bunk <bunk@stusta.de>.

Jouni Malinen   authored and   Jeff Garzik   commited 2005-05-12 22:54:16 -04:00
ff1d2767d5